/* Copyright (c) 2015, The Linux Foundation. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * */ #include "../../../arm64/boot/dts/qcom/Fritz_Box_HW275.dts" #include "../../../../include/linux/avm_hw_config_def.h" / { model = "AVM FRITZ!Powerline 1240 AX"; avm-hw-revision { compatible = "avm,avm_hw_revision"; revision = "275"; subrevision = "0"; }; avm_gpio { compatible = "avm,avm_gpio_generic"; gpio_avm_reset_plc { value = <17>; param = ; }; }; avm-hui { compatible = "avm,hui"; pinctrl-0 = <&avm_led_pins>; pinctrl-names = "default"; status = "ok"; repeater-one-no-rssi { compatible = "avm,hui-generic-led-gpio"; gpios = <&tlmm 28 GPIO_ACTIVE_HIGH>; }; repeater-plc-wlan { compatible = "avm,hui-generic-led-gpio"; gpios = <&tlmm 29 GPIO_ACTIVE_HIGH>; }; repeater-plc { compatible = "avm,hui-generic-led-gpio"; gpios = <&tlmm 13 GPIO_ACTIVE_HIGH>; }; plc-connect { compatible = "avm,hui-generic-button-gpio"; gpios = <&tlmm 31 GPIO_ACTIVE_HIGH>; }; }; pmuv8: pmu { compatible = "arm,cortex-a7-pmu"; }; };