diff options
author | John Crispin <blogic@openwrt.org> | 2015-01-17 07:07:06 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-01-17 07:07:06 +0000 |
commit | f35322bbae5a986a97ae08b229697cbeb8f17192 (patch) | |
tree | 89d00462b4f776f981df331072bdeaf4e1e56d94 /target/linux/lantiq/dts/P2812HNUF3.dts | |
parent | 747f222b8a6237c688c0b0726d3cb83c6dc9d2c7 (diff) | |
download | master-187ad058-f35322bbae5a986a97ae08b229697cbeb8f17192.tar.gz master-187ad058-f35322bbae5a986a97ae08b229697cbeb8f17192.tar.bz2 master-187ad058-f35322bbae5a986a97ae08b229697cbeb8f17192.zip |
lantiq: Add device tree for P2812HNUF1 and P2812HNUF3
Add device tree for P2812HNUF1 and P2812HNUF3.
Signed-off-by: Sylwester Petela <sscapi@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43986 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/dts/P2812HNUF3.dts')
-rw-r--r-- | target/linux/lantiq/dts/P2812HNUF3.dts | 109 |
1 files changed, 109 insertions, 0 deletions
diff --git a/target/linux/lantiq/dts/P2812HNUF3.dts b/target/linux/lantiq/dts/P2812HNUF3.dts new file mode 100644 index 0000000000..5d25c3c4cb --- /dev/null +++ b/target/linux/lantiq/dts/P2812HNUF3.dts @@ -0,0 +1,109 @@ +/dts-v1/; + +/include/ "P2812HNUFX.dtsi" + +/ { + model = "P2812HNUF3 - ZyXEL P-2812HNU-F3"; + + fpi@10000000 { + localbus@0 { + nor-boot@0 { + compatible = "lantiq,nor"; + bank-width = <2>; + reg = <0 0x0 0x800000>; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "uboot"; + reg = <0x0 0x50000>; + read-only; + }; + partition@50000 { + label = "uboot-env"; + reg = <0x50000 0x10000>; + }; + partition@60000 { + label = "unused"; + reg = <0x60000 0x7a0000>; + }; + }; + + nand-parts@0 { + compatible = "gen_nand", "lantiq,nand-xway"; + lantiq,cs = <1>; + bank-width = <2>; + reg = <1 0x0 0x2000000>; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "kernel"; + reg = <0x0 0x200000>; + }; + partition@200000 { + label = "ubi"; + reg = <0x200000 0x7e00000>; + }; + }; + }; + }; + + ralink_eep { + compatible = "ralink,eeprom"; + ralink,eeprom = "RT3092.eeprom"; + }; + + gpio-leds { + compatible = "gpio-leds"; + + internet2 { + label = "internet2"; + gpios = <&stp 16 1>; + }; + internet { + label = "internet"; + gpios = <&stp 17 1>; + }; + dsl { + label = "dsl"; + gpios = <&stp 18 1>; + }; + dsl2 { + label = "dsl2"; + gpios = <&stp 19 1>; + }; + wireless_red { + label = "wireless_red"; + gpios = <&stp 20 1>; + }; + wireless_green { + label = "wireless_green"; + gpios = <&stp 21 1>; + }; + power2 { + label = "power2"; + gpios = <&stp 22 1>; + }; + power { + label = "power"; + gpios = <&stp 23 1>; + }; + phone1 { + label = "phone1"; + gpios = <&gpio 11 1>; + }; + phone1warn { + label = "phone1warn"; + gpios = <&gpio 12 1>; + }; + phone2 { + label = "phone2"; + gpios = <&gpio 28 1>; + }; + phone2warn { + label = "phone2warn"; + gpios = <&gpio 26 1>; + }; + }; +}; |