OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 11... | Line 11... | |||
11 | |
11 | |
|
12 | Reviewed-by: Andrew Lunn <andrew@lunn.ch> |
12 | Reviewed-by: Andrew Lunn <andrew@lunn.ch> |
|
13 | Signed-off-by: Linus Walleij <linus.walleij@linaro.org> |
13 | Signed-off-by: Linus Walleij <linus.walleij@linaro.org> |
|
14 | --- |
14 | --- |
|
- | 15 | arch/arm/boot/dts/gemini-nas4220b.dts | 13 +++++++++++++ |
||
15 | arch/arm/boot/dts/gemini-nas4220b.dts | 13 +++++++++++++ |
16 | arch/arm/boot/dts/gemini-rut1xx.dts | 13 +++++++++++++ |
|
16 | arch/arm/boot/dts/gemini-wbd111.dts | 13 +++++++++++++ |
17 | arch/arm/boot/dts/gemini-wbd111.dts | 13 +++++++++++++ |
|
17 | arch/arm/boot/dts/gemini-wbd222.dts | 18 ++++++++++++++++++ |
18 | arch/arm/boot/dts/gemini-wbd222.dts | 18 ++++++++++++++++++ |
|
Line 18... | Line 19... | |||
18 | 4 files changed, 57 insertions(+) |
19 | 4 files changed, 57 insertions(+) |
|
Line 23... | Line 24... | |||
23 | }; |
24 | }; |
|
24 | }; |
25 | }; |
|
Line 25... | Line 26... | |||
25 | |
26 | |
|
26 | + mdio0: ethernet-phy { |
27 | + mdio0: ethernet-phy { |
|
- | 28 | + compatible = "virtual,mdio-gpio"; |
||
- | 29 | + gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>, /* MDC */ |
||
- | 30 | + <&gpio0 21 GPIO_ACTIVE_HIGH>; /* MDIO */ |
||
- | 31 | + #address-cells = <1>; |
||
- | 32 | + #size-cells = <0>; |
||
- | 33 | + |
||
- | 34 | + phy0: ethernet-phy@1 { |
||
- | 35 | + reg = <1>; |
||
- | 36 | + device_type = "ethernet-phy"; |
||
- | 37 | + }; |
||
- | 38 | + }; |
||
- | 39 | + |
||
- | 40 | soc { |
||
- | 41 | flash@30000000 { |
||
- | 42 | status = "okay"; |
||
- | 43 | --- a/arch/arm/boot/dts/gemini-rut1xx.dts |
||
- | 44 | +++ b/arch/arm/boot/dts/gemini-rut1xx.dts |
||
- | 45 | @@ -58,6 +58,19 @@ |
||
- | 46 | }; |
||
- | 47 | }; |
||
- | 48 | |
||
- | 49 | + mdio0: ethernet-phy { |
||
27 | + compatible = "virtual,mdio-gpio"; |
50 | + compatible = "virtual,mdio-gpio"; |
|
28 | + gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>, /* MDC */ |
51 | + gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>, /* MDC */ |
|
29 | + <&gpio0 21 GPIO_ACTIVE_HIGH>; /* MDIO */ |
52 | + <&gpio0 21 GPIO_ACTIVE_HIGH>; /* MDIO */ |
|
30 | + #address-cells = <1>; |
53 | + #address-cells = <1>; |
|
31 | + #size-cells = <0>; |
54 | + #size-cells = <0>; |