openwrtv3/target/linux/lantiq/patches-4.14
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
..
0001-MIPS-lantiq-add-pcie-driver.patch kernel: update kernel 4.14 to 4.14.32 2018-04-03 23:26:45 +02:00
0002-gpio-stp-xway-Implement-get-callback.patch lantiq: backport stp-xway get callback implementation 2018-07-04 01:20:01 +02:00
0004-MIPS-lantiq-add-atm-hack.patch lantiq: atm: fix ifx_atm driver integration 2018-06-18 15:26:41 +02:00
0008-MIPS-lantiq-backport-old-timer-code.patch
0018-MTD-nand-lots-of-xrx200-fixes.patch
0020-MTD-lantiq-handle-NO_XIP-on-cfi0001-flash.patch
0022-MTD-m25p80-allow-loading-mtd-name-from-OF.patch kernel: m25p80: allow fallback from spi_flash_read to regular SPI transfer 2018-02-26 19:20:06 +01:00
0023-NET-PHY-add-led-support-for-intel-xway.patch
0024-MIPS-lantiq-autoselect-soc-rev-matching-fw.patch kernel: bump 4.14 to 4.14.48 2018-06-05 22:54:00 +03:00
0025-NET-MIPS-lantiq-adds-xrx200-net.patch
0027-01-net-phy-intel-xway-add-VR9-version-number.patch lantiq: intel-xway: add vr9 v1.1 phy support 2018-03-23 20:31:49 +01:00
0027-02-net-phy-intel-xway-add-VR9-v1.1-phy-ids.patch lantiq: intel-xway: add vr9 v1.1 phy support 2018-03-23 20:31:49 +01:00
0028-NET-lantiq-various-etop-fixes.patch
0030-GPIO-add-named-gpio-exports.patch treewide: gpio-export: add error handling 2018-06-28 18:39:57 +02:00
0031-I2C-MIPS-lantiq-add-FALC-ON-i2c-bus-master.patch
0035-owrt-lantiq-wifi-and-ethernet-eeprom-handling.patch
0042-arch-mips-increase-io_space_limit.patch
0050-USB-DWC2-make-the-lantiq-settings-match-vendor-drive.patch
0051-MIPS-lantiq-improve-USB-initialization.patch
0101-find_active_root.patch kernel: make mtd patches apply again 2018-03-15 00:42:41 +01:00
0151-lantiq-ifxmips_pcie-use-of.patch
0152-lantiq-VPE.patch
0154-lantiq-pci-bar11mask-fix.patch
0155-lantiq-VPE-nosmp.patch
0160-owrt-lantiq-multiple-flash.patch
0300-MTD-cfi-cmdset-0001-disable-buffered-writes.patch
0301-xrx200-add-gphy-clk-src-device-tree-binding.patch
0400-Revert-MIPS-smp-mt-Use-CPU-interrupt-controller-IPI-.patch lantiq: kernel 4.14: don't use CPU interrupt controller IPI IRQ domain support 2018-02-20 19:25:17 +01:00
0701-NET-lantiq-etop-of-mido.patch lantiq: etop: pass devicetree node to phy driver 2018-07-18 19:17:46 +02:00