/dts-v1/;
-/include/ "vr9.dtsi"
+#include "vr9.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "FRITZ7360SL - 1&1 HomeServer";
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+ };
- leds {
- boot = &power_green;
- failsafe = &power_red;
- running = &power_green;
+ aliases {
+ led-boot = &power_green;
+ led-failsafe = &power_red;
+ led-running = &power_green;
- internet = &info_green;
- dsl = &power_green;
- wifi = &wifi;
- };
+ led-internet = &info_green;
+ led-dsl = &power_green;
+ led-wifi = &wifi;
};
memory@0 {
};
};
- ath9k_eep {
- compatible = "ath9k,eeprom";
- ath,eep-flash = <&urlader 0x985>;
- ath,eep-endian;
- ath,eep-swap;
- ath,pci-slot = <0>;
- };
-
gphy-xrx200 {
compatible = "lantiq,phy-xrx200";
firmware = "lantiq/vr9_phy11g_a2x.bin";
#size-cells = <0>;
poll-interval = <100>;
dect {
- label = "power";
- gpios = <&gpio 1 0>;
- linux,code = <0x102>;
+ label = "dect";
+ gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
+ linux,code = <KEY_PHONE>;
};
wifi {
label = "wifi";
- gpios = <&gpio 29 0>;
- linux,code = <0x101>;
+ gpios = <&gpio 29 GPIO_ACTIVE_HIGH>;
+ linux,code = <KEY_WLAN>;
};
};
power_green: power {
label = "fritz7360sl:green:power";
- gpios = <&gpio 32 1>;
+ gpios = <&gpio 32 GPIO_ACTIVE_LOW>;
default-state = "keep";
};
power_red: power2 {
label = "fritz7360sl:red:power";
- gpios = <&gpio 33 1>;
+ gpios = <&gpio 33 GPIO_ACTIVE_LOW>;
};
info_red {
label = "fritz7360sl:red:info";
- gpios = <&gpio 34 1>;
+ gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
};
info_green: info_green {
label = "fritz7360sl:green:info";
- gpios = <&gpio 47 1>;
+ gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
};
wifi: wifi {
label = "fritz7360sl:green:wlan";
- gpios = <&gpio 36 1>;
+ gpios = <&gpio 36 GPIO_ACTIVE_LOW>;
};
dect {
label = "fritz7360sl:green:dect";
- gpios = <&gpio 35 1>;
+ gpios = <&gpio 35 GPIO_ACTIVE_LOW>;
};
};
};
reg = <0>;
phy-mode = "rmii";
phy-handle = <&phy0>;
- // gpios = <&gpio 37 1>;
+ // gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
};
ethernet@1 {
compatible = "lantiq,xrx200-pdi-port";
reg = <1>;
phy-mode = "rmii";
phy-handle = <&phy1>;
- // gpios = <&gpio 44 1>;
+ // gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
};
ethernet@2 {
compatible = "lantiq,xrx200-pdi-port";
};
};
};
+
+&pcie0 {
+ pcie@0 {
+ reg = <0 0 0 0 0>;
+ #interrupt-cells = <1>;
+ #size-cells = <2>;
+ #address-cells = <3>;
+ device_type = "pci";
+
+ wifi@168c,002e {
+ compatible = "pci168c,002e";
+ reg = <0 0 0 0 0>;
+ qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:01:00.0.bin */
+ };
+ };
+};