// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) #include "../../../arm64/boot/dts/qcom/Fritz_Box_HW278.dts" / { model = "AVM FRITZ!Box 7530 AX TypB"; avm-hw-revision { compatible = "avm,avm_hw_revision"; revision = "278"; subrevision = "2"; }; avm-qca833x-leds { compatible = "avm,leds-qca833x"; status = "ok"; led_power: led_power { label = "avm:green:power"; led-id = <8>; }; led_wlan: led_wlan { label = "avm:green:wlan"; led-id = <6>; }; led_fon: led_fon { label = "avm:green:fon"; led-id = <5>; }; led_connect: led_connect { label = "avm:green:connect"; led-id = <3>; }; led_info_green: led_info_green { label = "avm:green:info"; led-id = <2>; }; led_info_red: led_info_red { label = "avm:red:info"; led-id = <0>; }; }; avm-hui { compatible = "avm,hui"; pinctrl-0 = <&avm_led_pins>; pinctrl-names = "default"; status = "ok"; dim_leds: dim-leds { brightness-range = <0>, <220>; compatible = "avm,hui-generic-led-pwm"; led-type = "always-on"; /* GPIO 46 is channel 0 */ pwms = <&pwm 0 100000 0>; dimmable; }; box-power@0 { compatible = "avm,hui-generic-led-class"; leds = <&led_power>; location = <1>; }; box-wlan@0 { compatible = "avm,hui-generic-led-class"; leds = <&led_wlan>; location = <2>; }; box-fon-dect@0 { compatible = "avm,hui-generic-led-class"; leds = <&led_fon>; location = <3>; }; connect@0 { compatible = "avm,hui-generic-led-class"; leds = <&led_connect>; location = <4>; }; box_info: info { compatible = "avm,hui-generic-led-class"; leds = <&led_info_red>, <&led_info_green>; led-names = "red", "green"; location = <5>; colors { error = <0xff>, <0>, <0>; warn = <0xff>, <0>, <0>; normal = <0>, <0xff>, <0>; }; }; box-wlan@1 { compatible = "avm,hui-generic-button-gpio"; gpios = <&tlmm 13 GPIO_ACTIVE_LOW>; }; box-fon@1 { compatible = "avm,hui-generic-button-gpio"; gpios = <&tlmm 17 GPIO_ACTIVE_LOW>; }; box-connect@1 { compatible = "avm,hui-generic-button-gpio"; gpios = <&tlmm 39 GPIO_ACTIVE_HIGH>; }; }; pmuv8: pmu { compatible = "arm,cortex-a7-pmu"; }; }; &tlmm { pwm_pins: pwm_pinmux { mux_1 { pins = "gpio46"; function = "pwm0"; drive-strength = <16>; }; }; avm_led_pins: avm_led_pins { mux { pins = "gpio13", "gpio17", "gpio39"; function = "gpio"; drive-strength = <2>; bias-pull-up; }; }; }; &pwm { pinctrl-0 = <&pwm_pins>; pinctrl-names = "default"; used-pwm-indices = <1>, <0>, <0>, <0>; status = "ok"; #pwm-cells = <3>; }; &pcie_x2 { perst-gpio = <&tlmm 0 GPIO_ACTIVE_LOW>; }; &wifi0 { qcom,board_id = <0x24>; };