// SPDX-License-Identifier: GPL-2.0-or-later /dts-v1/; #include /* AVM_DEF_HW_PARAM_GPIO_* */ #include / { model = "AVM FRITZ!Box 6670"; chosen { }; avm-hw-revision { compatible = "avm,avm_hw_revision"; revision = "284"; 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 = ; }; }; soc { avm_mac_addr_maceth_0: avm_mac_addr_maceth_0 { mac-address = [00 00 00 00 00 00]; }; avm_mac_addr_maceth_1: avm_mac_addr_maceth_1 { mac-address = [00 00 00 00 00 00]; }; avm_mac_addr_maceth_2: avm_mac_addr_maceth_2 { mac-address = [00 00 00 00 00 00]; }; avm_mac_addr_maceth_3: avm_mac_addr_maceth_3 { mac-address = [00 00 00 00 00 00]; }; avm_mac_addr_maceth_4: avm_mac_addr_maceth_4 { mac-address = [00 00 00 00 00 00]; }; avm_mac_addr_macwifi_0: avm_mac_addr_macwifi_0 { mac-address = [00 00 00 00 00 00]; }; avm_mac_addr_macwifi_1: avm_mac_addr_macwifi_1 { mac-address = [00 00 00 00 00 00]; }; avm_mac_addr_macwifi_2: avm_mac_addr_macwifi_2 { mac-address = [00 00 00 00 00 00]; }; avm_mac_addr_macwifi_3: avm_mac_addr_macwifi_3 { mac-address = [00 00 00 00 00 00]; }; avm_mac_addr_macwifi_4: avm_mac_addr_macwifi_4 { mac-address = [00 00 00 00 00 00]; }; avm_mac_addr_macwifi_5: avm_mac_addr_macwifi_5 { mac-address = [00 00 00 00 00 00]; }; avm_mac_addr_macwifi_6: avm_mac_addr_macwifi_6 { mac-address = [00 00 00 00 00 00]; }; avm_mac_addr_macwifi_7: avm_mac_addr_macwifi_7 { mac-address = [00 00 00 00 00 00]; }; avm_mac_addr_macwifi_8: avm_mac_addr_macwifi_8 { mac-address = [00 00 00 00 00 00]; }; avm_mac_addr_macwifi_9: avm_mac_addr_macwifi_9 { mac-address = [00 00 00 00 00 00]; }; avm_mac_addr_macwifi_10: avm_mac_addr_macwifi_10 { mac-address = [00 00 00 00 00 00]; }; avm_mac_addr_macwifi_11: avm_mac_addr_macwifi_11 { mac-address = [00 00 00 00 00 00]; }; avm_mac_addr_macwifi_12: avm_mac_addr_macwifi_12 { mac-address = [00 00 00 00 00 00]; }; avm_mac_addr_macwifi_13: avm_mac_addr_macwifi_13 { mac-address = [00 00 00 00 00 00]; }; avm_mac_addr_macwifi_14: avm_mac_addr_macwifi_14 { mac-address = [00 00 00 00 00 00]; }; avm_mac_addr_macwifi_15: avm_mac_addr_macwifi_15 { mac-address = [00 00 00 00 00 00]; }; avm_mac_addr_maca: avm_mac_addr_maca { mac-address = [00 00 00 00 00 00]; }; avm_mac_addr_macb: avm_mac_addr_macb { mac-address = [00 00 00 00 00 00]; }; avm_mac_addr_macrouter_0: avm_mac_addr_macrouter_0 { mac-address = [00 00 00 00 00 00]; }; avm_mac_addr_macrouter_1: avm_mac_addr_macrouter_1 { mac-address = [00 00 00 00 00 00]; }; avm_mac_addr_maccm_0: avm_mac_addr_maccm_0 { mac-address = [00 00 00 00 00 00]; }; avm_mac_addr_macemta_0: avm_mac_addr_macemta_0 { mac-address = [00 00 00 00 00 00]; }; avm_mac_addr_maclbr_0: avm_mac_addr_maclbr_0 { mac-address = [00 00 00 00 00 00]; }; avm_mac_addr_macerouter_0: avm_mac_addr_macerouter_0 { mac-address = [00 00 00 00 00 00]; }; }; acpi { gpioc_southwest: INT33FF_00 { gpio-controller; #gpio-cells = <2>; }; gpioc_northeast: INT33FF_01 { gpio-controller; #gpio-cells = <2>; }; gpioc_northwest: INT33FF_02 { gpio-controller; #gpio-cells = <2>; }; gpioc_southeast: INT33FF_03 { gpio-controller; #gpio-cells = <2>; }; gpioc_virtual: INT33FF_04 { gpio-controller; #gpio-cells = <2>; }; gpioc_west: INT33FF_05 { gpio-controller; #gpio-cells = <2>; }; }; avm-lrwpan { compatible = "avm,lrwpan", "avm,gpio-aggregator"; gpios = <&gpioc_west 12 GPIO_ACTIVE_LOW>, <&gpioc_west 16 GPIO_ACTIVE_HIGH>, <&gpioc_west 11 GPIO_ACTIVE_HIGH>; gpio-line-names = "lrwpan-reset-lowactive", "lrwpan-swdio", "lrwpan-swclk"; }; wifi0: wifi0@f00000 { reg = <0 0 0 0 0>; compatible = "qcom,cnss-qcn9224"; qti,disable-rddm-prealloc; qti,rddm-seg-len = <0x1000>; license-file = "qcn9224/license.dat"; boot-args = <0x1 0x4 0x34 0x3 0x0 0x0 /* CX Rail, GPIO52, Drive strength 0x3 */ 0x2 0x4 0x34 0x3 0x0 0x0 /* MX Rail, GPIO52, Drive strength 0x3 */ 0x0 0x4 0x0 0x0 0x0 0x0>; /* End of arguments */ qcom,wlan-ramdump-dynamic = <0x600000>; qrtr_node_id = <0x30>; avm,pci_bus = <0x01>; avm,pci_devfn = <0x00000000>; qca,auto-restart; interrupt-bmap = <0x100512>; tgt-mem-mode = <0x0>; board_id = <0x1003>; }; };