diff options
author | John Crispin <john@openwrt.org> | 2016-04-20 17:19:05 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2016-04-20 17:19:05 +0000 |
commit | 890eb0c126f21620ddf81ceff5a2480395b8651b (patch) | |
tree | 2da0fef92e15f6f7979cf7b53cc93e4cc4674cf3 /target/linux/ramips/dts | |
parent | 4a5158bd2a733a2967d6967701e0e97eed80dfda (diff) | |
download | mtk-20170518-890eb0c126f21620ddf81ceff5a2480395b8651b.zip mtk-20170518-890eb0c126f21620ddf81ceff5a2480395b8651b.tar.gz mtk-20170518-890eb0c126f21620ddf81ceff5a2480395b8651b.tar.bz2 |
ramips: fix support Planex MZK-750DHP.
fix script for Planex MZK-750DHP.
modification of the GPIO definition.
add Profile.
Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com>
SVN-Revision: 49205
Diffstat (limited to 'target/linux/ramips/dts')
-rw-r--r-- | target/linux/ramips/dts/MZK-750DHP.dts | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/target/linux/ramips/dts/MZK-750DHP.dts b/target/linux/ramips/dts/MZK-750DHP.dts index df0b73b..5947a54 100644 --- a/target/linux/ramips/dts/MZK-750DHP.dts +++ b/target/linux/ramips/dts/MZK-750DHP.dts @@ -11,6 +11,10 @@ status = "okay"; }; + gpio2: gpio@660 { + status = "okay"; + }; + spi@b00 { status = "okay"; @@ -51,7 +55,7 @@ pinctrl { state_default: pinctrl0 { gpio { - ralink,group = "i2c", "spi refclk", "rgmii1"; + ralink,group = "i2c", "spi refclk", "rgmii1", "nd_sd"; ralink,function = "gpio"; }; }; @@ -74,6 +78,15 @@ pcie@10140000 { status = "okay"; + + pcie-bridge { + mt76@0,0 { + reg = <0x0000 0 0 0 0>; + device_type = "pci"; + mediatek,mtd-eeprom = <&factory 0x8000>; + mediatek,2ghz = <0>; + }; + }; }; gpio-leds { @@ -81,13 +94,18 @@ wps { label = "mzk-750dhp:green:wps"; - gpios = <&gpio1 11 1>; + gpios = <&gpio2 15 1>; }; power { label = "mzk-750dhp:green:power"; gpios = <&gpio1 15 1>; }; + + wlan5g { + label = "mzk-750dhp:green:wlan5g"; + gpios = <&gpio1 14 1>; + }; }; gpio-keys-polled { @@ -99,12 +117,12 @@ s1 { label = "reset"; gpios = <&gpio0 1 1>; - linux,code = <0x100>; + linux,code = <0x198>; }; s2 { label = "wps"; - gpios = <&gpio0 2 1>; + gpios = <&gpio2 19 1>; linux,code = <0x211>; }; }; |