diff options
author | John Crispin <john@openwrt.org> | 2014-08-03 11:13:52 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-08-03 11:13:52 +0000 |
commit | 04e4ff282ad359485afe34deb658f36ffb34c16f (patch) | |
tree | 44531b4cdef2083cb397c53fe24ba3a0d1834766 /target/linux/ramips/dts/Y1.dtsi | |
parent | 44cb68c038ccef470e346c6fd9d0919a82fe68d9 (diff) | |
download | upstream-04e4ff282ad359485afe34deb658f36ffb34c16f.tar.gz upstream-04e4ff282ad359485afe34deb658f36ffb34c16f.tar.bz2 upstream-04e4ff282ad359485afe34deb658f36ffb34c16f.zip |
ramips:support Lenovo AC1200 Wireless router
Lenovo AC1200 series has two types, Y1 and Y1S.
Y1S has 256MB DDR2, Y1 only has 128MB and Y1 have no Giga Port.
Signed-off-by: Lintel <lintel.huang@gmail.com>
SVN-Revision: 41961
Diffstat (limited to 'target/linux/ramips/dts/Y1.dtsi')
-rw-r--r-- | target/linux/ramips/dts/Y1.dtsi | 105 |
1 files changed, 105 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/Y1.dtsi b/target/linux/ramips/dts/Y1.dtsi new file mode 100644 index 0000000000..06db2bb362 --- /dev/null +++ b/target/linux/ramips/dts/Y1.dtsi @@ -0,0 +1,105 @@ +/include/ "mt7620a.dtsi" + +/ { + chosen { + bootargs = "console=ttyS0,115200"; + }; + + palmbus@10000000 { + sysc@0 { + ralink,gpiomux = "i2c", "jtag"; + ralink,uartmux = "gpio"; + ralink,wdtmux = <1>; + }; + + gpio0: gpio@600 { + status = "okay"; + }; + + gpio2: gpio@660 { + status = "okay"; + }; + + gpio3: gpio@688 { + status = "okay"; + }; + + + spi@b00 { + status = "okay"; + + m25p80@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "w25q128"; + reg = <0 0>; + linux,modalias = "m25p80", "w25q128"; + spi-max-frequency = <10000000>; + + partition@0 { + label = "u-boot"; + reg = <0x0 0x30000>; + read-only; + }; + + partition@30000 { + label = "u-boot-env"; + reg = <0x30000 0x10000>; + read-only; + }; + + factory: partition@40000 { + label = "factory"; + reg = <0x40000 0x10000>; + read-only; + }; + + partition@50000 { + label = "firmware"; + reg = <0x50000 0xfb0000>; + }; + }; + }; + }; + + ehci@101c0000 { + status = "okay"; + }; + + ohci@101c1000 { + status = "okay"; + }; + + pcie@10140000 { + status = "okay"; + }; + + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + + pinctrl { + state_default: pinctrl0 { + gpio { + ralink,group = "uartf", "wled", "nd_sd"; + ralink,function = "gpio"; + }; + pa { + ralink,group = "pa"; + ralink,function = "pa"; + }; + }; + }; + + gpio-keys-polled { + compatible = "gpio-keys-polled"; + #address-cells = <1>; + #size-cells = <0>; + poll-interval = <20>; + reset { + label = "reset"; + gpios = <&gpio0 11 1>; + linux,code = <0x198>; + }; + }; +}; |