u-boot-brain/drivers
Andre Przywara 12afd95711 net: sun8i-emac: add support for new EMAC DT binding
The Ethernet MAC used in newer Allwinner SoCs (H3, A64, H5) got an
upstream Linux driver in v4.15.
This one uses a slightly different binding from the original one used
by the U-Boot driver.
The differences to the old binding are:
- The "syscon" address is held in a separate node, referenced via a
  phandle in the "syscon" property.
- The reference to the PHY is held in a property called "phy-handle",
  not "phy".
- The PHY register is at offset 0x30 in the syscon device, not at 0.
- The internal PHY is activated when the node, which phy-handle points
  to, is a child node of an "allwinner,sun8i-h3-mdio-internal" node.

Teach the U-Boot driver how to find its resources in a "new-style" DT,
so that we can use a Linux kernel compatible DT for U-Boot as well.
This keeps support for the old binding for now, to allow a smooth
transition.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
2018-04-04 11:31:35 +05:30
..
adc treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
ata Move most CONFIG_HAVE_BLOCK_DEVICE to Kconfig 2018-02-08 19:09:03 -05:00
bios_emulator printk: collect printk stuff into <linux/printk.h> with loglevel support 2017-10-04 10:31:17 -04:00
block SystemACE: Remove 2018-02-13 23:24:22 -05:00
bootcount bootcount: Migrate CONFIG_SYS_BOOTCOUNT_ADDR 2018-02-25 13:41:54 -05:00
clk clk: at91: clk-system: add set/get_rate operations 2018-03-16 07:30:04 -04:00
core libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
cpu dm: cpu: bmips: add BCM6318 support 2018-01-26 12:38:13 +01:00
crypto libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
ddr Revert "drivers/ddr/fsl: Dual-license DDR driver" 2018-02-14 21:34:05 -05:00
demo sandbox: Add 64-bit sandbox 2018-02-18 15:53:48 -07:00
dfu dfu: tftp: Fix arm64 build warnings 2018-02-21 20:28:15 +01:00
dma Convert CONFIG_APBH_DMA et al to Kconfig 2018-02-08 12:48:11 -05:00
firmware libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
fpga arm: zynq: fpga: Added Kconfig support for CONFIG_FPGA_ZYNQPL 2018-02-28 13:00:25 -05:00
gpio sunxi: gpio: add missing compatible strings 2018-04-04 11:31:35 +05:30
i2c treewide: Fix gdsys mail addresses 2018-03-09 09:23:10 -05:00
input input: indicate that code page 437 is used 2018-03-05 10:06:05 -05:00
led dm: core: Update device_bind_driver_to_node() to use ofnode 2017-06-01 07:03:08 -06:00
mailbox dm: mailbox: Update uclass to support livetree 2017-06-01 07:03:15 -06:00
memory memory: Move TI_AEMIF config to KCONFIG 2016-04-18 17:11:43 -04:00
misc libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
mmc Merge git://git.denx.de/u-boot-sunxi 2018-03-14 13:27:14 -04:00
mtd sunxi: move the NAND parameters to Kconfig 2018-04-03 12:13:32 +02:00
net net: sun8i-emac: add support for new EMAC DT binding 2018-04-04 11:31:35 +05:30
nvme Move most CONFIG_HAVE_BLOCK_DEVICE to Kconfig 2018-02-08 19:09:03 -05:00
pch dm: Use dm_scan_fdt_dev() directly where possible 2016-07-27 14:15:54 -06:00
pci libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
pcmcia Kconfig; Drop CONFIG_IDE_TI_CARDBUS and associated driver 2017-08-11 15:41:51 -04:00
phy libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
pinctrl Merge git://git.denx.de/u-boot-sh 2018-03-05 20:24:17 -05:00
power sunxi: Add AXP_PMIC_BUS kconfig entry 2018-03-19 15:37:20 +05:30
pwm rockchip: pwm: convert to use live dt 2018-03-13 18:12:35 +01:00
qe libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
ram dm: ram: bmips: add BCM6318 support 2018-01-26 12:38:13 +01:00
remoteproc dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
reset wait_bit: use wait_for_bit_le32 and remove wait_for_bit 2018-01-24 12:03:43 +05:30
rtc rtc: adding RX8010SJ rtc driver 2018-02-04 12:00:58 +01:00
scsi Move most CONFIG_HAVE_BLOCK_DEVICE to Kconfig 2018-02-08 19:09:03 -05:00
serial Convert all of CONFIG_CONS_INDEX to Kconfig 2018-03-16 10:28:52 -04:00
soc Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
sound libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
spi Merge git://git.denx.de/u-boot-spi 2018-03-15 08:27:27 -04:00
spmi spmi: msm: display the PMIC Arb version (debug) 2018-01-15 11:35:37 -05:00
sysreset db410c: replace reset driver with psci 2018-01-15 16:29:03 -05:00
thermal thermal: ti-bandgap: Add support for temperature sensor 2017-11-21 08:03:38 -05:00
timer timer: stm32: Add timer support for STM32 SoCs family 2018-03-13 21:45:37 -04:00
tpm treewide: Fix gdsys mail addresses 2018-03-09 09:23:10 -05:00
usb Merge git://git.denx.de/u-boot-sh 2018-03-05 20:24:17 -05:00
video sunxi: video: mark framebuffer as EFI reserved memory 2018-03-09 18:24:49 +01:00
watchdog watchdog: omap_wdt: improve watchdog reset path 2018-03-16 09:42:38 -04:00
Kconfig bootcount: add support for bootcounter on EXT filesystem 2017-11-20 09:58:31 +01:00
Makefile spl: Kconfig: Rename SPL_USBETH_SUPPORT to SPL_USB_ETHER to match with the U-boot CONFIG 2018-03-05 10:06:05 -05:00