sunxi: A64/H3/H5 DT updates
Subsystems (2)
cover sunxi: A64/H3/H5 DT updates
This updates the .dts and .dtsi files used in U-Boot to what will become the new DTs in Linux 4.20 (anytime soon).
Those updates are not too useful for U-Boot itself, but keep the DTs consistent and allow to directly pass U-Boot's copy to any kernel, by using $fdtcontroladdr.
There is a small change in the A64 .dtsi, which breaks compatibility with older kernels (stable releases and those found on distro installer images), so the second patch fixes this by re-adding the missing compatible string to the system controller node.
The updates include the H5 and also H3, as they are very close and need to be updated together.
I ran into issues with the H6, so will post an update for that later.
I see that this somewhat overlaps with Vasily's Pinebook series, I am happy to arrange something here. Originally I wanted to wait for the files to hit Linus' tree (to get stable commit IDs), but I sending this now to not block Vasily.
Cheers,
Andre.
Andre Przywara (4):
sunxi: A64: Update .dts/.dtsi files
sunxi: A64: Re-add syscon to DT node
sunxi: H3/H5: Update .dts files
sunxi: A64: Add Pine64-LTS board
arch/arm/dts/sun50i-a64-amarula-relic.dts | 168 +++++++++++++- arch/arm/dts/sun50i-a64-bananapi-m64.dts | 34 ++- arch/arm/dts/sun50i-a64-nanopi-a64.dts | 89 +++++++- arch/arm/dts/sun50i-a64-olinuxino.dts | 103 ++++++++- arch/arm/dts/sun50i-a64-orangepi-win.dts | 179 ++++++++++++++- arch/arm/dts/sun50i-a64-pine64-lts.dts | 13 ++ arch/arm/dts/sun50i-a64-pine64.dts | 32 ++- arch/arm/dts/sun50i-a64-sopine-baseboard.dts | 32 ++- arch/arm/dts/sun50i-a64-sopine.dtsi | 15 ++ arch/arm/dts/sun50i-a64.dtsi | 312 ++++++++++++++++++++++++-- arch/arm/dts/sun50i-h5-orangepi-pc2.dts | 12 + arch/arm/dts/sun50i-h5-orangepi-zero-plus.dts | 2 - arch/arm/dts/sun8i-h3.dtsi | 31 +++ arch/arm/dts/sunxi-h3-h5.dtsi | 2 - configs/pine64-lts_defconfig | 19 ++ 15 files changed, 995 insertions(+), 48 deletions(-) create mode 100644 arch/arm/dts/sun50i-a64-pine64-lts.dts create mode 100644 configs/pine64-lts_defconfig
Signature · 1 line
2.14.5
PATCH 1/4 sunxi: A64: Update .dts/.dtsi files
Update the .dts/.dtsi file from the Linux sunxi/dt64-for-4.20 tree:
commit 679294497be31596e1c9c61507746d72b6b05f26
Author: Rodrigo Exterckötter Tjäder <[email protected]> Date: Wed Sep 26 19:48:24 2018 +0000
arm64: dts: allwinner: a64: a64-olinuxino: set the PHY TX delay
--- arch/arm/dts/sun50i-a64-amarula-relic.dts | 168 +++++++++++++- arch/arm/dts/sun50i-a64-bananapi-m64.dts | 34 ++- arch/arm/dts/sun50i-a64-nanopi-a64.dts | 89 +++++++- arch/arm/dts/sun50i-a64-olinuxino.dts | 103 ++++++++- arch/arm/dts/sun50i-a64-orangepi-win.dts | 179 ++++++++++++++- arch/arm/dts/sun50i-a64-pine64.dts | 32 ++- arch/arm/dts/sun50i-a64-sopine-baseboard.dts | 32 ++- arch/arm/dts/sun50i-a64-sopine.dtsi | 15 ++ arch/arm/dts/sun50i-a64.dtsi | 313 +++++++++++++++++++++++++-- 9 files changed, 920 insertions(+), 45 deletions(-)
arch/arm/dts/sun50i-a64-amarula-relic.dts +161 -7
@@ -22,11 +22,11 @@ stdout-path = "serial0:115200n8"; }; - reg_vcc3v3: vcc3v3 { - compatible = "regulator-fixed"; - regulator-name = "vcc3v3"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; + wifi_pwrseq: wifi-pwrseq { + compatible = "mmc-pwrseq-simple"; + clocks = <&rtc 1>; + clock-names = "ext_clock"; + reset-gpios = <&r_pio 0 2 GPIO_ACTIVE_LOW>; /* WL-PMU-EN: PL2 */ }; };
@@ -34,10 +34,34 @@ status = "okay"; }; +&mmc1 { + pinctrl-names = "default"; + pinctrl-0 = <&mmc1_pins>; + vmmc-supply = <®_dcdc1>; + /* + * Schematic shows both dldo4 and eldo1 connected for vcc-io-wifi, but + * dldo4 connection shows DNP(Do Not Populate) and eldo1 connected with + * 0Ohm register to vcc-io-wifi so eldo1 is used. + */ + vqmmc-supply = <®_eldo1>; + mmc-pwrseq = <&wifi_pwrseq>; + bus-width = <4>; + non-removable; + status = "okay"; + + brcmf: wifi at 1 { + reg = <1>; + compatible = "brcm,bcm4329-fmac"; + interrupt-parent = <&r_pio>; + interrupts = <0 3 IRQ_TYPE_LEVEL_LOW>; /* WL-WAKE-AP: PL3 */ + interrupt-names = "host-wake"; + }; +}; + &mmc2 { pinctrl-names = "default"; pinctrl-0 = <&mmc2_pins>; - vmmc-supply = <®_vcc3v3>; + vmmc-supply = <®_dcdc1>; bus-width = <8>; non-removable; cap-mmc-hw-reset;
@@ -48,9 +72,138 @@ status = "okay"; }; +&r_rsb { + status = "okay"; + + axp803: pmic at 3a3 { + compatible = "x-powers,axp803"; + reg = <0x3a3>; + interrupt-parent = <&r_intc>; + interrupts = <0 IRQ_TYPE_LEVEL_LOW>; + x-powers,drive-vbus-en; /* set N_VBUSEN as output pin */ + }; +}; + +#include "axp803.dtsi" + +®_aldo1 { + regulator-always-on; + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <2800000>; + regulator-name = "avdd-csi"; +}; + +®_aldo2 { + regulator-always-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-name = "vcc-pl"; +}; + +®_aldo3 { + regulator-always-on; + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3000000>; + regulator-name = "vcc-pll-avcc"; +}; + +®_dcdc1 { + regulator-always-on; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-name = "vcc-3v3"; +}; + +®_dcdc2 { + regulator-always-on; + regulator-min-microvolt = <1040000>; + regulator-max-microvolt = <1300000>; + regulator-name = "vdd-cpux"; +}; + +/* DCDC3 is polyphased with DCDC2 */ + +®_dcdc5 { + regulator-always-on; + regulator-min-microvolt = <1500000>; + regulator-max-microvolt = <1500000>; + regulator-name = "vcc-dram"; +}; + +®_dcdc6 { + regulator-always-on; + regulator-min-microvolt = <1100000>; + regulator-max-microvolt = <1100000>; + regulator-name = "vdd-sys"; +}; + +®_dldo1 { + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-name = "vcc-hdmi-dsi-sensor"; +}; + +®_dldo2 { + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-name = "vcc-mipi"; +}; + +®_dldo3 { + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <2800000>; + regulator-name = "dovdd-csi"; +}; + +®_dldo4 { + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-name = "vcc-wifi-io"; +}; + +®_drivevbus { + regulator-name = "usb0-vbus"; + status = "okay"; +}; + +®_eldo1 { + regulator-always-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-name = "cpvdd"; +}; + +®_eldo3 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-name = "dvdd-csi"; +}; + +®_fldo1 { + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-name = "vcc-1v2-hsic"; +}; + +/* + * The A64 chip cannot work without this regulator off, although + * it seems to be only driving the AR100 core. + * Maybe we don't still know well about CPUs domain. + */ +®_fldo2 { + regulator-always-on; + regulator-min-microvolt = <1100000>; + regulator-max-microvolt = <1100000>; + regulator-name = "vdd-cpus"; +}; + +®_rtc_ldo { + regulator-name = "vcc-rtc"; +}; + &uart0 { pinctrl-names = "default"; - pinctrl-0 = <&uart0_pins_a>; + pinctrl-0 = <&uart0_pb_pins>; status = "okay"; };
@@ -61,5 +214,6 @@ &usbphy { usb0_id_det-gpios = <&pio 7 9 GPIO_ACTIVE_HIGH>; /* PH9 */ + usb0_vbus-supply = <®_drivevbus>; status = "okay"; };
arch/arm/dts/sun50i-a64-bananapi-m64.dts +32 -2
@@ -60,6 +60,17 @@ stdout-path = "serial0:115200n8"; }; + hdmi-connector { + compatible = "hdmi-connector"; + type = "a"; + + port { + hdmi_con_in: endpoint { + remote-endpoint = <&hdmi_out_con>; + }; + }; + }; + leds { compatible = "gpio-leds";
@@ -86,6 +97,10 @@ }; }; +&de { + status = "okay"; +}; + &ehci0 { status = "okay"; };
@@ -103,6 +118,17 @@ status = "okay"; }; +&hdmi { + hvcc-supply = <®_dldo1>; + status = "okay"; +}; + +&hdmi_out { + hdmi_out_con: endpoint { + remote-endpoint = <&hdmi_con_in>; + }; +}; + &i2c1 { pinctrl-names = "default"; pinctrl-0 = <&i2c1_pins>;
@@ -151,7 +177,7 @@ &mmc2 { pinctrl-names = "default"; - pinctrl-0 = <&mmc2_pins>; + pinctrl-0 = <&mmc2_pins>, <&mmc2_ds_pin>; vmmc-supply = <®_dcdc1>; bus-width = <8>; non-removable;
@@ -296,9 +322,13 @@ regulator-name = "vcc-rtc"; }; +&simplefb_hdmi { + vcc-hdmi-supply = <®_dldo1>; +}; + &uart0 { pinctrl-names = "default"; - pinctrl-0 = <&uart0_pins_a>; + pinctrl-0 = <&uart0_pb_pins>; status = "okay"; };
arch/arm/dts/sun50i-a64-nanopi-a64.dts +85 -4
133 lines not on this page · raw message
arch/arm/dts/sun50i-a64-olinuxino.dts +100 -3
154 lines not on this page · raw message
arch/arm/dts/sun50i-a64-orangepi-win.dts +173 -6
235 lines not on this page · raw message
arch/arm/dts/sun50i-a64-pine64.dts +31 -1
@@ -62,6 +62,21 @@ chosen { stdout-path = "serial0:115200n8"; }; + + hdmi-connector { + compatible = "hdmi-connector"; + type = "a"; + + port { + hdmi_con_in: endpoint { + remote-endpoint = <&hdmi_out_con>; + }; + }; + }; +}; + +&de { + status = "okay"; }; &ehci0 {
@@ -82,6 +97,17 @@ }; +&hdmi { + hvcc-supply = <®_dldo1>; + status = "okay"; +}; + +&hdmi_out { + hdmi_out_con: endpoint { + remote-endpoint = <&hdmi_con_in>; + }; +}; + &i2c1 { pinctrl-names = "default"; pinctrl-0 = <&i2c1_pins>;
@@ -229,6 +255,10 @@ regulator-name = "vcc-rtc"; }; +&simplefb_hdmi { + vcc-hdmi-supply = <®_dldo1>; +}; + /* On Euler connector */ &spdif { status = "disabled";
@@ -237,7 +267,7 @@ /* On Exp and Euler connectors */ &uart0 { pinctrl-names = "default"; - pinctrl-0 = <&uart0_pins_a>; + pinctrl-0 = <&uart0_pb_pins>; status = "okay"; };
arch/arm/dts/sun50i-a64-sopine-baseboard.dts +31 -1
@@ -61,6 +61,17 @@ stdout-path = "serial0:115200n8"; }; + hdmi-connector { + compatible = "hdmi-connector"; + type = "a"; + + port { + hdmi_con_in: endpoint { + remote-endpoint = <&hdmi_out_con>; + }; + }; + }; + reg_vcc1v8: vcc1v8 { compatible = "regulator-fixed"; regulator-name = "vcc1v8";
@@ -69,6 +80,10 @@ }; }; +&de { + status = "okay"; +}; + &ehci0 { status = "okay"; };
@@ -86,6 +101,17 @@ status = "okay"; }; +&hdmi { + hvcc-supply = <®_dldo1>; + status = "okay"; +}; + +&hdmi_out { + hdmi_out_con: endpoint { + remote-endpoint = <&hdmi_con_in>; + }; +}; + &mdio { ext_rgmii_phy: ethernet-phy at 1 { compatible = "ethernet-phy-ieee802.3-c22";
@@ -134,9 +160,13 @@ regulator-name = "vcc-wifi"; }; +&simplefb_hdmi { + vcc-hdmi-supply = <®_dldo1>; +}; + &uart0 { pinctrl-names = "default"; - pinctrl-0 = <&uart0_pins_a>; + pinctrl-0 = <&uart0_pb_pins>; status = "okay"; };
arch/arm/dts/sun50i-a64-sopine.dtsi +15 -0
@@ -45,6 +45,8 @@ #include "sun50i-a64.dtsi" +#include <dt-bindings/gpio/gpio.h> + &mmc0 { pinctrl-names = "default"; pinctrl-0 = <&mmc0_pins>;
@@ -52,6 +54,7 @@ non-removable; disable-wp; bus-width = <4>; + cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */ status = "okay"; };
@@ -66,6 +69,18 @@ }; }; +&spi0 { + status = "okay"; + + flash at 0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <40000000>; + }; +}; + #include "axp803.dtsi" ®_aldo2 {
arch/arm/dts/sun50i-a64.dtsi +292 -21
431 lines not on this page · raw message
Signature · 1 line
2.14.5
PATCH 2/4 sunxi: A64: Re-add syscon to DT node
In reply to Andre PrzywaraThe sun50i-a64.dtsi changes introduced in Linux v4.19-rc1 changed the compatible name for the syscon controller, dropping the generic "syscon" fallback. Using this new DT node will make the Ethernet driver in every older kernel (or non-Linux kernels) fail to initialise the MAC device.
To allow booting distribution kernels (from installer images via UEFI, for instance), re-add the syscon compatible string as a fallback. This works with both older and newer kernels.
--- arch/arm/dts/sun50i-a64.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm/dts/sun50i-a64.dtsi +2 -1
@@ -259,7 +259,8 @@ }; syscon: syscon at 1c00000 { - compatible = "allwinner,sun50i-a64-system-control"; + compatible = "allwinner,sun50i-a64-system-control", + "syscon"; reg = <0x01c00000 0x1000>; #address-cells = <1>; #size-cells = <1>;
Signature · 1 line
2.14.5
PATCH 3/4 sunxi: H3/H5: Update .dts files
In reply to Andre PrzywaraUpdate the .dts/.dtsi files from the Linux sunxi/dt64-for-4.20 tree:
commit 679294497be31596e1c9c61507746d72b6b05f26
Author: Rodrigo Exterckötter Tjäder <[email protected]>
Date: Wed Sep 26 19:48:24 2018 +0000
arm64: dts: allwinner: a64: a64-olinuxino: set the PHY TX delay
--- arch/arm/dts/sun50i-h5-orangepi-pc2.dts | 12 +++++++++++ arch/arm/dts/sun50i-h5-orangepi-zero-plus.dts | 2 -- arch/arm/dts/sun8i-h3.dtsi | 31 +++++++++++++++++++++++++++ arch/arm/dts/sunxi-h3-h5.dtsi | 2 -- 4 files changed, 43 insertions(+), 4 deletions(-)
arch/arm/dts/sun50i-h5-orangepi-pc2.dts +12 -0
@@ -207,6 +207,18 @@ status = "okay"; }; +&spi0 { + status = "okay"; + + flash at 0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <40000000>; + }; +}; + &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_pins_a>;
arch/arm/dts/sun50i-h5-orangepi-zero-plus.dts +0 -2
@@ -105,7 +105,6 @@ }; }; -/* &spi0 { status = "okay";
@@ -117,7 +116,6 @@ spi-max-frequency = <40000000>; }; }; -*/ &ohci0 { status = "okay";
arch/arm/dts/sun8i-h3.dtsi +31 -0
@@ -84,21 +84,30 @@ compatible = "arm,cortex-a7"; device_type = "cpu"; reg = <1>; + clocks = <&ccu CLK_CPUX>; + clock-names = "cpu"; operating-points-v2 = <&cpu0_opp_table>; + #cooling-cells = <2>; }; cpu at 2 { compatible = "arm,cortex-a7"; device_type = "cpu"; reg = <2>; + clocks = <&ccu CLK_CPUX>; + clock-names = "cpu"; operating-points-v2 = <&cpu0_opp_table>; + #cooling-cells = <2>; }; cpu at 3 { compatible = "arm,cortex-a7"; device_type = "cpu"; reg = <3>; + clocks = <&ccu CLK_CPUX>; + clock-names = "cpu"; operating-points-v2 = <&cpu0_opp_table>; + #cooling-cells = <2>; }; };
@@ -111,6 +120,28 @@ }; soc { + system-control at 1c00000 { + compatible = "allwinner,sun8i-h3-system-control"; + reg = <0x01c00000 0x30>; + #address-cells = <1>; + #size-cells = <1>; + ranges; + + sram_c: sram at 1d00000 { + compatible = "mmio-sram"; + reg = <0x01d00000 0x80000>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0x01d00000 0x80000>; + + ve_sram: sram-section at 0 { + compatible = "allwinner,sun8i-h3-sram-c1", + "allwinner,sun4i-a10-sram-c1"; + reg = <0x000000 0x80000>; + }; + }; + }; + mali: gpu at 1c40000 { compatible = "allwinner,sun8i-h3-mali", "arm,mali-400"; reg = <0x01c40000 0x10000>;
arch/arm/dts/sunxi-h3-h5.dtsi +0 -2
@@ -506,8 +506,6 @@ reset-names = "stmmaceth"; clocks = <&ccu CLK_BUS_EMAC>; clock-names = "stmmaceth"; - #address-cells = <1>; - #size-cells = <0>; status = "disabled"; mdio: mdio {
Signature · 1 line
2.14.5
PATCH 4/4 sunxi: A64: Add Pine64-LTS board
In reply to Andre PrzywaraThe Pine64 LTS is an updated version of the Pine64, copying the technical updates from the SoPine platform: LPDDR3 DRAM, eMMC socket and soldered SPI flash chip, even the broken SD card detect pin has been copied. Consequently this leads to the .dts (copied from the kernel) just including the SoPine baseboard .dts, and the defconfig being almost identical. Nevertheless the boards deserves a separate config.
--- arch/arm/dts/sun50i-a64-pine64-lts.dts | 13 +++++++++++++ configs/pine64-lts_defconfig | 19 +++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 arch/arm/dts/sun50i-a64-pine64-lts.dts create mode 100644 configs/pine64-lts_defconfig
arch/arm/dts/sun50i-a64-pine64-lts.dts new file +13 -0
@@ -0,0 +1,13 @@ +/* + * SPDX-License-Identifier: (GPL-2.0+ OR MIT) + * + * Copyright (c) 2018 ARM Ltd. + */ + +#include "sun50i-a64-sopine-baseboard.dts" + +/ { + model = "Pine64 LTS"; + compatible = "pine64,pine64-lts", "allwinner,sun50i-r18", + "allwinner,sun50i-a64"; +};
configs/pine64-lts_defconfig new file +19 -0
@@ -0,0 +1,19 @@ +CONFIG_ARM=y +CONFIG_ARCH_SUNXI=y +CONFIG_SPL=y +CONFIG_MACH_SUN50I=y +CONFIG_SUNXI_DRAM_LPDDR3_STOCK=y +CONFIG_DRAM_CLK=552 +CONFIG_DRAM_ZQ=3881949 +CONFIG_MMC0_CD_PIN="" +CONFIG_MMC_SUNXI_SLOT_EXTRA=2 +CONFIG_SPL_SPI_SUNXI=y +CONFIG_NR_DRAM_BANKS=1 +# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set +# CONFIG_CMD_FLASH is not set +# CONFIG_SPL_DOS_PARTITION is not set +# CONFIG_SPL_EFI_PARTITION is not set +CONFIG_DEFAULT_DEVICE_TREE="sun50i-a64-pine64-lts" +CONFIG_SUN8I_EMAC=y +CONFIG_USB_EHCI_HCD=y +CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y
Signature · 1 line
2.14.5
cover sunxi: A64/H3/H5 DT updates
In reply to Andre PrzywaraQuoted 12 lines · Andre Przywara
This updates the .dts and .dtsi files used in U-Boot to what will become the new DTs in Linux 4.20 (anytime soon).
Those updates are not too useful for U-Boot itself, but keep the DTs consistent and allow to directly pass U-Boot's copy to any kernel, by using $fdtcontroladdr.
There is a small change in the A64 .dtsi, which breaks compatibility with older kernels (stable releases and those found on distro installer images), so the second patch fixes this by re-adding the missing compatible string to the system controller node.
The updates include the H5 and also H3, as they are very close and need to be updated together.
Quoted 6 lines
I ran into issues with the H6, so will post an update for that later.
I see that this somewhat overlaps with Vasily's Pinebook series, I am happy to arrange something here. Originally I wanted to wait for the files to hit Linus' tree (to get stable commit IDs), but I sending this now to not block Vasily.
Maxime
Signature · 10 lines
Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 228 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181029/a3894159/attachment.sig>
cover sunxi: A64/H3/H5 DT updates
In reply to Andre PrzywaraQuoted 13 lines · Andre Przywara
This updates the .dts and .dtsi files used in U-Boot to what will become the new DTs in Linux 4.20 (anytime soon).
Those updates are not too useful for U-Boot itself, but keep the DTs consistent and allow to directly pass U-Boot's copy to any kernel, by using $fdtcontroladdr.
There is a small change in the A64 .dtsi, which breaks compatibility with older kernels (stable releases and those found on distro installer images), so the second patch fixes this by re-adding the missing compatible string to the system controller node.
The updates include the H5 and also H3, as they are very close and need to be updated together.
Quoted 6 lines
I ran into issues with the H6, so will post an update for that later.
I see that this somewhat overlaps with Vasily's Pinebook series, I am happy to arrange something here. Originally I wanted to wait for the files to hit Linus' tree (to get stable commit IDs), but I sending this now to not block Vasily.
So, does this sync is on top of pinebook dts sync patch[1]? if ie case then we can squash 1/4 with [1] so all sync changes in one commit.
cover sunxi: A64/H3/H5 DT updates
Quoted 17 lines · Jagan Teki
Quoted 15 lines · Andre Przywara
This updates the .dts and .dtsi files used in U-Boot to what will become the new DTs in Linux 4.20 (anytime soon).
Those updates are not too useful for U-Boot itself, but keep the DTs consistent and allow to directly pass U-Boot's copy to any kernel, by using $fdtcontroladdr.
There is a small change in the A64 .dtsi, which breaks compatibility with older kernels (stable releases and those found on distro installer images), so the second patch fixes this by re-adding the missing compatible string to the system controller node.
The updates include the H5 and also H3, as they are very close and need to be updated together.I ran into issues with the H6, so will post an update for that later.
Quoted 7 lines
Quoted 4 lines
I see that this somewhat overlaps with Vasily's Pinebook series, I am happy to arrange something here. Originally I wanted to wait for the files to hit Linus' tree (to get stable commit IDs), but I sending this now to not block Vasily.
So, does this sync is on top of pinebook dts sync patch[1]? if ie case then we can squash 1/4 with [1] so all sync changes in one commit.
Just merge Andre's patches, I'll rebase mine on top of his and resend.
Quoted 1 line
cover sunxi: A64/H3/H5 DT updates
Quoted 24 lines · Vasily Khoruzhick
Quoted 22 lines · Jagan Teki
Quoted 19 lines · Andre Przywara
This updates the .dts and .dtsi files used in U-Boot to what will become the new DTs in Linux 4.20 (anytime soon).
Those updates are not too useful for U-Boot itself, but keep the DTs consistent and allow to directly pass U-Boot's copy to any kernel, by using $fdtcontroladdr.
There is a small change in the A64 .dtsi, which breaks compatibility with older kernels (stable releases and those found on distro installer images), so the second patch fixes this by re-adding the missing compatible string to the system controller node.
The updates include the H5 and also H3, as they are very close and need to be updated together.I ran into issues with the H6, so will post an update for that later.
I see that this somewhat overlaps with Vasily's Pinebook series, I am happy to arrange something here. Originally I wanted to wait for the files to hit Linus' tree (to get stable commit IDs), but I sending this now to not block Vasily.
Quoted 4 lines
Quoted 2 lines
So, does this sync is on top of pinebook dts sync patch[1]? if ie case then we can squash 1/4 with [1] so all sync changes in one commit.
Just merge Andre's patches, I'll rebase mine on top of his and resend.
Marked as "Waiting for Upstream" in patchwork, will push it MW, just send your series on top it.
cover sunxi: A64/H3/H5 DT updates
Quoted 2 lines · Jagan Teki
Marked as "Waiting for Upstream" in patchwork, will push it MW, just send your series on top it.
I've just sent v5, see
https://patchwork.ozlabs.org/project/uboot/list/?series=74203
Please note that my series depends on this series.
cover sunxi: A64/H3/H5 DT updates
In reply to Andre PrzywaraQuoted 20 lines · Andre Przywara
This updates the .dts and .dtsi files used in U-Boot to what will become the new DTs in Linux 4.20 (anytime soon).
Those updates are not too useful for U-Boot itself, but keep the DTs consistent and allow to directly pass U-Boot's copy to any kernel, by using $fdtcontroladdr.
There is a small change in the A64 .dtsi, which breaks compatibility with older kernels (stable releases and those found on distro installer images), so the second patch fixes this by re-adding the missing compatible string to the system controller node.
The updates include the H5 and also H3, as they are very close and need to be updated together.I ran into issues with the H6, so will post an update for that later.
I see that this somewhat overlaps with Vasily's Pinebook series, I am happy to arrange something here. Originally I wanted to wait for the files to hit Linus' tree (to get stable commit IDs), but I sending this now to not block Vasily.
Quoted 8 lines
Cheers,
Andre.Andre Przywara (4):
sunxi: A64: Update .dts/.dtsi files
sunxi: A64: Re-add syscon to DT node
sunxi: H3/H5: Update .dts files
sunxi: A64: Add Pine64-LTS board
Applied to u-boot-sunxi/master