From mboxrd@z Thu Jan 1 00:00:00 1970 From: ingrassia@epigenesys.com (Emiliano Ingrassia) Date: Tue, 16 Jan 2018 01:34:43 +0100 Subject: [PATCH 2/2] ARM: dts: meson8b-odroidc1: ethernet support Message-ID: <20180116003443.GA10587@ingrassia.epigenesys.com> To: linus-amlogic@lists.infradead.org List-Id: linus-amlogic.lists.infradead.org The Odroid-C1+ board is equipped with an RTL8211F ethernet PHY which supports 10/100/1000 Mbps ethernet. This patch adds the PHY description to the board DT, setting the maximum speed to 1 Gbps, and enables the ethernet controller. Signed-off-by: Emiliano Ingrassia --- arch/arm/boot/dts/meson8b-odroidc1.dts | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/meson8b-odroidc1.dts b/arch/arm/boot/dts/meson8b-odroidc1.dts index 9ff6ca4e20d0..3766f6fd1882 100644 --- a/arch/arm/boot/dts/meson8b-odroidc1.dts +++ b/arch/arm/boot/dts/meson8b-odroidc1.dts @@ -99,3 +99,35 @@ &usb1 { status = "okay"; }; + +ðmac { + status = "okay"; + + snps,reset-gpio = <&gpio GPIOH_4 GPIO_ACTIVE_HIGH>; + snps,reset-active-low; + snps,reset-delays-us = <0 10000 30000>; + + pinctrl-0 = <ð_rgmii_pins>; + pinctrl-names = "default"; + + phy-mode = "rgmii"; + phy-handle = <ð_phy>; + amlogic,tx-delay-ns = <4>; + + mdio { + compatible = "snps,dwmac-mdio"; + #address-cells = <1>; + #size-cells = <0>; + + eth_phy: ethernet-phy at 0 { + /* ethernet PHY RTL8211F */ + compatible = "ethernet-phy-id001c.c916", + "ethernet-phy-ieee802.3-c22"; + reg = <0>; + max-speed = <1000>; + eee-broken-1000t; + interrupt-parent = <&gpio_intc>; + interrupts = <17 IRQ_TYPE_LEVEL_LOW>; + }; + }; +}; -- 2.15.1 From khilman at baylibre.com Tue Jan 16 17:04:21 2018 From: khilman@baylibre.com (Kevin Hilman) Date: Tue, 16 Jan 2018 17:04:21 -0800 Subject: [PATCH v3] ARM64: dts: meson-axg: enable IR controller In-Reply-To: <20171215145906.1494-1-yixun.lan@amlogic.com> (Yixun Lan's message of "Fri, 15 Dec 2017 22:59:06 +0800") References: <20171215145906.1494-1-yixun.lan@amlogic.com> Message-ID: <7hinc1b8iy.fsf@baylibre.com> Yixun Lan writes: > Enable IR remote controller which found in Amlogic's Meson-AXG SoCs. > > Signed-off-by: Yixun Lan I think I forgot to reply to this one, but for the record, this was applied to v4.16/dt64. Kevin