diff options
author | John Crispin <john@openwrt.org> | 2015-02-09 12:13:25 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-02-09 12:13:25 +0000 |
commit | 826b461427fa2abe634e652a05dfc86fc8a6c609 (patch) | |
tree | 3df60f7e8fb951cd8e5b2a3d19c626d5a611b950 /target/linux/lantiq/dts | |
parent | 64f9626963cf3abf7550df706e42973f4c0221f4 (diff) | |
download | mtk-20170518-826b461427fa2abe634e652a05dfc86fc8a6c609.zip mtk-20170518-826b461427fa2abe634e652a05dfc86fc8a6c609.tar.gz mtk-20170518-826b461427fa2abe634e652a05dfc86fc8a6c609.tar.bz2 |
lantiq: add 3.18 support
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44348
Diffstat (limited to 'target/linux/lantiq/dts')
-rw-r--r-- | target/linux/lantiq/dts/EASY98000NOR.dts | 65 | ||||
-rw-r--r-- | target/linux/lantiq/dts/EASY98000SFLASH.dts | 74 | ||||
-rw-r--r-- | target/linux/lantiq/dts/ar9.dtsi | 4 | ||||
-rw-r--r-- | target/linux/lantiq/dts/danube.dtsi | 4 | ||||
-rw-r--r-- | target/linux/lantiq/dts/falcon.dtsi | 201 | ||||
-rw-r--r-- | target/linux/lantiq/dts/vr9.dtsi | 4 |
6 files changed, 12 insertions, 340 deletions
diff --git a/target/linux/lantiq/dts/EASY98000NOR.dts b/target/linux/lantiq/dts/EASY98000NOR.dts deleted file mode 100644 index 76de978..0000000 --- a/target/linux/lantiq/dts/EASY98000NOR.dts +++ /dev/null @@ -1,65 +0,0 @@ -/dts-v1/; - -/include/ "falcon.dtsi" - -/ { - model = "EASY98000 - Lantiq Falcon (NOR)"; - - chosen { - bootargs = "console=ttyLTQ0,115200 init=/etc/preinit"; - }; - - memory@0 { - reg = <0x0 0x2000000>; - }; - - localbus@10000000 { - cfi@0 { - compatible = "lantiq,nor"; - bank-width = <2>; - reg = <0x0 0x4000000>; - #address-cells = <1>; - #size-cells = <1>; - - partition@0 { - label = "uboot"; - reg = <0x00000 0x40000>; - }; - - partition@10000 { - label = "uboot_env"; - reg = <0x40000 0x40000>; - }; - - partition@20000 { - label = "firmware"; - reg = <0x80000 0x3d0000>; - }; - }; - }; - - pinmux0 { - compatible = "lantiq,pinctrl-falcon"; - pinctrl-names = "default"; - pinctrl-0 = <&state_default>; - - state_default: pinmux { - asc0 { - lantiq,groups = "asc0"; - lantiq,function = "asc"; - }; - ntr { - lantiq,groups = "ntr8k"; - lantiq,function = "ntr"; - }; - i2c { - lantiq,groups = "i2c"; - lantiq,function = "i2c"; - }; - hrst { - lantiq,groups = "hrst"; - lantiq,function = "rst"; - }; - }; - }; -}; diff --git a/target/linux/lantiq/dts/EASY98000SFLASH.dts b/target/linux/lantiq/dts/EASY98000SFLASH.dts deleted file mode 100644 index 695aad2..0000000 --- a/target/linux/lantiq/dts/EASY98000SFLASH.dts +++ /dev/null @@ -1,74 +0,0 @@ -/dts-v1/; - -/include/ "falcon.dtsi" - -/ { - model = "EASY98000 - Lantiq Falcon (SFLASH)"; - - chosen { - bootargs = "console=ttyLTQ0,115200 init=/etc/preinit"; - }; - - memory@0 { - reg = <0x0 0x2000000>; - }; - - localbus@10000000 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "lantiq,sflash-falcon", "simple-bus"; - busnum = <0>; - - m25p80@0 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "s25fl129p0"; - reg = <0 0>; - linux,modalias = "m25p80", "s25fl129p0"; - spi-max-frequency = <10000000>; - - partition@0 { - reg = <0x0 0x00080000>; - label = "SPI (RO) U-Boot Image"; - read-only; - }; - - partition@80000 { - reg = <0x00080000 0x00080000>; - label = "SPI (RO) DTB Image"; - read-only; - }; - - partition@100000 { - reg = <0x00100000 0x00400000>; - label = "SPI (RO) Linux Kernel Image"; - read-only; - }; - }; - }; - - pinmux0 { - compatible = "lantiq,pinctrl-falcon"; - pinctrl-names = "default"; - pinctrl-0 = <&state_default>; - - state_default: pinmux { - asc0 { - lantiq,groups = "asc0"; - lantiq,function = "asc"; - }; - ntr { - lantiq,groups = "ntr8k"; - lantiq,function = "ntr"; - }; - i2c { - lantiq,groups = "i2c"; - lantiq,function = "i2c"; - }; - hrst { - lantiq,groups = "hrst"; - lantiq,function = "rst"; - }; - }; - }; -}; diff --git a/target/linux/lantiq/dts/ar9.dtsi b/target/linux/lantiq/dts/ar9.dtsi index ba37f13..cc65fd1 100644 --- a/target/linux/lantiq/dts/ar9.dtsi +++ b/target/linux/lantiq/dts/ar9.dtsi @@ -9,6 +9,10 @@ }; }; + memory@0 { + device_type = "memory"; + }; + biu@1F800000 { #address-cells = <1>; #size-cells = <1>; diff --git a/target/linux/lantiq/dts/danube.dtsi b/target/linux/lantiq/dts/danube.dtsi index 68bd349..698196d 100644 --- a/target/linux/lantiq/dts/danube.dtsi +++ b/target/linux/lantiq/dts/danube.dtsi @@ -13,6 +13,10 @@ }; }; + memory@0 { + device_type = "memory"; + }; + biu@1F800000 { #address-cells = <1>; #size-cells = <1>; diff --git a/target/linux/lantiq/dts/falcon.dtsi b/target/linux/lantiq/dts/falcon.dtsi deleted file mode 100644 index bb5d68d..0000000 --- a/target/linux/lantiq/dts/falcon.dtsi +++ /dev/null @@ -1,201 +0,0 @@ -/ { - #address-cells = <1>; - #size-cells = <1>; - compatible = "lantiq,falcon"; - - cpus { - cpu@0 { - compatible = "mips,mips34kc"; - }; - }; - - localbus@10000000 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "lantiq,localbus", "simple-bus"; - reg = <0x10000000 0xC000000>; - ranges = <0x0 0x10000000 0xC000000>; - }; - - ebu@18000000 { - compatible = "lantiq,ebu-falcon"; - reg = <0x18000000 0x100>; - }; - - sbs2@1D000000 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "lantiq,sysb2", "simple-bus"; - reg = <0x1D000000 0x1000000>; - ranges = <0x0 0x1D000000 0x1000000>; - - sysgpe@700000 { - compatible = "lantiq,sysgpe-falcon"; - reg = <0x700000 0x100>; - }; - - gpio0: gpio@810000 { - #gpio-cells = <2>; - compatible = "lantiq,gpio-falcon"; - gpio-controller; - interrupt-parent = <&icu0>; - interrupts = <44>; - reg = <0x810000 0x80>; - lantiq,bank = <0>; - }; - - gpio2: gpio@810100 { - #gpio-cells = <2>; - compatible = "lantiq,gpio-falcon"; - gpio-controller; - interrupt-parent = <&icu0>; - interrupts = <46>; - reg = <0x810100 0x80>; - lantiq,bank = <2>; - }; - - syseth@B00000 { - compatible = "lantiq,syseth-falcon"; - reg = <0xB00000 0x100>; - }; - - pad@B01000 { - compatible = "lantiq,pad-falcon"; - reg = <0xB01000 0x100>; - lantiq,bank = <0>; - }; - - pad@B02000 { - compatible = "lantiq,pad-falcon"; - reg = <0xB02000 0x100>; - lantiq,bank = <2>; - }; - }; - - fpi@1E000000 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "lantiq,fpi", "simple-bus"; - reg = <0x1E000000 0x1000000>; - ranges = <0x0 0x1E000000 0x1000000>; - - serial@100B00 { - status = "disabled"; - compatible = "lantiq,asc"; - reg = <0x100B00 0x100>; - interrupt-parent = <&icu0>; - interrupts = <104 105 106>; - line = <1>; - }; - - serial@100C00 { - compatible = "lantiq,asc"; - reg = <0x100C00 0x100>; - interrupt-parent = <&icu0>; - interrupts = <104 105 106>; - line = <0>; - }; - - i2c@200000 { - compatible = "lantiq,lantiq-i2c"; - reg = <0x200000 0x10000>; - interrupt-parent = <&icu0>; - interrupts = <18 19 20 21>; - gpios = <&gpio1 7 0 &gpio1 8 0>; - }; - - gpio1: gpio@800100 { - #gpio-cells = <2>; - compatible = "lantiq,gpio-falcon"; - gpio-controller; - interrupt-parent = <&icu0>; - interrupts = <45>; - reg = <0x800100 0x100>; - lantiq,bank = <1>; - }; - - gpio3: gpio@800200 { - status = "disabled"; - #gpio-cells = <2>; - compatible = "lantiq,gpio-falcon"; - gpio-controller; - interrupt-parent = <&icu0>; - interrupts = <47>; - reg = <0x800200 0x100>; - lantiq,bank = <3>; - }; - - gpio4: gpio@800300 { - status = "disabled"; - #gpio-cells = <2>; - compatible = "lantiq,gpio-falcon"; - gpio-controller; - interrupt-parent = <&icu0>; - interrupts = <48>; - reg = <0x800300 0x100>; - lantiq,bank = <4>; - }; - - pad@800400 { - compatible = "lantiq,pad-falcon"; - reg = <0x800400 0x100>; - lantiq,bank = <1>; - }; - - pad@800500 { - status = "disabled"; - compatible = "lantiq,pad-falcon"; - reg = <0x800500 0x100>; - bank = <3>; - }; - - pad4@800600 { - status = "disabled"; - compatible = "lantiq,pad-falcon"; - reg = <0x800600 0x100>; - bank = <4>; - }; - - status@802000 { - compatible = "lantiq,status-falcon"; - reg = <0x802000 0x80>; - }; - - sys1@F00000 { - compatible = "lantiq,sys1-falcon"; - reg = <0xF00000 0x100>; - }; - }; - - sbs0@1F000000 { - - }; - - sbs1@1F700000 { - - }; - - biu@1F800000 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "lantiq,falcon"; - reg = <0x1F800000 0x800000>; - ranges = <0x0 0x1F800000 0x7FFFFF>; - - icu0: icu@80200 { - #interrupt-cells = <1>; - interrupt-controller; - compatible = "lantiq,icu"; - reg = <0x80200 0x28 - 0x80228 0x28 - 0x80250 0x28 - 0x80278 0x28 - 0x802a0 0x28>; - }; - - watchdog@803F0 { - compatible = "lantiq,wdt"; - reg = <0x803F0 0x10>; - }; - }; -}; diff --git a/target/linux/lantiq/dts/vr9.dtsi b/target/linux/lantiq/dts/vr9.dtsi index 061395e..542020a 100644 --- a/target/linux/lantiq/dts/vr9.dtsi +++ b/target/linux/lantiq/dts/vr9.dtsi @@ -9,6 +9,10 @@ }; }; + memory@0 { + device_type = "memory"; + }; + biu@1F800000 { #address-cells = <1>; #size-cells = <1>; |