/* 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 "Fritz_qcom-ipq4019.dtsi" #include "../../../../include/linux/avm_hw_config_def.h" /* TODO: Das hier ist noch auf Stand von HW229 -- wenn mehr Details zu HW230 vorliegen updaten! */ / { model = "AVM FRITZ!Repeater 1140"; compatible = "qcom,ipq4019"; avm-hw-revision{ compatible = "avm,avm_hw_revision"; revision = "230"; subrevision = "1"; }; soc { #address-cells = <1>; #size-cells = <1>; mdio@90000 { #address-cells = <1>; #size-cells = <0>; phy0: ethernet-phy@0 { reg = <0>; }; phy1: ethernet-phy@1 { reg = <1>; }; phy2: ethernet-phy@2 { reg = <2>; }; phy3: ethernet-phy@3 { reg = <3>; }; phy4: ethernet-phy@4 { reg = <4>; }; }; edma: edma@c080000 { qcom,num-gmac = <1>; gmac0 { qcom,phy-mdio-addr = <0>; qcom,poll-required = <1>; qcom,forced-speed = <0>; qcom,forced-duplex = <0>; vlan_tag = <0 0x02>; devname = "eth0"; macname = "maca"; mac = <0>; }; }; }; avm_gpio { compatible = "avm,avm_gpio_generic"; gpio_avm_led_power { value = <207>; param = ; }; gpio_avm_led_wlan { value = <208>; param = ; }; gpio_avm_led_plc { value = <209>; param = ; }; gpio_avm_reset_plc { value = <206>; param = ; }; gpio_avm_button_wlan { value = <58>; param = ; }; gpio_avm_button_plc { value = <63>; param = ; }; #if 0 gpio_avm_led_info { value = <207>; param = ; }; gpio_avm_led_info_red { value = <201>; param = ; }; #endif gpio_avm_usb_power_enable { value = <203>; param = ; }; }; };