// SPDX-License-Identifier: GPL-2.0-or-later /dts-v1/; #include /* AVM_DEF_HW_PARAM_GPIO_* */ / { model = "AVM FRITZ!Box 6660"; avm-hw-revision { compatible = "avm,avm_hw_revision"; revision = "252"; subrevision = "0"; }; avm_hui { compatible = "avm,hui"; box-power { compatible = "avm,hui-generic-led-avm"; avm-gpios = <&led_power>; location = <1>; }; box-wlan@0 { compatible = "avm,hui-generic-led-avm"; avm-gpios = <&led_wlan>; location = <2>; }; box-fon-dect { compatible = "avm,hui-generic-led-avm"; avm-gpios = <&led_fon_dect>; location = <3>; }; connect { compatible = "avm,hui-generic-led-avm"; avm-gpios = <&led_connect>; location = <4>; }; info { compatible = "avm,hui-generic-led-avm"; avm-gpios = <&led_info_red>, <&led_info>; location = <5>; colors { normal = <0x00>, <0xFF>, <0x00>; warn = <0xFF>, <0x00>, <0x00>; error = <0xFF>, <0x00>, <0x00>; }; }; box-wlan@1 { compatible = "avm,hui-generic-button-avm"; avm-gpios = <&button_wlan>; }; box-fon { compatible = "avm,hui-generic-button-avm"; avm-gpios = <&button_fon_dect>; }; box-connect { compatible = "avm,hui-generic-button-avm"; avm-gpios = <&button_connect_wps>; }; }; avm_gpio { compatible = "avm,avm_gpio_generic"; led_power: gpio_avm_led_power { value = <285>; param = ; }; led_wlan: gpio_avm_led_wlan { value = <290>; param = ; }; led_fon_dect: gpio_avm_led_fon_dect { value = <287>; param = ; }; led_connect: gpio_avm_led_connect_wps { value = <286>; param = ; }; led_info: gpio_avm_led_info { value = <289>; param = ; }; led_info_red: gpio_avm_led_info_red { value = <288>; param = ; }; button_wlan: gpio_button_wlan_onoff { value = <124>; param = ; }; button_fon_dect: gpio_avm_button_dect { value = <122>; param = ; }; button_connect_wps: gpio_avm_button_connect { value = <113>; param = ; }; }; };