diff options
author | Dominik Menke <dom@digineo.de> | 2016-11-15 12:36:09 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2016-11-17 06:39:52 +0100 |
commit | 6e3d7897f75e77ccbee6fde318b88a826920f3b6 (patch) | |
tree | d8cc70557205b9bcbe8a10da7eb0393c7447ef59 /target/linux/ramips | |
parent | efbb654f6cd83358fcc7d5b9f0fac71630fb4d71 (diff) | |
download | upstream-6e3d7897f75e77ccbee6fde318b88a826920f3b6.tar.gz upstream-6e3d7897f75e77ccbee6fde318b88a826920f3b6.tar.bz2 upstream-6e3d7897f75e77ccbee6fde318b88a826920f3b6.zip |
ramips: cleanup ZBT-WG3526.dtsi
- replace magic numbers with GPIO_* constants
- replace generic PCI definitions with correct vendor and
device identification
Signed-off-by: Dominik Menke <dom@digineo.de>
Diffstat (limited to 'target/linux/ramips')
-rw-r--r-- | target/linux/ramips/dts/ZBT-WG3526.dtsi | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/ramips/dts/ZBT-WG3526.dtsi b/target/linux/ramips/dts/ZBT-WG3526.dtsi index 6e82d25398..1a4b9d6d21 100644 --- a/target/linux/ramips/dts/ZBT-WG3526.dtsi +++ b/target/linux/ramips/dts/ZBT-WG3526.dtsi @@ -1,5 +1,6 @@ #include "mt7621.dtsi" +#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/input/input.h> / { @@ -26,7 +27,7 @@ reset { label = "reset"; - gpios = <&gpio0 18 1>; + gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; linux,code = <KEY_RESTART>; }; }; @@ -52,7 +53,6 @@ #size-cells = <1>; compatible = "jedec,spi-nor"; reg = <0>; - linux,modalias = "m25p80"; spi-max-frequency = <10000000>; partition@0 { @@ -83,18 +83,18 @@ status = "okay"; pcie0 { - mt76@0,0 { + wifi@14c3,7603 { + compatible = "pci14c3,7603"; reg = <0x0000 0 0 0 0>; - device_type = "pci"; mediatek,mtd-eeprom = <&factory 0x0000>; mediatek,5ghz = <0>; }; }; pcie1 { - mt76@1,0 { + wifi@14c3,7662 { + compatible = "pci14c3,7662"; reg = <0x0000 0 0 0 0>; - device_type = "pci"; mediatek,mtd-eeprom = <&factory 0x8000>; mediatek,2ghz = <0>; }; |