From 90f55810228403b12bd663318e5dc16cc3089fc3 Mon Sep 17 00:00:00 2001 From: Adrian Calianu Date: Fri, 29 Apr 2016 11:27:11 +0200 Subject: rename ls1021a-iot to ls1021aiot And enabled tar.gz rootfs type. Signed-off-by: Adrian Calianu Signed-off-by: Catalina Focsa --- conf/machine/ls1021aiot.conf | 4 +- recipes-kernel/linux/linux-ls1/ls1021a-iot.dts | 1102 ------------------------ recipes-kernel/linux/linux-ls1/ls1021aiot.dts | 1102 ++++++++++++++++++++++++ recipes-kernel/linux/linux-ls1_3.12.bbappend | 4 +- 4 files changed, 1107 insertions(+), 1105 deletions(-) delete mode 100644 recipes-kernel/linux/linux-ls1/ls1021a-iot.dts create mode 100644 recipes-kernel/linux/linux-ls1/ls1021aiot.dts diff --git a/conf/machine/ls1021aiot.conf b/conf/machine/ls1021aiot.conf index 511d5f3..533ebe2 100644 --- a/conf/machine/ls1021aiot.conf +++ b/conf/machine/ls1021aiot.conf @@ -10,7 +10,9 @@ SOC_FAMILY = "ls102xa" QE_UCODE="iram_Type_A_LS1021a_r1.0.bin" -KERNEL_DEVICETREE ?= "ls1021a-iot.dtb" +KERNEL_DEVICETREE ?= "ls1021aiot.dtb" + +IMAGE_FSTYPES += "tar.gz" SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1 115200;ttyEHV0 115200;ttyLP0 115200;ttyAMA0" SERIAL_CONSOLES_CHECK ?= "${SERIAL_CONSOLES}" diff --git a/recipes-kernel/linux/linux-ls1/ls1021a-iot.dts b/recipes-kernel/linux/linux-ls1/ls1021a-iot.dts deleted file mode 100644 index d8ba94f..0000000 --- a/recipes-kernel/linux/linux-ls1/ls1021a-iot.dts +++ /dev/null @@ -1,1102 +0,0 @@ -/dts-v1/; - -/ { - #address-cells = <0x2>; - #size-cells = <0x2>; - compatible = "fsl,ls1021a"; - interrupt-parent = <0x1>; - model = "LS1021A IOT Board"; - - chosen { - }; - - aliases { - serial0 = "/soc/serial@2950000"; - serial1 = "/soc/serial@2960000"; - serial2 = "/soc/serial@2970000"; - serial3 = "/soc/serial@2980000"; - serial4 = "/soc/serial@2990000"; - serial5 = "/soc/serial@29a0000"; - ethernet0 = "/soc/ethernet@2d10000"; - ethernet1 = "/soc/ethernet@2d50000"; - ethernet2 = "/soc/ethernet@2d90000"; - sysclk = "/soc/clocking@1ee1000/sysclk"; - gpio0 = "/soc/gpio@2300000"; - gpio1 = "/soc/gpio@2310000"; - gpio2 = "/soc/gpio@2320000"; - gpio3 = "/soc/gpio@2330000"; - crypto = "/soc/crypto@1700000"; - }; - - memory { - device_type = "memory"; - reg = <0x0 0x0 0x0 0x0>; - }; - - memory@80000000 { - device_type = "memory"; - reg = <0x0 0x80000000 0x0 0x20000000>; - }; - - cpus { - #address-cells = <0x1>; - #size-cells = <0x0>; - - cpu@f00 { - compatible = "arm,cortex-a7"; - device_type = "cpu"; - reg = <0xf00>; - clocks = <0x2>; - }; - - cpu@f01 { - compatible = "arm,cortex-a7"; - device_type = "cpu"; - reg = <0xf01>; - clocks = <0x2>; - }; - }; - - timer { - compatible = "arm,armv7-timer"; - interrupts = <0x1 0xd 0x308 0x1 0xe 0x308 0x1 0xb 0x308 0x1 0xa 0x308>; - }; - - pmu { - compatible = "arm,cortex-a7-pmu"; - interrupts = <0x0 0x8a 0x4 0x0 0x8b 0x4>; - }; - - soc { - compatible = "simple-bus"; - #address-cells = <0x2>; - #size-cells = <0x2>; - device_type = "soc"; - interrupt-parent = <0x1>; - ranges; - - interrupt-controller@1400000 { - compatible = "arm,cortex-a15-gic"; - #interrupt-cells = <0x3>; - interrupt-controller; - reg = <0x0 0x1401000 0x0 0x1000 0x0 0x1402000 0x0 0x1000 0x0 0x1404000 0x0 0x2000 0x0 0x1406000 0x0 0x2000>; - interrupts = <0x1 0x9 0x304>; - linux,phandle = <0x1>; - phandle = <0x1>; - }; - - ifc@1530000 { - compatible = "fsl,ifc", "simple-bus"; - reg = <0x0 0x1530000 0x0 0x10000>; - interrupts = <0x0 0x4b 0x4>; - status = "disabled"; - }; - - dcfg@1ee0000 { - compatible = "fsl,ls1021a-dcfg"; - reg = <0x0 0x1ee0000 0x0 0x10000>; - }; - - quadspi@1550000 { - compatible = "fsl,ls1-qspi"; - #address-cells = <0x1>; - #size-cells = <0x0>; - reg = <0x0 0x1550000 0x0 0x10000 0x0 0x40000000 0x0 0x4000000>; - reg-names = "QuadSPI", "QuadSPI-memory"; - interrupts = <0x0 0x83 0x4>; - clock-names = "qspi_en", "qspi"; - clocks = <0x3 0x1 0x3 0x1>; - big-endian; - amba-base = <0x40000000>; - status = "disabled"; - num-cs = <0x2>; - bus-num = <0x0>; - fsl,spi-num-chipselects = <0x2>; - fsl,spi-flash-chipselects = <0x0>; - - s25fl128s@0 { - #address-cells = <0x1>; - #size-cells = <0x1>; - compatible = "spansion,s25fl129p1"; - spi-max-frequency = <0x1312d00>; - reg = <0x0>; - - partition@0 { - label = "s25fl128s-0"; - reg = <0x0 0x1000000>; - }; - }; - - s25fl128s@1 { - #address-cells = <0x1>; - #size-cells = <0x1>; - compatible = "spansion,s25fl129p1"; - spi-max-frequency = <0x1312d00>; - reg = <0x1>; - - partition@0x0 { - label = "s25fl128s-1"; - reg = <0x0 0x1000000>; - }; - }; - }; - - esdhc@1560000 { - compatible = "fsl,ls1021a-esdhc", "fsl,esdhc"; - reg = <0x0 0x1560000 0x0 0x10000>; - interrupts = <0x0 0x5e 0x4>; - clock-frequency = <0x0>; - voltage-ranges = <0x708 0x708 0xce4 0xce4>; - sdhci,auto-cmd12; - big-endian; - bus-width = <0x4>; - sleep = <0x4 0x80 0x0>; - status = "disabled"; - }; - - sata@3200000 { - compatible = "fsl,ls1021a-ahci"; - reg = <0x0 0x3200000 0x0 0x10000>; - interrupts = <0x0 0x65 0x4>; - clocks = <0x3 0x1>; - }; - - scfg@1570000 { - compatible = "fsl,ls1021a-scfg", "syscon"; - reg = <0x0 0x1570000 0x0 0x10000>; - big-endian; - linux,phandle = <0xc>; - phandle = <0xc>; - }; - - crypto@1700000 { - compatible = "fsl,sec-v5.3", "fsl,sec-v5.0", "fsl,sec-v4.0"; - fsl,sec-era = <0x4>; - #address-cells = <0x1>; - #size-cells = <0x1>; - reg = <0x0 0x1700000 0x0 0x100000>; - ranges = <0x0 0x0 0x1700000 0x100000>; - interrupts = <0x0 0x6b 0x4>; - - jr@10000 { - compatible = "fsl,sec-v5.3-job-ring", "fsl,sec-v5.0-job-ring", "fsl,sec-v4.0-job-ring"; - reg = <0x10000 0x10000>; - interrupts = <0x0 0x67 0x4>; - }; - - jr@20000 { - compatible = "fsl,sec-v5.3-job-ring", "fsl,sec-v5.0-job-ring", "fsl,sec-v4.0-job-ring"; - reg = <0x20000 0x10000>; - interrupts = <0x0 0x68 0x4>; - }; - - jr@30000 { - compatible = "fsl,sec-v5.3-job-ring", "fsl,sec-v5.0-job-ring", "fsl,sec-v4.0-job-ring"; - reg = <0x30000 0x10000>; - interrupts = <0x0 0x69 0x4>; - }; - - jr@40000 { - compatible = "fsl,sec-v5.3-job-ring", "fsl,sec-v5.0-job-ring", "fsl,sec-v4.0-job-ring"; - reg = <0x40000 0x10000>; - interrupts = <0x0 0x6a 0x4>; - }; - }; - - clocking@1ee1000 { - compatible = "fsl,ls1021a-clockgen"; - reg = <0x0 0x1ee1000 0x0 0x10000>; - #address-cells = <0x1>; - #size-cells = <0x0>; - - sysclk { - compatible = "fixed-clock"; - #clock-cells = <0x0>; - clock-frequency = <0x5f5e100>; - clock-output-names = "sysclk"; - linux,phandle = <0x5>; - phandle = <0x5>; - }; - - pll1@800 { - compatible = "fsl,core-pll-clock"; - #clock-cells = <0x1>; - reg = <0x800>; - clocks = <0x5>; - clock-output-names = "cga-pll1", "cga-pll1-div2", "cga-pll1-div4"; - linux,phandle = <0x6>; - phandle = <0x6>; - }; - - pll@c00 { - compatible = "fsl,core-pll-clock"; - #clock-cells = <0x1>; - reg = <0xc00>; - clocks = <0x5>; - clock-output-names = "platform-clk", "platform-clk-div2"; - linux,phandle = <0x3>; - phandle = <0x3>; - }; - - clk0c0@0 { - compatible = "fsl,core-mux-clock"; - #clock-cells = <0x0>; - reg = <0x0>; - clock-names = "pll1cga", "pll1cga-div2", "pll1cga-div4"; - clocks = <0x6 0x0 0x6 0x1 0x6 0x2>; - clock-output-names = "cluster1-clk"; - linux,phandle = <0x2>; - phandle = <0x2>; - }; - }; - - rcpm@1ee2000 { - compatible = "fsl,ls1021a-rcpm", "fsl,qoriq-rcpm-2.1"; - reg = <0x0 0x1ee2000 0x0 0x10000>; - linux,phandle = <0x4>; - phandle = <0x4>; - }; - - dspi@2100000 { - compatible = "fsl,vf610-dspi"; - #address-cells = <0x1>; - #size-cells = <0x0>; - reg = <0x0 0x2100000 0x0 0x10000>; - interrupts = <0x0 0x60 0x4>; - clock-names = "dspi"; - clocks = <0x3 0x1>; - spi-num-chipselects = <0x5>; - big-endian; - tcfq-mode; - status = "disabled"; - }; - - dspi@2110000 { - compatible = "fsl,vf610-dspi"; - #address-cells = <0x1>; - #size-cells = <0x0>; - reg = <0x0 0x2110000 0x0 0x10000>; - interrupts = <0x0 0x61 0x4>; - clock-names = "dspi"; - clocks = <0x3 0x1>; - spi-num-chipselects = <0x5>; - big-endian; - tcfq-mode; - status = "disabled"; - }; - - i2c@2180000 { - compatible = "fsl,vf610-i2c"; - #address-cells = <0x1>; - #size-cells = <0x0>; - reg = <0x0 0x2180000 0x0 0x10000>; - interrupts = <0x0 0x58 0x4>; - clock-names = "i2c"; - clocks = <0x3 0x1>; - status = "okay"; - - max1239@35 { - compatible = "maxim,max1239"; - reg = <0x35>; - #io-channel-cells = <0x1>; - }; - - sgtl5000@2a { - compatible = "fsl,sgtl5000"; - reg = <0x2a>; - VDDA-supply = <0x7>; - VDDIO-supply = <0x8>; - clocks = <0x9 0x1>; - linux,phandle = <0x14>; - phandle = <0x14>; - }; - - pca9555@23 { - compatible = "nxp,pca9555"; - gpio-controller; - #gpio-cells = <0x2>; - interrupt-controller; - #interrupt-cells = <0x2>; - reg = <0x23>; - }; - - ina220@44 { - compatible = "ti,ina220"; - reg = <0x44>; - shunt-resistor = <0x3e8>; - }; - - ina220@45 { - compatible = "ti,ina220"; - reg = <0x45>; - shunt-resistor = <0x3e8>; - }; - - lm75b@48 { - compatible = "nxp,lm75a"; - reg = <0x48>; - }; - - adt7461a@4c { - compatible = "adt7461a"; - reg = <0x4c>; - }; - - sii9022a@39 { - compatible = "fsl,sii902x"; - reg = <0x39>; - interrupts = <0x0 0xa3 0x1>; - }; - }; - - i2c@2190000 { - compatible = "fsl,vf610-i2c"; - #address-cells = <0x1>; - #size-cells = <0x0>; - reg = <0x0 0x2190000 0x0 0x10000>; - interrupts = <0x0 0x59 0x4>; - clock-names = "i2c"; - clocks = <0x3 0x1>; - status = "disabled"; - }; - - i2c@21a0000 { - compatible = "fsl,vf610-i2c"; - #address-cells = <0x1>; - #size-cells = <0x0>; - reg = <0x0 0x21a0000 0x0 0x10000>; - interrupts = <0x0 0x5a 0x4>; - clock-names = "i2c"; - clocks = <0x3 0x1>; - status = "disabled"; - }; - - serial@21c0500 { - compatible = "fsl,16550-FIFO64"; - reg = <0x0 0x21c0500 0x0 0x100>; - interrupts = <0x0 0x56 0x4>; - clock-frequency = <0x0>; - fifo-size = <0x3f>; - status = "okay"; - }; - - serial@21c0600 { - compatible = "fsl,16550-FIFO64"; - reg = <0x0 0x21c0600 0x0 0x100>; - interrupts = <0x0 0x56 0x4>; - clock-frequency = <0x0>; - fifo-size = <0x3f>; - status = "disabled"; - }; - - serial@21d0500 { - compatible = "fsl,16550-FIFO64"; - reg = <0x0 0x21d0500 0x0 0x100>; - interrupts = <0x0 0x57 0x4>; - clock-frequency = <0x0>; - fifo-size = <0x3f>; - status = "disabled"; - }; - - serial@21d0600 { - compatible = "fsl,16550-FIFO64"; - reg = <0x0 0x21d0600 0x0 0x100>; - interrupts = <0x0 0x57 0x4>; - clock-frequency = <0x0>; - fifo-size = <0x3f>; - status = "disabled"; - }; - - uqe@2400000 { - #address-cells = <0x1>; - #size-cells = <0x1>; - device_type = "qe"; - compatible = "fsl,qe", "simple-bus"; - ranges = <0x0 0x0 0x2400000 0x40000>; - reg = <0x0 0x2400000 0x0 0x480>; - brg-frequency = <0x5f5e100>; - bus-frequency = <0xbebc200>; - fsl,qe-num-riscs = <0x1>; - fsl,qe-num-snums = <0x1c>; - - qeic@80 { - compatible = "fsl,qe-ic"; - reg = <0x80 0x80>; - #address-cells = <0x0>; - interrupt-controller; - #interrupt-cells = <0x1>; - interrupts = <0x0 0x6d 0x4 0x0 0x6d 0x4>; - linux,phandle = <0xa>; - phandle = <0xa>; - }; - - si@700 { - #address-cells = <0x1>; - #size-cells = <0x0>; - compatible = "fsl,qe-si"; - reg = <0x700 0x80>; - }; - - siram@1000 { - #address-cells = <0x1>; - #size-cells = <0x1>; - compatible = "fsl,qe-siram"; - reg = <0x1000 0x800>; - }; - - ucc@2000 { - cell-index = <0x1>; - reg = <0x2000 0x200>; - interrupts = <0x20>; - interrupt-parent = <0xa>; - compatible = "fsl,ucc-tdm"; - rx-clock-name = "brg1"; - tx-clock-name = "brg1"; - fsl,rx-sync-clock = "none"; - fsl,tx-sync-clock = "none"; - fsl,tx-timeslot = <0xfffffffe>; - fsl,rx-timeslot = <0xfffffffe>; - fsl,tdm-framer-type = "e1"; - fsl,tdm-mode = "internel-loopback"; - fsl,tdm-id = <0x0>; - fsl,siram-entry-id = <0x0>; - }; - - ucc@2200 { - cell-index = <0x3>; - reg = <0x2200 0x200>; - interrupts = <0x22>; - interrupt-parent = <0xa>; - device_type = "serial"; - compatible = "ucc_uart"; - port-number = <0x1>; - rx-clock-name = "brg2"; - tx-clock-name = "brg2"; - }; - - muram@10000 { - #address-cells = <0x1>; - #size-cells = <0x1>; - compatible = "fsl,qe-muram", "fsl,cpm-muram"; - ranges = <0x0 0x10000 0x6000>; - - data-only@0 { - compatible = "fsl,qe-muram-data", "fsl,cpm-muram-data"; - reg = <0x0 0x6000>; - }; - }; - }; - - serial@2950000 { - compatible = "fsl,ls1021a-lpuart"; - reg = <0x0 0x2950000 0x0 0x1000>; - interrupts = <0x0 0x50 0x4>; - clocks = <0x5>; - clock-names = "ipg"; - sleep = <0x4 0x0 0x40000000>; - status = "okay"; - }; - - serial@2960000 { - compatible = "fsl,ls1021a-lpuart"; - reg = <0x0 0x2960000 0x0 0x1000>; - interrupts = <0x0 0x51 0x4>; - clocks = <0x3 0x1>; - clock-names = "ipg"; - status = "disabled"; - }; - - serial@2970000 { - compatible = "fsl,ls1021a-lpuart"; - reg = <0x0 0x2970000 0x0 0x1000>; - interrupts = <0x0 0x52 0x4>; - clocks = <0x3 0x1>; - clock-names = "ipg"; - status = "disabled"; - }; - - serial@2980000 { - compatible = "fsl,ls1021a-lpuart"; - reg = <0x0 0x2980000 0x0 0x1000>; - interrupts = <0x0 0x53 0x4>; - clocks = <0x3 0x1>; - clock-names = "ipg"; - status = "disabled"; - }; - - serial@2990000 { - compatible = "fsl,ls1021a-lpuart"; - reg = <0x0 0x2990000 0x0 0x1000>; - interrupts = <0x0 0x54 0x4>; - clocks = <0x3 0x1>; - clock-names = "ipg"; - status = "disabled"; - }; - - serial@29a0000 { - compatible = "fsl,ls1021a-lpuart"; - reg = <0x0 0x29a0000 0x0 0x1000>; - interrupts = <0x0 0x55 0x4>; - clocks = <0x3 0x1>; - clock-names = "ipg"; - status = "disabled"; - }; - - gpio@2300000 { - compatible = "fsl,ls1021a-gpio"; - reg = <0x0 0x2300000 0x0 0x10000>; - interrupts = <0x0 0x62 0x4>; - gpio-controller; - #gpio-cells = <0x2>; - interrupt-controller; - #interrupt-cells = <0x2>; - sleep = <0x4 0x40 0x0>; - }; - - gpio@2310000 { - compatible = "fsl,ls1021a-gpio"; - reg = <0x0 0x2310000 0x0 0x10000>; - interrupts = <0x0 0x63 0x4>; - gpio-controller; - #gpio-cells = <0x2>; - interrupt-controller; - #interrupt-cells = <0x2>; - }; - - gpio@2320000 { - compatible = "fsl,ls1021a-gpio"; - reg = <0x0 0x2320000 0x0 0x10000>; - interrupts = <0x0 0x64 0x4>; - gpio-controller; - #gpio-cells = <0x2>; - interrupt-controller; - #interrupt-cells = <0x2>; - }; - - gpio@2330000 { - compatible = "fsl,ls1021a-gpio"; - reg = <0x0 0x2330000 0x0 0x10000>; - interrupts = <0x0 0xa6 0x4>; - gpio-controller; - #gpio-cells = <0x2>; - interrupt-controller; - #interrupt-cells = <0x2>; - }; - - ftm0@29d0000 { - compatible = "fsl,ftm-alarm"; - reg = <0x0 0x29d0000 0x0 0x10000>; - interrupts = <0x0 0x76 0x4>; - big-endian; - sleep = <0x4 0x0 0x20000000>; - status = "disabled"; - }; - - ftm@2a00000 { - compatible = "fsl,vf610-ftm-pwm"; - #pwm-cells = <0x3>; - reg = <0x0 0x2a00000 0x0 0x10000>; - interrupts = <0x0 0x79 0x4>; - clock-names = "ftm_sys", "ftm_ext", "ftm_fix", "ftm_cnt_clk_en"; - clocks = <0x3 0x1 0x3 0x1 0x3 0x1 0x3 0x1>; - big-endian; - status = "disabled"; - }; - - ftm@2a30000 { - compatible = "fsl,vf610-ftm-pwm"; - #pwm-cells = <0x3>; - reg = <0x0 0x2a30000 0x0 0x10000>; - interrupts = <0x0 0x7b 0x4>; - clock-names = "ftm_sys", "ftm_ext", "ftm_fix", "ftm_cnt_clk_en"; - clocks = <0x3 0x1 0x3 0x1 0x3 0x1 0x3 0x1>; - big-endian; - status = "disabled"; - }; - - ftm@2a40000 { - compatible = "fsl,vf610-ftm-pwm"; - #pwm-cells = <0x3>; - reg = <0x0 0x2a40000 0x0 0x10000>; - interrupts = <0x0 0x7c 0x4>; - clock-names = "ftm_sys", "ftm_ext", "ftm_fix", "ftm_cnt_clk_en"; - clocks = <0x3 0x1 0x3 0x1 0x3 0x1 0x3 0x1>; - big-endian; - status = "disabled"; - }; - - wdog@2ad0000 { - compatible = "fsl,imx21-wdt"; - reg = <0x0 0x2ad0000 0x0 0x10000>; - interrupts = <0x0 0x73 0x4>; - clocks = <0x3 0x1>; - clock-names = "wdog"; - big-endian; - }; - - sai@2b50000 { - compatible = "fsl,vf610-sai"; - reg = <0x0 0x2b50000 0x0 0x10000>; - interrupts = <0x0 0x84 0x4>; - clocks = <0x3 0x1>; - clock-names = "sai"; - dma-names = "tx", "rx"; - dmas = <0xb 0x1 0x2f 0xb 0x1 0x2e>; - status = "disabled"; - }; - - sai@2b60000 { - compatible = "fsl,vf610-sai"; - reg = <0x0 0x2b60000 0x0 0x10000>; - interrupts = <0x0 0x85 0x4>; - clocks = <0x3 0x1>; - clock-names = "sai"; - dma-names = "tx", "rx"; - dmas = <0xb 0x1 0x2d 0xb 0x1 0x2c>; - status = "okay"; - linux,phandle = <0x13>; - phandle = <0x13>; - }; - - edma@2c00000 { - #dma-cells = <0x2>; - compatible = "fsl,vf610-edma"; - reg = <0x0 0x2c00000 0x0 0x10000 0x0 0x2c10000 0x0 0x10000 0x0 0x2c20000 0x0 0x10000>; - interrupts = <0x0 0x87 0x4 0x0 0x87 0x4>; - interrupt-names = "edma-tx", "edma-err"; - dma-channels = <0x20>; - big-endian; - clock-names = "dmamux0", "dmamux1"; - clocks = <0x3 0x1 0x3 0x1>; - linux,phandle = <0xb>; - phandle = <0xb>; - }; - - dcu@2ce0000 { - compatible = "fsl,ls1021a-dcu"; - reg = <0x0 0x2ce0000 0x0 0x10000>; - interrupts = <0x0 0xac 0x4>; - clocks = <0x3 0x0>; - clock-names = "dcu"; - scfg-controller = <0xc>; - big-endian; - status = "okay"; - display = <0xd>; - - display@0 { - bits-per-pixel = <0x18>; - linux,phandle = <0xd>; - phandle = <0xd>; - - display-timings { - native-mode = <0xe>; - - mode0 { - clock-frequency = <0x17d7840>; - hactive = <0x280>; - vactive = <0x1e0>; - hback-porch = <0x50>; - hfront-porch = <0x50>; - vback-porch = <0x10>; - vfront-porch = <0x10>; - hsync-len = <0xc>; - vsync-len = <0x2>; - hsync-active = <0x1>; - vsync-active = <0x1>; - linux,phandle = <0xe>; - phandle = <0xe>; - }; - }; - }; - }; - - mdio@2d24000 { - compatible = "gianfar"; - device_type = "mdio"; - #address-cells = <0x1>; - #size-cells = <0x0>; - reg = <0x0 0x2d24000 0x0 0x4000>; - - ethernet-phy@0 { - reg = <0x0>; - }; - - ethernet-phy@1 { - reg = <0x1>; - interrupts = <0x0 0xa5 0x8>; - linux,phandle = <0x10>; - phandle = <0x10>; - }; - - ethernet-phy@2 { - reg = <0x2>; - linux,phandle = <0x12>; - phandle = <0x12>; - }; - - ethernet-phy@3 { - reg = <0x3>; - interrupts = <0x0 0xa5 0x8>; - linux,phandle = <0x11>; - phandle = <0x11>; - }; - - tbi-phy@1f { - reg = <0x1f>; - device_type = "tbi-phy"; - linux,phandle = <0xf>; - phandle = <0xf>; - }; - }; - - ethernet@2d10000 { - compatible = "fsl,etsec2"; - device_type = "network"; - #address-cells = <0x2>; - #size-cells = <0x2>; - interrupt-parent = <0x1>; - model = "eTSEC"; - fsl,dma-endian-le; - fsl,magic-packet; - fsl,wake-on-filer; - sleep = <0x4 0x80000000 0x0>; - fsl,num_rx_queues = <0x8>; - fsl,num_tx_queues = <0x8>; - local-mac-address = [00 00 00 00 00 00]; - ranges; - tbi-handle = <0xf>; - phy-handle = <0x10>; - phy-connection-type = "sgmii"; - status = "ok"; - - queue-group@2d10000 { - #address-cells = <0x2>; - #size-cells = <0x2>; - reg = <0x0 0x2d10000 0x0 0x1000>; - interrupts = <0x0 0x90 0x4 0x0 0x91 0x4 0x0 0x92 0x4>; - }; - - queue-group@2d14000 { - #address-cells = <0x2>; - #size-cells = <0x2>; - reg = <0x0 0x2d14000 0x0 0x1000>; - interrupts = <0x0 0x93 0x4 0x0 0x94 0x4 0x0 0x95 0x4>; - }; - }; - - ethernet@2d50000 { - compatible = "fsl,etsec2"; - device_type = "network"; - #address-cells = <0x2>; - #size-cells = <0x2>; - interrupt-parent = <0x1>; - model = "eTSEC"; - fsl,dma-endian-le; - fsl,num_rx_queues = <0x8>; - fsl,num_tx_queues = <0x8>; - local-mac-address = [00 00 00 00 00 00]; - ranges; - tbi-handle = <0xf>; - phy-handle = <0x11>; - phy-connection-type = "sgmii"; - status = "ok"; - - queue-group@2d50000 { - #address-cells = <0x2>; - #size-cells = <0x2>; - reg = <0x0 0x2d50000 0x0 0x1000>; - interrupts = <0x0 0x96 0x4 0x0 0x98 0x4 0x0 0x99 0x4>; - }; - - queue-group@2d54000 { - #address-cells = <0x2>; - #size-cells = <0x2>; - reg = <0x0 0x2d54000 0x0 0x1000>; - interrupts = <0x0 0x9a 0x4 0x0 0x9b 0x4 0x0 0x9c 0x4>; - }; - }; - - ethernet@2d90000 { - compatible = "fsl,etsec2"; - device_type = "network"; - #address-cells = <0x2>; - #size-cells = <0x2>; - interrupt-parent = <0x1>; - model = "eTSEC"; - fsl,dma-endian-le; - fsl,num_rx_queues = <0x8>; - fsl,num_tx_queues = <0x8>; - local-mac-address = [00 00 00 00 00 00]; - ranges; - tbi-handle = <0xf>; - phy-handle = <0x12>; - phy-connection-type = "rgmii"; - status = "ok"; - - queue-group@2d90000 { - #address-cells = <0x2>; - #size-cells = <0x2>; - reg = <0x0 0x2d90000 0x0 0x1000>; - interrupts = <0x0 0x9d 0x4 0x0 0x9e 0x4 0x0 0x9f 0x4>; - }; - - queue-group@2d94000 { - #address-cells = <0x2>; - #size-cells = <0x2>; - reg = <0x0 0x2d94000 0x0 0x1000>; - interrupts = <0x0 0xa0 0x4 0x0 0xa1 0x4 0x0 0xa2 0x4>; - }; - }; - - can@2a70000 { - compatible = "fsl,ls1021ar2-flexcan"; - reg = <0x0 0x2a70000 0x0 0x1000>; - interrupts = <0x0 0x7e 0x4>; - clocks = <0x3 0x1 0x3 0x1>; - clock-names = "ipg", "per"; - little-endian; - }; - - can@2a80000 { - compatible = "fsl,ls1021ar2-flexcan"; - reg = <0x0 0x2a80000 0x0 0x1000>; - interrupts = <0x0 0x7f 0x4>; - clocks = <0x3 0x1 0x3 0x1>; - clock-names = "ipg", "per"; - little-endian; - }; - - can@2a90000 { - compatible = "fsl,ls1021ar2-flexcan"; - reg = <0x0 0x2a90000 0x0 0x1000>; - interrupts = <0x0 0x80 0x4>; - clocks = <0x3 0x1 0x3 0x1>; - clock-names = "ipg", "per"; - little-endian; - status = "okay"; - }; - - can@2aa0000 { - compatible = "fsl,ls1021ar2-flexcan"; - reg = <0x0 0x2aa0000 0x0 0x1000>; - interrupts = <0x0 0x81 0x4>; - clocks = <0x3 0x1 0x3 0x1>; - clock-names = "ipg", "per"; - little-endian; - status = "okay"; - }; - - usb@8600000 { - compatible = "fsl-usb2-dr-v2.5", "fsl-usb2-dr"; - reg = <0x0 0x8600000 0x0 0x1000>; - interrupts = <0x0 0xab 0x4>; - dr_mode = "host"; - phy_type = "ulpi"; - }; - - usb3@3100000 { - compatible = "snps,dwc3"; - reg = <0x0 0x3100000 0x0 0x10000>; - interrupts = <0x0 0x5d 0x4>; - dr_mode = "host"; - configure-gfladj; - }; - - pcie@3400000 { - compatible = "fsl,ls1021a-pcie", "snps,dw-pcie"; - reg = <0x0 0x3400000 0x0 0x10000 0x40 0x0 0x0 0x2000>; - reg-names = "regs", "config"; - interrupts = <0x0 0xb1 0x4 0x0 0xb3 0x4 0x0 0xb5 0x4>; - interrupt-names = "intr", "msi", "pme"; - fsl,pcie-scfg = <0xc 0x0>; - num-atus = <0x6>; - #address-cells = <0x3>; - #size-cells = <0x2>; - device_type = "pci"; - num-lanes = <0x4>; - bus-range = <0x0 0xff>; - ranges = <0x81000000 0x0 0x0 0x40 0x10000 0x0 0x10000 0x82000000 0x0 0x40000000 0x40 0x40000000 0x0 0x40000000>; - #interrupt-cells = <0x1>; - interrupt-map-mask = <0x0 0x0 0x0 0x7>; - interrupt-map = <0x0 0x0 0x0 0x1 0x1 0x0 0x5b 0x4 0x0 0x0 0x0 0x2 0x1 0x0 0xbc 0x4 0x0 0x0 0x0 0x3 0x1 0x0 0xbe 0x4 0x0 0x0 0x0 0x4 0x1 0x0 0xc0 0x4>; - }; - - pcie@3500000 { - compatible = "fsl,ls1021a-pcie", "snps,dw-pcie"; - reg = <0x0 0x3500000 0x0 0x10000 0x48 0x0 0x0 0x2000>; - reg-names = "regs", "config"; - interrupts = <0x0 0xb2 0x4 0x0 0xb4 0x4 0x0 0xb6 0x4>; - interrupt-names = "intr", "msi", "pme"; - fsl,pcie-scfg = <0xc 0x1>; - num-atus = <0x6>; - #address-cells = <0x3>; - #size-cells = <0x2>; - device_type = "pci"; - num-lanes = <0x2>; - bus-range = <0x0 0xff>; - ranges = <0x81000000 0x0 0x0 0x48 0x10000 0x0 0x10000 0x82000000 0x0 0x40000000 0x48 0x40000000 0x0 0x40000000>; - #interrupt-cells = <0x1>; - interrupt-map-mask = <0x0 0x0 0x0 0x7>; - interrupt-map = <0x0 0x0 0x0 0x1 0x1 0x0 0x5c 0x4 0x0 0x0 0x0 0x2 0x1 0x0 0xbd 0x4 0x0 0x0 0x0 0x3 0x1 0x0 0xbf 0x4 0x0 0x0 0x0 0x4 0x1 0x0 0xc1 0x4>; - }; - }; - - dcsr { - #address-cells = <0x1>; - #size-cells = <0x1>; - compatible = "fsl,dcsr", "simple-bus"; - ranges = <0x0 0x0 0x20000000 0x1000000>; - - dcsr-epu@0 { - compatible = "fsl,ls1021a-dcsr-epu"; - reg = <0x0 0x10000>; - }; - - dcsr-gdi@100000 { - compatible = "fsl,ls1021a-dcsr-gdi"; - reg = <0x100000 0x10000>; - }; - - dcsr-dddi@120000 { - compatible = "fsl,ls1021a-dcsr-dddi"; - reg = <0x120000 0x10000>; - }; - - dcsr-dcfg@220000 { - compatible = "fsl,ls1021a-dcsr-dcfg"; - reg = <0x220000 0x1000>; - }; - - dcsr-clock@221000 { - compatible = "fsl,ls1021a-dcsr-clock"; - reg = <0x221000 0x1000>; - }; - - dcsr-rcpm@222000 { - compatible = "fsl,ls1021a-dcsr-rcpm"; - reg = <0x222000 0x1000 0x223000 0x1000>; - }; - - dcsr-ccp@225000 { - compatible = "fsl,ls1021a-dcsr-ccp"; - reg = <0x225000 0x1000>; - }; - - dcsr-fusectrl@226000 { - compatible = "fsl,ls1021a-dcsr-fusectrl"; - reg = <0x226000 0x1000>; - }; - - dcsr-dap@300000 { - compatible = "fsl,ls1021a-dcsr-dap"; - reg = <0x300000 0x10000>; - }; - - dcsr-cstf@350000 { - compatible = "fsl,ls1021a-dcsr-cstf"; - reg = <0x350000 0x1000 0x3a7000 0x1000>; - }; - - dcsr-a7rom@360000 { - compatible = "fsl,ls1021a-dcsr-a7rom"; - reg = <0x360000 0x10000>; - }; - - dcsr-a7cpu@370000 { - compatible = "fsl,ls1021a-dcsr-a7cpu"; - reg = <0x370000 0x8000>; - }; - - dcsr-a7cti@378000 { - compatible = "fsl,ls1021a-dcsr-a7cti"; - reg = <0x378000 0x4000>; - }; - - dcsr-etm@37c000 { - compatible = "fsl,ls1021a-dcsr-etm"; - reg = <0x37c000 0x1000 0x37d000 0x3000>; - }; - - dcsr-hugorom@3a0000 { - compatible = "fsl,ls1021a-dcsr-hugorom"; - reg = <0x3a0000 0x1000>; - }; - - dcsr-etf@3a1000 { - compatible = "fsl,ls1021a-dcsr-etf"; - reg = <0x3a1000 0x1000 0x3a2000 0x1000>; - }; - - dcsr-etr@3a3000 { - compatible = "fsl,ls1021a-dcsr-etr"; - reg = <0x3a3000 0x1000>; - }; - - dcsr-cti@3a4000 { - compatible = "fsl,ls1021a-dcsr-cti"; - reg = <0x3a4000 0x1000 0x3a5000 0x1000 0x3a6000 0x1000>; - }; - - dcsr-atbrepl@3a8000 { - compatible = "fsl,ls1021a-dcsr-atbrepl"; - reg = <0x3a8000 0x1000>; - }; - - dcsr-tsgen-ctrl@3a9000 { - compatible = "fsl,ls1021a-dcsr-tsgen-ctrl"; - reg = <0x3a9000 0x1000>; - }; - - dcsr-tsgen-read@3aa000 { - compatible = "fsl,ls1021a-dcsr-tsgen-read"; - reg = <0x3aa000 0x1000>; - }; - }; - - clocks { - - clock { - compatible = "fixed-clock"; - #clock-cells = <0x0>; - clock-frequency = <0x1770000>; - linux,phandle = <0x9>; - phandle = <0x9>; - }; - }; - - regulators { - compatible = "simple-bus"; - #address-cells = <0x1>; - #size-cells = <0x0>; - - regulator@0 { - compatible = "regulator-fixed"; - reg = <0x0>; - regulator-name = "3P3V"; - regulator-min-microvolt = <0x325aa0>; - regulator-max-microvolt = <0x325aa0>; - regulator-always-on; - linux,phandle = <0x7>; - phandle = <0x7>; - }; - - regulator@1 { - compatible = "regulator-fixed"; - reg = <0x1>; - regulator-name = "2P5V"; - regulator-min-microvolt = <0x2625a0>; - regulator-max-microvolt = <0x2625a0>; - regulator-always-on; - linux,phandle = <0x8>; - phandle = <0x8>; - }; - }; - - sound { - compatible = "fsl,vf610-sgtl5000"; - simple-audio-card,name = "FSL-VF610-TWR-BOARD"; - simple-audio-card,routing = "MIC_IN", "Microphone Jack", "Microphone Jack", "Mic Bias", "LINE_IN", "Line In Jack", "Headphone Jack", "HP_OUT", "Speaker Ext", "LINE_OUT"; - simple-audio-card,cpu = <0x13>; - simple-audio-card,codec = <0x14>; - }; -}; diff --git a/recipes-kernel/linux/linux-ls1/ls1021aiot.dts b/recipes-kernel/linux/linux-ls1/ls1021aiot.dts new file mode 100644 index 0000000..d8ba94f --- /dev/null +++ b/recipes-kernel/linux/linux-ls1/ls1021aiot.dts @@ -0,0 +1,1102 @@ +/dts-v1/; + +/ { + #address-cells = <0x2>; + #size-cells = <0x2>; + compatible = "fsl,ls1021a"; + interrupt-parent = <0x1>; + model = "LS1021A IOT Board"; + + chosen { + }; + + aliases { + serial0 = "/soc/serial@2950000"; + serial1 = "/soc/serial@2960000"; + serial2 = "/soc/serial@2970000"; + serial3 = "/soc/serial@2980000"; + serial4 = "/soc/serial@2990000"; + serial5 = "/soc/serial@29a0000"; + ethernet0 = "/soc/ethernet@2d10000"; + ethernet1 = "/soc/ethernet@2d50000"; + ethernet2 = "/soc/ethernet@2d90000"; + sysclk = "/soc/clocking@1ee1000/sysclk"; + gpio0 = "/soc/gpio@2300000"; + gpio1 = "/soc/gpio@2310000"; + gpio2 = "/soc/gpio@2320000"; + gpio3 = "/soc/gpio@2330000"; + crypto = "/soc/crypto@1700000"; + }; + + memory { + device_type = "memory"; + reg = <0x0 0x0 0x0 0x0>; + }; + + memory@80000000 { + device_type = "memory"; + reg = <0x0 0x80000000 0x0 0x20000000>; + }; + + cpus { + #address-cells = <0x1>; + #size-cells = <0x0>; + + cpu@f00 { + compatible = "arm,cortex-a7"; + device_type = "cpu"; + reg = <0xf00>; + clocks = <0x2>; + }; + + cpu@f01 { + compatible = "arm,cortex-a7"; + device_type = "cpu"; + reg = <0xf01>; + clocks = <0x2>; + }; + }; + + timer { + compatible = "arm,armv7-timer"; + interrupts = <0x1 0xd 0x308 0x1 0xe 0x308 0x1 0xb 0x308 0x1 0xa 0x308>; + }; + + pmu { + compatible = "arm,cortex-a7-pmu"; + interrupts = <0x0 0x8a 0x4 0x0 0x8b 0x4>; + }; + + soc { + compatible = "simple-bus"; + #address-cells = <0x2>; + #size-cells = <0x2>; + device_type = "soc"; + interrupt-parent = <0x1>; + ranges; + + interrupt-controller@1400000 { + compatible = "arm,cortex-a15-gic"; + #interrupt-cells = <0x3>; + interrupt-controller; + reg = <0x0 0x1401000 0x0 0x1000 0x0 0x1402000 0x0 0x1000 0x0 0x1404000 0x0 0x2000 0x0 0x1406000 0x0 0x2000>; + interrupts = <0x1 0x9 0x304>; + linux,phandle = <0x1>; + phandle = <0x1>; + }; + + ifc@1530000 { + compatible = "fsl,ifc", "simple-bus"; + reg = <0x0 0x1530000 0x0 0x10000>; + interrupts = <0x0 0x4b 0x4>; + status = "disabled"; + }; + + dcfg@1ee0000 { + compatible = "fsl,ls1021a-dcfg"; + reg = <0x0 0x1ee0000 0x0 0x10000>; + }; + + quadspi@1550000 { + compatible = "fsl,ls1-qspi"; + #address-cells = <0x1>; + #size-cells = <0x0>; + reg = <0x0 0x1550000 0x0 0x10000 0x0 0x40000000 0x0 0x4000000>; + reg-names = "QuadSPI", "QuadSPI-memory"; + interrupts = <0x0 0x83 0x4>; + clock-names = "qspi_en", "qspi"; + clocks = <0x3 0x1 0x3 0x1>; + big-endian; + amba-base = <0x40000000>; + status = "disabled"; + num-cs = <0x2>; + bus-num = <0x0>; + fsl,spi-num-chipselects = <0x2>; + fsl,spi-flash-chipselects = <0x0>; + + s25fl128s@0 { + #address-cells = <0x1>; + #size-cells = <0x1>; + compatible = "spansion,s25fl129p1"; + spi-max-frequency = <0x1312d00>; + reg = <0x0>; + + partition@0 { + label = "s25fl128s-0"; + reg = <0x0 0x1000000>; + }; + }; + + s25fl128s@1 { + #address-cells = <0x1>; + #size-cells = <0x1>; + compatible = "spansion,s25fl129p1"; + spi-max-frequency = <0x1312d00>; + reg = <0x1>; + + partition@0x0 { + label = "s25fl128s-1"; + reg = <0x0 0x1000000>; + }; + }; + }; + + esdhc@1560000 { + compatible = "fsl,ls1021a-esdhc", "fsl,esdhc"; + reg = <0x0 0x1560000 0x0 0x10000>; + interrupts = <0x0 0x5e 0x4>; + clock-frequency = <0x0>; + voltage-ranges = <0x708 0x708 0xce4 0xce4>; + sdhci,auto-cmd12; + big-endian; + bus-width = <0x4>; + sleep = <0x4 0x80 0x0>; + status = "disabled"; + }; + + sata@3200000 { + compatible = "fsl,ls1021a-ahci"; + reg = <0x0 0x3200000 0x0 0x10000>; + interrupts = <0x0 0x65 0x4>; + clocks = <0x3 0x1>; + }; + + scfg@1570000 { + compatible = "fsl,ls1021a-scfg", "syscon"; + reg = <0x0 0x1570000 0x0 0x10000>; + big-endian; + linux,phandle = <0xc>; + phandle = <0xc>; + }; + + crypto@1700000 { + compatible = "fsl,sec-v5.3", "fsl,sec-v5.0", "fsl,sec-v4.0"; + fsl,sec-era = <0x4>; + #address-cells = <0x1>; + #size-cells = <0x1>; + reg = <0x0 0x1700000 0x0 0x100000>; + ranges = <0x0 0x0 0x1700000 0x100000>; + interrupts = <0x0 0x6b 0x4>; + + jr@10000 { + compatible = "fsl,sec-v5.3-job-ring", "fsl,sec-v5.0-job-ring", "fsl,sec-v4.0-job-ring"; + reg = <0x10000 0x10000>; + interrupts = <0x0 0x67 0x4>; + }; + + jr@20000 { + compatible = "fsl,sec-v5.3-job-ring", "fsl,sec-v5.0-job-ring", "fsl,sec-v4.0-job-ring"; + reg = <0x20000 0x10000>; + interrupts = <0x0 0x68 0x4>; + }; + + jr@30000 { + compatible = "fsl,sec-v5.3-job-ring", "fsl,sec-v5.0-job-ring", "fsl,sec-v4.0-job-ring"; + reg = <0x30000 0x10000>; + interrupts = <0x0 0x69 0x4>; + }; + + jr@40000 { + compatible = "fsl,sec-v5.3-job-ring", "fsl,sec-v5.0-job-ring", "fsl,sec-v4.0-job-ring"; + reg = <0x40000 0x10000>; + interrupts = <0x0 0x6a 0x4>; + }; + }; + + clocking@1ee1000 { + compatible = "fsl,ls1021a-clockgen"; + reg = <0x0 0x1ee1000 0x0 0x10000>; + #address-cells = <0x1>; + #size-cells = <0x0>; + + sysclk { + compatible = "fixed-clock"; + #clock-cells = <0x0>; + clock-frequency = <0x5f5e100>; + clock-output-names = "sysclk"; + linux,phandle = <0x5>; + phandle = <0x5>; + }; + + pll1@800 { + compatible = "fsl,core-pll-clock"; + #clock-cells = <0x1>; + reg = <0x800>; + clocks = <0x5>; + clock-output-names = "cga-pll1", "cga-pll1-div2", "cga-pll1-div4"; + linux,phandle = <0x6>; + phandle = <0x6>; + }; + + pll@c00 { + compatible = "fsl,core-pll-clock"; + #clock-cells = <0x1>; + reg = <0xc00>; + clocks = <0x5>; + clock-output-names = "platform-clk", "platform-clk-div2"; + linux,phandle = <0x3>; + phandle = <0x3>; + }; + + clk0c0@0 { + compatible = "fsl,core-mux-clock"; + #clock-cells = <0x0>; + reg = <0x0>; + clock-names = "pll1cga", "pll1cga-div2", "pll1cga-div4"; + clocks = <0x6 0x0 0x6 0x1 0x6 0x2>; + clock-output-names = "cluster1-clk"; + linux,phandle = <0x2>; + phandle = <0x2>; + }; + }; + + rcpm@1ee2000 { + compatible = "fsl,ls1021a-rcpm", "fsl,qoriq-rcpm-2.1"; + reg = <0x0 0x1ee2000 0x0 0x10000>; + linux,phandle = <0x4>; + phandle = <0x4>; + }; + + dspi@2100000 { + compatible = "fsl,vf610-dspi"; + #address-cells = <0x1>; + #size-cells = <0x0>; + reg = <0x0 0x2100000 0x0 0x10000>; + interrupts = <0x0 0x60 0x4>; + clock-names = "dspi"; + clocks = <0x3 0x1>; + spi-num-chipselects = <0x5>; + big-endian; + tcfq-mode; + status = "disabled"; + }; + + dspi@2110000 { + compatible = "fsl,vf610-dspi"; + #address-cells = <0x1>; + #size-cells = <0x0>; + reg = <0x0 0x2110000 0x0 0x10000>; + interrupts = <0x0 0x61 0x4>; + clock-names = "dspi"; + clocks = <0x3 0x1>; + spi-num-chipselects = <0x5>; + big-endian; + tcfq-mode; + status = "disabled"; + }; + + i2c@2180000 { + compatible = "fsl,vf610-i2c"; + #address-cells = <0x1>; + #size-cells = <0x0>; + reg = <0x0 0x2180000 0x0 0x10000>; + interrupts = <0x0 0x58 0x4>; + clock-names = "i2c"; + clocks = <0x3 0x1>; + status = "okay"; + + max1239@35 { + compatible = "maxim,max1239"; + reg = <0x35>; + #io-channel-cells = <0x1>; + }; + + sgtl5000@2a { + compatible = "fsl,sgtl5000"; + reg = <0x2a>; + VDDA-supply = <0x7>; + VDDIO-supply = <0x8>; + clocks = <0x9 0x1>; + linux,phandle = <0x14>; + phandle = <0x14>; + }; + + pca9555@23 { + compatible = "nxp,pca9555"; + gpio-controller; + #gpio-cells = <0x2>; + interrupt-controller; + #interrupt-cells = <0x2>; + reg = <0x23>; + }; + + ina220@44 { + compatible = "ti,ina220"; + reg = <0x44>; + shunt-resistor = <0x3e8>; + }; + + ina220@45 { + compatible = "ti,ina220"; + reg = <0x45>; + shunt-resistor = <0x3e8>; + }; + + lm75b@48 { + compatible = "nxp,lm75a"; + reg = <0x48>; + }; + + adt7461a@4c { + compatible = "adt7461a"; + reg = <0x4c>; + }; + + sii9022a@39 { + compatible = "fsl,sii902x"; + reg = <0x39>; + interrupts = <0x0 0xa3 0x1>; + }; + }; + + i2c@2190000 { + compatible = "fsl,vf610-i2c"; + #address-cells = <0x1>; + #size-cells = <0x0>; + reg = <0x0 0x2190000 0x0 0x10000>; + interrupts = <0x0 0x59 0x4>; + clock-names = "i2c"; + clocks = <0x3 0x1>; + status = "disabled"; + }; + + i2c@21a0000 { + compatible = "fsl,vf610-i2c"; + #address-cells = <0x1>; + #size-cells = <0x0>; + reg = <0x0 0x21a0000 0x0 0x10000>; + interrupts = <0x0 0x5a 0x4>; + clock-names = "i2c"; + clocks = <0x3 0x1>; + status = "disabled"; + }; + + serial@21c0500 { + compatible = "fsl,16550-FIFO64"; + reg = <0x0 0x21c0500 0x0 0x100>; + interrupts = <0x0 0x56 0x4>; + clock-frequency = <0x0>; + fifo-size = <0x3f>; + status = "okay"; + }; + + serial@21c0600 { + compatible = "fsl,16550-FIFO64"; + reg = <0x0 0x21c0600 0x0 0x100>; + interrupts = <0x0 0x56 0x4>; + clock-frequency = <0x0>; + fifo-size = <0x3f>; + status = "disabled"; + }; + + serial@21d0500 { + compatible = "fsl,16550-FIFO64"; + reg = <0x0 0x21d0500 0x0 0x100>; + interrupts = <0x0 0x57 0x4>; + clock-frequency = <0x0>; + fifo-size = <0x3f>; + status = "disabled"; + }; + + serial@21d0600 { + compatible = "fsl,16550-FIFO64"; + reg = <0x0 0x21d0600 0x0 0x100>; + interrupts = <0x0 0x57 0x4>; + clock-frequency = <0x0>; + fifo-size = <0x3f>; + status = "disabled"; + }; + + uqe@2400000 { + #address-cells = <0x1>; + #size-cells = <0x1>; + device_type = "qe"; + compatible = "fsl,qe", "simple-bus"; + ranges = <0x0 0x0 0x2400000 0x40000>; + reg = <0x0 0x2400000 0x0 0x480>; + brg-frequency = <0x5f5e100>; + bus-frequency = <0xbebc200>; + fsl,qe-num-riscs = <0x1>; + fsl,qe-num-snums = <0x1c>; + + qeic@80 { + compatible = "fsl,qe-ic"; + reg = <0x80 0x80>; + #address-cells = <0x0>; + interrupt-controller; + #interrupt-cells = <0x1>; + interrupts = <0x0 0x6d 0x4 0x0 0x6d 0x4>; + linux,phandle = <0xa>; + phandle = <0xa>; + }; + + si@700 { + #address-cells = <0x1>; + #size-cells = <0x0>; + compatible = "fsl,qe-si"; + reg = <0x700 0x80>; + }; + + siram@1000 { + #address-cells = <0x1>; + #size-cells = <0x1>; + compatible = "fsl,qe-siram"; + reg = <0x1000 0x800>; + }; + + ucc@2000 { + cell-index = <0x1>; + reg = <0x2000 0x200>; + interrupts = <0x20>; + interrupt-parent = <0xa>; + compatible = "fsl,ucc-tdm"; + rx-clock-name = "brg1"; + tx-clock-name = "brg1"; + fsl,rx-sync-clock = "none"; + fsl,tx-sync-clock = "none"; + fsl,tx-timeslot = <0xfffffffe>; + fsl,rx-timeslot = <0xfffffffe>; + fsl,tdm-framer-type = "e1"; + fsl,tdm-mode = "internel-loopback"; + fsl,tdm-id = <0x0>; + fsl,siram-entry-id = <0x0>; + }; + + ucc@2200 { + cell-index = <0x3>; + reg = <0x2200 0x200>; + interrupts = <0x22>; + interrupt-parent = <0xa>; + device_type = "serial"; + compatible = "ucc_uart"; + port-number = <0x1>; + rx-clock-name = "brg2"; + tx-clock-name = "brg2"; + }; + + muram@10000 { + #address-cells = <0x1>; + #size-cells = <0x1>; + compatible = "fsl,qe-muram", "fsl,cpm-muram"; + ranges = <0x0 0x10000 0x6000>; + + data-only@0 { + compatible = "fsl,qe-muram-data", "fsl,cpm-muram-data"; + reg = <0x0 0x6000>; + }; + }; + }; + + serial@2950000 { + compatible = "fsl,ls1021a-lpuart"; + reg = <0x0 0x2950000 0x0 0x1000>; + interrupts = <0x0 0x50 0x4>; + clocks = <0x5>; + clock-names = "ipg"; + sleep = <0x4 0x0 0x40000000>; + status = "okay"; + }; + + serial@2960000 { + compatible = "fsl,ls1021a-lpuart"; + reg = <0x0 0x2960000 0x0 0x1000>; + interrupts = <0x0 0x51 0x4>; + clocks = <0x3 0x1>; + clock-names = "ipg"; + status = "disabled"; + }; + + serial@2970000 { + compatible = "fsl,ls1021a-lpuart"; + reg = <0x0 0x2970000 0x0 0x1000>; + interrupts = <0x0 0x52 0x4>; + clocks = <0x3 0x1>; + clock-names = "ipg"; + status = "disabled"; + }; + + serial@2980000 { + compatible = "fsl,ls1021a-lpuart"; + reg = <0x0 0x2980000 0x0 0x1000>; + interrupts = <0x0 0x53 0x4>; + clocks = <0x3 0x1>; + clock-names = "ipg"; + status = "disabled"; + }; + + serial@2990000 { + compatible = "fsl,ls1021a-lpuart"; + reg = <0x0 0x2990000 0x0 0x1000>; + interrupts = <0x0 0x54 0x4>; + clocks = <0x3 0x1>; + clock-names = "ipg"; + status = "disabled"; + }; + + serial@29a0000 { + compatible = "fsl,ls1021a-lpuart"; + reg = <0x0 0x29a0000 0x0 0x1000>; + interrupts = <0x0 0x55 0x4>; + clocks = <0x3 0x1>; + clock-names = "ipg"; + status = "disabled"; + }; + + gpio@2300000 { + compatible = "fsl,ls1021a-gpio"; + reg = <0x0 0x2300000 0x0 0x10000>; + interrupts = <0x0 0x62 0x4>; + gpio-controller; + #gpio-cells = <0x2>; + interrupt-controller; + #interrupt-cells = <0x2>; + sleep = <0x4 0x40 0x0>; + }; + + gpio@2310000 { + compatible = "fsl,ls1021a-gpio"; + reg = <0x0 0x2310000 0x0 0x10000>; + interrupts = <0x0 0x63 0x4>; + gpio-controller; + #gpio-cells = <0x2>; + interrupt-controller; + #interrupt-cells = <0x2>; + }; + + gpio@2320000 { + compatible = "fsl,ls1021a-gpio"; + reg = <0x0 0x2320000 0x0 0x10000>; + interrupts = <0x0 0x64 0x4>; + gpio-controller; + #gpio-cells = <0x2>; + interrupt-controller; + #interrupt-cells = <0x2>; + }; + + gpio@2330000 { + compatible = "fsl,ls1021a-gpio"; + reg = <0x0 0x2330000 0x0 0x10000>; + interrupts = <0x0 0xa6 0x4>; + gpio-controller; + #gpio-cells = <0x2>; + interrupt-controller; + #interrupt-cells = <0x2>; + }; + + ftm0@29d0000 { + compatible = "fsl,ftm-alarm"; + reg = <0x0 0x29d0000 0x0 0x10000>; + interrupts = <0x0 0x76 0x4>; + big-endian; + sleep = <0x4 0x0 0x20000000>; + status = "disabled"; + }; + + ftm@2a00000 { + compatible = "fsl,vf610-ftm-pwm"; + #pwm-cells = <0x3>; + reg = <0x0 0x2a00000 0x0 0x10000>; + interrupts = <0x0 0x79 0x4>; + clock-names = "ftm_sys", "ftm_ext", "ftm_fix", "ftm_cnt_clk_en"; + clocks = <0x3 0x1 0x3 0x1 0x3 0x1 0x3 0x1>; + big-endian; + status = "disabled"; + }; + + ftm@2a30000 { + compatible = "fsl,vf610-ftm-pwm"; + #pwm-cells = <0x3>; + reg = <0x0 0x2a30000 0x0 0x10000>; + interrupts = <0x0 0x7b 0x4>; + clock-names = "ftm_sys", "ftm_ext", "ftm_fix", "ftm_cnt_clk_en"; + clocks = <0x3 0x1 0x3 0x1 0x3 0x1 0x3 0x1>; + big-endian; + status = "disabled"; + }; + + ftm@2a40000 { + compatible = "fsl,vf610-ftm-pwm"; + #pwm-cells = <0x3>; + reg = <0x0 0x2a40000 0x0 0x10000>; + interrupts = <0x0 0x7c 0x4>; + clock-names = "ftm_sys", "ftm_ext", "ftm_fix", "ftm_cnt_clk_en"; + clocks = <0x3 0x1 0x3 0x1 0x3 0x1 0x3 0x1>; + big-endian; + status = "disabled"; + }; + + wdog@2ad0000 { + compatible = "fsl,imx21-wdt"; + reg = <0x0 0x2ad0000 0x0 0x10000>; + interrupts = <0x0 0x73 0x4>; + clocks = <0x3 0x1>; + clock-names = "wdog"; + big-endian; + }; + + sai@2b50000 { + compatible = "fsl,vf610-sai"; + reg = <0x0 0x2b50000 0x0 0x10000>; + interrupts = <0x0 0x84 0x4>; + clocks = <0x3 0x1>; + clock-names = "sai"; + dma-names = "tx", "rx"; + dmas = <0xb 0x1 0x2f 0xb 0x1 0x2e>; + status = "disabled"; + }; + + sai@2b60000 { + compatible = "fsl,vf610-sai"; + reg = <0x0 0x2b60000 0x0 0x10000>; + interrupts = <0x0 0x85 0x4>; + clocks = <0x3 0x1>; + clock-names = "sai"; + dma-names = "tx", "rx"; + dmas = <0xb 0x1 0x2d 0xb 0x1 0x2c>; + status = "okay"; + linux,phandle = <0x13>; + phandle = <0x13>; + }; + + edma@2c00000 { + #dma-cells = <0x2>; + compatible = "fsl,vf610-edma"; + reg = <0x0 0x2c00000 0x0 0x10000 0x0 0x2c10000 0x0 0x10000 0x0 0x2c20000 0x0 0x10000>; + interrupts = <0x0 0x87 0x4 0x0 0x87 0x4>; + interrupt-names = "edma-tx", "edma-err"; + dma-channels = <0x20>; + big-endian; + clock-names = "dmamux0", "dmamux1"; + clocks = <0x3 0x1 0x3 0x1>; + linux,phandle = <0xb>; + phandle = <0xb>; + }; + + dcu@2ce0000 { + compatible = "fsl,ls1021a-dcu"; + reg = <0x0 0x2ce0000 0x0 0x10000>; + interrupts = <0x0 0xac 0x4>; + clocks = <0x3 0x0>; + clock-names = "dcu"; + scfg-controller = <0xc>; + big-endian; + status = "okay"; + display = <0xd>; + + display@0 { + bits-per-pixel = <0x18>; + linux,phandle = <0xd>; + phandle = <0xd>; + + display-timings { + native-mode = <0xe>; + + mode0 { + clock-frequency = <0x17d7840>; + hactive = <0x280>; + vactive = <0x1e0>; + hback-porch = <0x50>; + hfront-porch = <0x50>; + vback-porch = <0x10>; + vfront-porch = <0x10>; + hsync-len = <0xc>; + vsync-len = <0x2>; + hsync-active = <0x1>; + vsync-active = <0x1>; + linux,phandle = <0xe>; + phandle = <0xe>; + }; + }; + }; + }; + + mdio@2d24000 { + compatible = "gianfar"; + device_type = "mdio"; + #address-cells = <0x1>; + #size-cells = <0x0>; + reg = <0x0 0x2d24000 0x0 0x4000>; + + ethernet-phy@0 { + reg = <0x0>; + }; + + ethernet-phy@1 { + reg = <0x1>; + interrupts = <0x0 0xa5 0x8>; + linux,phandle = <0x10>; + phandle = <0x10>; + }; + + ethernet-phy@2 { + reg = <0x2>; + linux,phandle = <0x12>; + phandle = <0x12>; + }; + + ethernet-phy@3 { + reg = <0x3>; + interrupts = <0x0 0xa5 0x8>; + linux,phandle = <0x11>; + phandle = <0x11>; + }; + + tbi-phy@1f { + reg = <0x1f>; + device_type = "tbi-phy"; + linux,phandle = <0xf>; + phandle = <0xf>; + }; + }; + + ethernet@2d10000 { + compatible = "fsl,etsec2"; + device_type = "network"; + #address-cells = <0x2>; + #size-cells = <0x2>; + interrupt-parent = <0x1>; + model = "eTSEC"; + fsl,dma-endian-le; + fsl,magic-packet; + fsl,wake-on-filer; + sleep = <0x4 0x80000000 0x0>; + fsl,num_rx_queues = <0x8>; + fsl,num_tx_queues = <0x8>; + local-mac-address = [00 00 00 00 00 00]; + ranges; + tbi-handle = <0xf>; + phy-handle = <0x10>; + phy-connection-type = "sgmii"; + status = "ok"; + + queue-group@2d10000 { + #address-cells = <0x2>; + #size-cells = <0x2>; + reg = <0x0 0x2d10000 0x0 0x1000>; + interrupts = <0x0 0x90 0x4 0x0 0x91 0x4 0x0 0x92 0x4>; + }; + + queue-group@2d14000 { + #address-cells = <0x2>; + #size-cells = <0x2>; + reg = <0x0 0x2d14000 0x0 0x1000>; + interrupts = <0x0 0x93 0x4 0x0 0x94 0x4 0x0 0x95 0x4>; + }; + }; + + ethernet@2d50000 { + compatible = "fsl,etsec2"; + device_type = "network"; + #address-cells = <0x2>; + #size-cells = <0x2>; + interrupt-parent = <0x1>; + model = "eTSEC"; + fsl,dma-endian-le; + fsl,num_rx_queues = <0x8>; + fsl,num_tx_queues = <0x8>; + local-mac-address = [00 00 00 00 00 00]; + ranges; + tbi-handle = <0xf>; + phy-handle = <0x11>; + phy-connection-type = "sgmii"; + status = "ok"; + + queue-group@2d50000 { + #address-cells = <0x2>; + #size-cells = <0x2>; + reg = <0x0 0x2d50000 0x0 0x1000>; + interrupts = <0x0 0x96 0x4 0x0 0x98 0x4 0x0 0x99 0x4>; + }; + + queue-group@2d54000 { + #address-cells = <0x2>; + #size-cells = <0x2>; + reg = <0x0 0x2d54000 0x0 0x1000>; + interrupts = <0x0 0x9a 0x4 0x0 0x9b 0x4 0x0 0x9c 0x4>; + }; + }; + + ethernet@2d90000 { + compatible = "fsl,etsec2"; + device_type = "network"; + #address-cells = <0x2>; + #size-cells = <0x2>; + interrupt-parent = <0x1>; + model = "eTSEC"; + fsl,dma-endian-le; + fsl,num_rx_queues = <0x8>; + fsl,num_tx_queues = <0x8>; + local-mac-address = [00 00 00 00 00 00]; + ranges; + tbi-handle = <0xf>; + phy-handle = <0x12>; + phy-connection-type = "rgmii"; + status = "ok"; + + queue-group@2d90000 { + #address-cells = <0x2>; + #size-cells = <0x2>; + reg = <0x0 0x2d90000 0x0 0x1000>; + interrupts = <0x0 0x9d 0x4 0x0 0x9e 0x4 0x0 0x9f 0x4>; + }; + + queue-group@2d94000 { + #address-cells = <0x2>; + #size-cells = <0x2>; + reg = <0x0 0x2d94000 0x0 0x1000>; + interrupts = <0x0 0xa0 0x4 0x0 0xa1 0x4 0x0 0xa2 0x4>; + }; + }; + + can@2a70000 { + compatible = "fsl,ls1021ar2-flexcan"; + reg = <0x0 0x2a70000 0x0 0x1000>; + interrupts = <0x0 0x7e 0x4>; + clocks = <0x3 0x1 0x3 0x1>; + clock-names = "ipg", "per"; + little-endian; + }; + + can@2a80000 { + compatible = "fsl,ls1021ar2-flexcan"; + reg = <0x0 0x2a80000 0x0 0x1000>; + interrupts = <0x0 0x7f 0x4>; + clocks = <0x3 0x1 0x3 0x1>; + clock-names = "ipg", "per"; + little-endian; + }; + + can@2a90000 { + compatible = "fsl,ls1021ar2-flexcan"; + reg = <0x0 0x2a90000 0x0 0x1000>; + interrupts = <0x0 0x80 0x4>; + clocks = <0x3 0x1 0x3 0x1>; + clock-names = "ipg", "per"; + little-endian; + status = "okay"; + }; + + can@2aa0000 { + compatible = "fsl,ls1021ar2-flexcan"; + reg = <0x0 0x2aa0000 0x0 0x1000>; + interrupts = <0x0 0x81 0x4>; + clocks = <0x3 0x1 0x3 0x1>; + clock-names = "ipg", "per"; + little-endian; + status = "okay"; + }; + + usb@8600000 { + compatible = "fsl-usb2-dr-v2.5", "fsl-usb2-dr"; + reg = <0x0 0x8600000 0x0 0x1000>; + interrupts = <0x0 0xab 0x4>; + dr_mode = "host"; + phy_type = "ulpi"; + }; + + usb3@3100000 { + compatible = "snps,dwc3"; + reg = <0x0 0x3100000 0x0 0x10000>; + interrupts = <0x0 0x5d 0x4>; + dr_mode = "host"; + configure-gfladj; + }; + + pcie@3400000 { + compatible = "fsl,ls1021a-pcie", "snps,dw-pcie"; + reg = <0x0 0x3400000 0x0 0x10000 0x40 0x0 0x0 0x2000>; + reg-names = "regs", "config"; + interrupts = <0x0 0xb1 0x4 0x0 0xb3 0x4 0x0 0xb5 0x4>; + interrupt-names = "intr", "msi", "pme"; + fsl,pcie-scfg = <0xc 0x0>; + num-atus = <0x6>; + #address-cells = <0x3>; + #size-cells = <0x2>; + device_type = "pci"; + num-lanes = <0x4>; + bus-range = <0x0 0xff>; + ranges = <0x81000000 0x0 0x0 0x40 0x10000 0x0 0x10000 0x82000000 0x0 0x40000000 0x40 0x40000000 0x0 0x40000000>; + #interrupt-cells = <0x1>; + interrupt-map-mask = <0x0 0x0 0x0 0x7>; + interrupt-map = <0x0 0x0 0x0 0x1 0x1 0x0 0x5b 0x4 0x0 0x0 0x0 0x2 0x1 0x0 0xbc 0x4 0x0 0x0 0x0 0x3 0x1 0x0 0xbe 0x4 0x0 0x0 0x0 0x4 0x1 0x0 0xc0 0x4>; + }; + + pcie@3500000 { + compatible = "fsl,ls1021a-pcie", "snps,dw-pcie"; + reg = <0x0 0x3500000 0x0 0x10000 0x48 0x0 0x0 0x2000>; + reg-names = "regs", "config"; + interrupts = <0x0 0xb2 0x4 0x0 0xb4 0x4 0x0 0xb6 0x4>; + interrupt-names = "intr", "msi", "pme"; + fsl,pcie-scfg = <0xc 0x1>; + num-atus = <0x6>; + #address-cells = <0x3>; + #size-cells = <0x2>; + device_type = "pci"; + num-lanes = <0x2>; + bus-range = <0x0 0xff>; + ranges = <0x81000000 0x0 0x0 0x48 0x10000 0x0 0x10000 0x82000000 0x0 0x40000000 0x48 0x40000000 0x0 0x40000000>; + #interrupt-cells = <0x1>; + interrupt-map-mask = <0x0 0x0 0x0 0x7>; + interrupt-map = <0x0 0x0 0x0 0x1 0x1 0x0 0x5c 0x4 0x0 0x0 0x0 0x2 0x1 0x0 0xbd 0x4 0x0 0x0 0x0 0x3 0x1 0x0 0xbf 0x4 0x0 0x0 0x0 0x4 0x1 0x0 0xc1 0x4>; + }; + }; + + dcsr { + #address-cells = <0x1>; + #size-cells = <0x1>; + compatible = "fsl,dcsr", "simple-bus"; + ranges = <0x0 0x0 0x20000000 0x1000000>; + + dcsr-epu@0 { + compatible = "fsl,ls1021a-dcsr-epu"; + reg = <0x0 0x10000>; + }; + + dcsr-gdi@100000 { + compatible = "fsl,ls1021a-dcsr-gdi"; + reg = <0x100000 0x10000>; + }; + + dcsr-dddi@120000 { + compatible = "fsl,ls1021a-dcsr-dddi"; + reg = <0x120000 0x10000>; + }; + + dcsr-dcfg@220000 { + compatible = "fsl,ls1021a-dcsr-dcfg"; + reg = <0x220000 0x1000>; + }; + + dcsr-clock@221000 { + compatible = "fsl,ls1021a-dcsr-clock"; + reg = <0x221000 0x1000>; + }; + + dcsr-rcpm@222000 { + compatible = "fsl,ls1021a-dcsr-rcpm"; + reg = <0x222000 0x1000 0x223000 0x1000>; + }; + + dcsr-ccp@225000 { + compatible = "fsl,ls1021a-dcsr-ccp"; + reg = <0x225000 0x1000>; + }; + + dcsr-fusectrl@226000 { + compatible = "fsl,ls1021a-dcsr-fusectrl"; + reg = <0x226000 0x1000>; + }; + + dcsr-dap@300000 { + compatible = "fsl,ls1021a-dcsr-dap"; + reg = <0x300000 0x10000>; + }; + + dcsr-cstf@350000 { + compatible = "fsl,ls1021a-dcsr-cstf"; + reg = <0x350000 0x1000 0x3a7000 0x1000>; + }; + + dcsr-a7rom@360000 { + compatible = "fsl,ls1021a-dcsr-a7rom"; + reg = <0x360000 0x10000>; + }; + + dcsr-a7cpu@370000 { + compatible = "fsl,ls1021a-dcsr-a7cpu"; + reg = <0x370000 0x8000>; + }; + + dcsr-a7cti@378000 { + compatible = "fsl,ls1021a-dcsr-a7cti"; + reg = <0x378000 0x4000>; + }; + + dcsr-etm@37c000 { + compatible = "fsl,ls1021a-dcsr-etm"; + reg = <0x37c000 0x1000 0x37d000 0x3000>; + }; + + dcsr-hugorom@3a0000 { + compatible = "fsl,ls1021a-dcsr-hugorom"; + reg = <0x3a0000 0x1000>; + }; + + dcsr-etf@3a1000 { + compatible = "fsl,ls1021a-dcsr-etf"; + reg = <0x3a1000 0x1000 0x3a2000 0x1000>; + }; + + dcsr-etr@3a3000 { + compatible = "fsl,ls1021a-dcsr-etr"; + reg = <0x3a3000 0x1000>; + }; + + dcsr-cti@3a4000 { + compatible = "fsl,ls1021a-dcsr-cti"; + reg = <0x3a4000 0x1000 0x3a5000 0x1000 0x3a6000 0x1000>; + }; + + dcsr-atbrepl@3a8000 { + compatible = "fsl,ls1021a-dcsr-atbrepl"; + reg = <0x3a8000 0x1000>; + }; + + dcsr-tsgen-ctrl@3a9000 { + compatible = "fsl,ls1021a-dcsr-tsgen-ctrl"; + reg = <0x3a9000 0x1000>; + }; + + dcsr-tsgen-read@3aa000 { + compatible = "fsl,ls1021a-dcsr-tsgen-read"; + reg = <0x3aa000 0x1000>; + }; + }; + + clocks { + + clock { + compatible = "fixed-clock"; + #clock-cells = <0x0>; + clock-frequency = <0x1770000>; + linux,phandle = <0x9>; + phandle = <0x9>; + }; + }; + + regulators { + compatible = "simple-bus"; + #address-cells = <0x1>; + #size-cells = <0x0>; + + regulator@0 { + compatible = "regulator-fixed"; + reg = <0x0>; + regulator-name = "3P3V"; + regulator-min-microvolt = <0x325aa0>; + regulator-max-microvolt = <0x325aa0>; + regulator-always-on; + linux,phandle = <0x7>; + phandle = <0x7>; + }; + + regulator@1 { + compatible = "regulator-fixed"; + reg = <0x1>; + regulator-name = "2P5V"; + regulator-min-microvolt = <0x2625a0>; + regulator-max-microvolt = <0x2625a0>; + regulator-always-on; + linux,phandle = <0x8>; + phandle = <0x8>; + }; + }; + + sound { + compatible = "fsl,vf610-sgtl5000"; + simple-audio-card,name = "FSL-VF610-TWR-BOARD"; + simple-audio-card,routing = "MIC_IN", "Microphone Jack", "Microphone Jack", "Mic Bias", "LINE_IN", "Line In Jack", "Headphone Jack", "HP_OUT", "Speaker Ext", "LINE_OUT"; + simple-audio-card,cpu = <0x13>; + simple-audio-card,codec = <0x14>; + }; +}; diff --git a/recipes-kernel/linux/linux-ls1_3.12.bbappend b/recipes-kernel/linux/linux-ls1_3.12.bbappend index 4edb566..f34b2d1 100644 --- a/recipes-kernel/linux/linux-ls1_3.12.bbappend +++ b/recipes-kernel/linux/linux-ls1_3.12.bbappend @@ -1,11 +1,11 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" -SRC_URI += "file://ls1021a-iot.dts \ +SRC_URI += "file://ls1021aiot.dts \ " # fix err: "linux-ls1-3.12-r0 do_deploy: Taskhash mismatch" ZIMAGE_BASE_NAME[vardepsexclude] = "DATETIME" do_configure_prepend() { - cp -rf ${WORKDIR}/ls1021a-iot.dts ${S}/arch/arm/boot/dts/ls1021a-iot.dts + cp -rf ${WORKDIR}/ls1021aiot.dts ${S}/arch/arm/boot/dts/ls1021aiot.dts } -- cgit v1.2.3-54-g00ecf