b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | From 5fb032ca86c078429ecdde3cbd9040702bb86954 Mon Sep 17 00:00:00 2001 |
| 2 | From: Vicentiu Galanopulo <vicentiu.galanopulo@nxp.com> |
| 3 | Date: Fri, 20 Apr 2018 11:00:09 +0300 |
| 4 | Subject: [PATCH] arm64: dts: lx2160a: add MDIO device-tree nodes |
| 5 | |
| 6 | Signed-off-by: Vicentiu Galanopulo <vicentiu.galanopulo@nxp.com> |
| 7 | --- |
| 8 | arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 22 ++++++++++++++++++++++ |
| 9 | 1 file changed, 22 insertions(+) |
| 10 | |
| 11 | --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi |
| 12 | +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi |
| 13 | @@ -478,6 +478,28 @@ |
| 14 | little-endian; |
| 15 | }; |
| 16 | |
| 17 | + /* TODO: WRIOP (CCSR?) */ |
| 18 | + emdio1: mdio@0x8B96000 { /* WRIOP0: 0x8B8_0000, E-MDIO1: 0x1_6000 */ |
| 19 | + compatible = "fsl,fman-memac-mdio"; |
| 20 | + reg = <0x0 0x8B96000 0x0 0x1000>; |
| 21 | + device_type = "mdio"; /* TODO: is this necessary? */ |
| 22 | + little-endian; /* force the driver in LE mode */ |
| 23 | + |
| 24 | + /* Not necessary on the QDS, but needed on the RDB */ |
| 25 | + #address-cells = <1>; |
| 26 | + #size-cells = <0>; |
| 27 | + }; |
| 28 | + |
| 29 | + emdio2: mdio@0x8B97000 { /* WRIOP0: 0x8B8_0000, E-MDIO2: 0x1_7000 */ |
| 30 | + compatible = "fsl,fman-memac-mdio"; |
| 31 | + reg = <0x0 0x8B97000 0x0 0x1000>; |
| 32 | + device_type = "mdio"; /* TODO: is this necessary? */ |
| 33 | + little-endian; /* force the driver in LE mode */ |
| 34 | + |
| 35 | + #address-cells = <1>; |
| 36 | + #size-cells = <0>; |
| 37 | + }; |
| 38 | + |
| 39 | i2c0: i2c@2000000 { |
| 40 | compatible = "fsl,vf610-i2c"; |
| 41 | #address-cells = <1>; |