openwrtv3/target/linux
Johann Neuhauser f2f7802148 lantiq: etop: pass devicetree node to phy driver
Use of_mdiobus_register() to pass the ethernet phy node to the phy
drivers. This is needed for the at8030 phy driver which needs to know
the GPIO which is connected to the ar8030 reset pin.

This driver expects a child in gsw/etop node named "mdio-bus", which has
the ethernet phys defined:

&gsw {
	phy-mode = "rmii";
	phy-handle = <&phy0>;
	mtd-mac-address = <&ath9k_cal 0xa91>;
	mtd-mac-address-increment = <(-2)>;

	mdio-bus {
		#address-cells = <1>;
		#size-cells = <0>;
		reg = <0>;

		phy0: ethernet-phy@0 {
			reg = <0>;
			reset-gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
		};
	};
};

Fallback to mdiobus_register() if no mdio-bus child node exists. This
way we don't need to touch all xway dts files, for which we don't know
the actual address on the mdio bus.

Signed-off-by: Johann Neuhauser <johann@it-neuhauser.de>
2018-07-18 19:17:46 +02:00
..
adm5120 kernel: only optimized for size if small_flash 2018-07-12 18:15:32 +02:00
adm8668 kernel: mark all v3.18 and v4.4 kernels are source-only 2018-05-24 08:55:52 +02:00
apm821xx apm821xx: attempt to fix sata access freezes 2018-07-16 15:10:21 +02:00
ar7 kernel: bump 4.9 to 4.9.100 2018-05-18 09:10:21 +02:00
ar71xx ar71xx: Move F9K1115v2 under ar71xx tiny target 2018-07-16 15:12:19 +02:00
arc770 arc: Update variables substitutions in u-boot env files 2018-07-12 10:24:31 +02:00
archs38 arc: Update variables substitutions in u-boot env files 2018-07-12 10:24:31 +02:00
armvirt arm64: enable harden branch predictor 2018-04-27 21:34:18 +02:00
at91 kernel: only optimized for size if small_flash 2018-07-12 18:15:32 +02:00
ath25 ath25: drop 4.9 kernel support 2018-05-22 07:20:13 +02:00
ath79 ath79: fix TP-Link Archer C7 v2 wlan1 MAC address 2018-07-18 19:17:46 +02:00
au1000 kernel: only optimized for size if small_flash 2018-07-12 18:15:32 +02:00
bcm53xx bcm53xx: exit if writing kernel during sysupgrade fails 2018-06-18 13:47:08 +02:00
brcm47xx kernel: bump 4.14 to 4.14.54 2018-07-11 16:02:24 +02:00
brcm63xx brcm63xx: initial support for Sky SR102 router 2018-07-16 15:12:08 +02:00
brcm2708 brcm2708: platform.sh: fix tar directory directive 2018-07-07 18:19:39 +02:00
cns3xxx kernel: enable THIN_ARCHIVES by default 2018-05-22 07:55:20 +02:00
gemini kernel: remove DEVMEM and DEVKMEM from target's config 2018-07-07 18:19:39 +02:00
generic kernel: backport page fragment API changes from 4.10+ to 4.9 2018-07-14 11:39:00 +02:00
imx6 kernel: enable THIN_ARCHIVES by default 2018-05-22 07:55:20 +02:00
ipq40xx kernel: bump 4.14 to 4.14.53 2018-07-04 14:16:37 +02:00
ipq806x ipq806x: fix numbering for Netgear R7800 LAN ports 2018-07-04 01:20:02 +02:00
ixp4xx kernel: bump to 4.9.105 2018-06-01 08:25:14 +02:00
kirkwood kernel: enable THIN_ARCHIVES by default 2018-05-22 07:55:20 +02:00
lantiq lantiq: etop: pass devicetree node to phy driver 2018-07-18 19:17:46 +02:00
layerscape kernel: only optimized for size if small_flash 2018-07-12 18:15:32 +02:00
malta malta: bump tp v4.14 2018-01-09 10:26:16 +01:00
mcs814x kernel: only optimized for size if small_flash 2018-07-12 18:15:32 +02:00
mediatek mediatek: fix parallel build issues in image build code 2018-07-17 14:40:04 +02:00
mpc85xx WDR4900v1 remove dt node for absent hw crypto. 2018-07-07 18:19:39 +02:00
mvebu kernel: bump 4.14 to 4.14.51 2018-06-26 08:57:21 +02:00
mxs kernel: enable THIN_ARCHIVES by default 2018-05-22 07:55:20 +02:00
octeon octeon: Add and set CPU type Octeon+ as default 2018-06-20 15:36:02 +02:00
octeontx kernel: enable THIN_ARCHIVES by default 2018-05-22 07:55:20 +02:00
omap kernel: enable EXPORTFS by default 2018-05-22 07:55:05 +02:00
omap24xx omap24xx: remove referece to not existing kmod-usb-musb-tusb6010 2018-01-15 13:13:34 +01:00
orion orion: remove linux 4.4 support 2018-04-19 14:38:57 +02:00
oxnas kernel: remove DEVMEM and DEVKMEM from target's config 2018-07-07 18:19:39 +02:00
pistachio kernel: bump 4.14 to 4.14.42 2018-05-22 20:49:08 +02:00
ppc40x kernel: only optimized for size if small_flash 2018-07-12 18:15:32 +02:00
ppc44x kernel: only optimized for size if small_flash 2018-07-12 18:15:32 +02:00
ramips ramips: Use dts alias based status led 2018-07-16 15:12:18 +02:00
rb532 kernel: only optimized for size if small_flash 2018-07-12 18:15:32 +02:00
sunxi sunxi: Enable SD block devices 2018-07-07 18:19:39 +02:00
uml kernel: bump 4.9 to 4.9.100 2018-05-18 09:10:21 +02:00
x86 kernel: bump 4.9 to 4.9.106 2018-06-07 09:04:46 +02:00
xburst kernel: mark all v3.18 and v4.4 kernels are source-only 2018-05-24 08:55:52 +02:00
zynq zynq: remove config options handled by generic 2018-07-02 07:12:48 +02:00
Makefile