#address-cells = <1>;
#size-cells = <0>;
- gpio-sck = <&gpio 20 GPIO_ACTIVE_HIGH>;
- gpio-mosi = <&gpio 19 GPIO_ACTIVE_HIGH>;
+ sck-gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
+ mosi-gpios = <&gpio 19 GPIO_ACTIVE_HIGH>;
num-chipselects = <0>;
led_gpio: led_gpio@0 {
gpio-controller;
#gpio-cells = <2>;
registers-number = <1>;
- lines-initial-states = /bits/ 8 <0xff>;
spi-max-frequency = <10000000>;
gpio_latch_bit {
label = "fritz4020:green:wlan";
gpios = <&led_gpio 3 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
- default-state = "off";
};
lan {
label = "fritz4020:green:lan";
gpios = <&led_gpio 0 GPIO_ACTIVE_LOW>;
- default-state = "off";
};
wan {
label = "fritz4020:green:wan";
gpios = <&led_gpio 4 GPIO_ACTIVE_LOW>;
- default-state = "off";
};
info {
label = "fritz4020:green:info";
gpios = <&led_gpio 6 GPIO_ACTIVE_LOW>;
- default-state = "off";
};
info_red: info_red {
label = "fritz4020:red:info";
gpios = <&led_gpio 1 GPIO_ACTIVE_LOW>;
- default-state = "off";
};
};
keys {
- compatible = "gpio-keys-polled";
- poll-interval = <100>;
+ compatible = "gpio-keys";
wps_button {
label = "WPS button";