/* Copyright (c) 2016, 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. * */ /dts-v1/; #include #include #include "../../../../include/linux/avm_hw_config_def.h" #include "ath79_avm.dtsi" #include "Fritz_Box_HW201.dtsi" / { avm-hw-revision { compatible = "avm,avm_hw_revision"; revision = "201"; subrevision = "2"; }; avm-gpio { compatible = "avm,avm_gpio_generic"; button_wlan: gpio_avm_button_wlan { value = <21>; param = ; }; button_plc: gpio_avm_button_plc { value = <16>; param = ; }; led_wlan: gpio_avm_led_wlan { value = <13>; param = ; }; led_plc: gpio_avm_led_plc { value = <19>; param = ; }; gpio_avm_relay { value = <12>; }; gpio_avm_reset_plc { value = <20>; }; uart_enable_ath_hi { value = <2>; }; }; avm-hui { compatible = "avm,hui"; repeater-wlan { compatible = "avm,hui-generic-led-avm"; avm-gpios = <&led_wlan>; }; repeater-plc@0 { compatible = "avm,hui-generic-led-avm"; avm-gpios = <&led_plc>; }; repeater-wps { compatible = "avm,hui-generic-button-avm"; avm-gpios = <&button_wlan>; }; repeater-plc@1 { compatible = "avm,hui-generic-button-avm"; avm-gpios = <&button_plc>; }; }; };