[PATCH v4 5/6] arm64: dts: rockchip: add the gmac needed node for rk3399
Heiko Stuebner
heiko at sntech.de
Wed Sep 7 11:12:23 PDT 2016
Am Freitag, 2. September 2016, 01:50:03 CEST schrieb Caesar Wang:
> From: Roger Chen <roger.chen at rock-chips.com>
>
> The RK3399 GMAC Ethernet Controller provides a complete Ethernet interface
> from processor to a Reduced Media Independent Interface (RMII) and Reduced
> Gigabit Media Independent Interface (RGMII) compliant Ethernet PHY.
>
> This patch adds the related needed device information.
> e.g.: interrupts, grf, clocks, pinctrl and so on.
>
> The full details are in [0].
>
> [0]:
> Documentation/devicetree/bindings/net/rockchip-dwmac.txt
>
> Signed-off-by: Roger Chen <roger.chen at rock-chips.com>
> Signed-off-by: Caesar Wang <wxt at rock-chips.com>
> ---
>
> Changes in v4:
> - The Roger had posted patch on https://patchwork.kernel.org/patch/9274561/.
> - re-fixup to original author.
>
> Changes in v3:
> - generate a patch from https://patchwork.kernel.org/patch/9306339/.
>
> Changes in v2: None
>
> arch/arm64/boot/dts/rockchip/rk3399.dtsi | 80
> ++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi
> b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 2ab233f..092bb45 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi
> +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
> @@ -200,6 +200,26 @@
> };
> };
>
> + gmac: ethernet at fe300000 {
> + compatible = "rockchip,rk3399-gmac";
> + reg = <0x0 0xfe300000 0x0 0x10000>;
> + interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
applied to my dts64 branch, after making this a
+ interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH 0>;
(due to the 4-cell interrupt change)
Heiko
More information about the linux-arm-kernel
mailing list