- replace magic numbers with GPIO_* constants
- replace generic PCI definitions with correct vendor and
device identification
Signed-off-by: Dominik Menke <dom@digineo.de>
+#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
/ {
#include <dt-bindings/input/input.h>
/ {
+ gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
};
linux,code = <KEY_RESTART>;
};
};
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
- linux,modalias = "m25p80";
spi-max-frequency = <10000000>;
partition@0 {
spi-max-frequency = <10000000>;
partition@0 {
+ wifi@14c3,7603 {
+ compatible = "pci14c3,7603";
mediatek,mtd-eeprom = <&factory 0x0000>;
mediatek,5ghz = <0>;
};
};
pcie1 {
mediatek,mtd-eeprom = <&factory 0x0000>;
mediatek,5ghz = <0>;
};
};
pcie1 {
+ wifi@14c3,7662 {
+ compatible = "pci14c3,7662";
mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>;
};
mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>;
};