ARM64: dts: meson: accept MAC addr from u-boot environment
Subsystems (2)
PATCH 1/1 ARM64: dts: meson: accept MAC addr from u-boot environment
Extend configuring the MAC address from u-boot to all meson boards.
I didn't test this changeset but having checked libretech's u-boot tree I believe it should just work.
Signed-off-by Jorge Ramirez-Ortiz <[email protected]>
--- arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi | 1 + arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts | 1 + arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts | 1 + arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 1 + arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi | 1 + arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi | 1 + arch/arm64/boot/dts/amlogic/meson-gxl-s905x-hwacom-amazetv.dts | 1 + arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts | 1 + arch/arm64/boot/dts/amlogic/meson-gxl-s905x-nexbox-a95x.dts | 1 + arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dtsi | 1 + arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts | 1 + arch/arm64/boot/dts/amlogic/meson-gxm-rbox-pro.dts | 1 + 12 files changed, 12 insertions(+)
arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi +1 -0
@@ -48,6 +48,7 @@ / { aliases { serial0 = &uart_AO; + ethernet0 = ðmac; }; chosen {
arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts +1 -0
@@ -52,6 +52,7 @@ aliases { serial0 = &uart_AO; + ethernet0 = ðmac; }; chosen {
arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts +1 -0
@@ -54,6 +54,7 @@ aliases { serial0 = &uart_AO; + ethernet0 = ðmac; }; chosen {
arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts +1 -0
@@ -53,6 +53,7 @@ aliases { serial0 = &uart_AO; + ethernet0 = ðmac; }; chosen {
arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi +1 -0
@@ -47,6 +47,7 @@ / { aliases { serial0 = &uart_AO; + ethernet0 = ðmac; }; chosen {
arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi +1 -0
@@ -47,6 +47,7 @@ aliases { serial0 = &uart_AO; + ethernet0 = ðmac; }; chosen {
arch/arm64/boot/dts/amlogic/meson-gxl-s905x-hwacom-amazetv.dts +1 -0
@@ -16,6 +16,7 @@ aliases { serial0 = &uart_AO; + ethernet0 = ðmac; }; chosen {
arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts +1 -0
@@ -29,6 +29,7 @@ aliases { serial2 = &uart_AO_B; + ethernet0 = ðmac; }; gpio-keys-polled {
arch/arm64/boot/dts/amlogic/meson-gxl-s905x-nexbox-a95x.dts +1 -0
@@ -52,6 +52,7 @@ aliases { serial0 = &uart_AO; + ethernet0 = ðmac; }; chosen {
arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dtsi +1 -0
@@ -17,6 +17,7 @@ aliases { serial0 = &uart_AO; serial1 = &uart_A; + ethernet0 = ðmac; }; chosen {
arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts +1 -0
@@ -54,6 +54,7 @@ aliases { serial0 = &uart_AO; + ethernet0 = ðmac; }; chosen {
arch/arm64/boot/dts/amlogic/meson-gxm-rbox-pro.dts +1 -0
@@ -58,6 +58,7 @@ aliases { serial0 = &uart_AO; + ethernet0 = ðmac; }; chosen {
Signature · 1 line
2.7.4
Kevin Hilman
maintainerQuoted 6 lines · Jorge Ramirez-Ortiz
Extend configuring the MAC address from u-boot to all meson boards.
I didn't test this changeset but having checked libretech's u-boot tree I believe it should just work.
Signed-off-by Jorge Ramirez-Ortiz <[email protected]>
Applied for v4.17, let's see we find any breakage in linux-next,
Kevin