ARM64: meson: DT cleanups
Subsystems (2)
cover ARM64: meson: DT cleanups
Hello,
This series fixes several cosmetic issues, on top of v4.11/dt64 branch.
Patches 3-5 rename a node, the rest should all be non-functional changes. Patches 10-18 could be squashed if desired.
Regards,
Andreas
Andreas F?rber (18):
Documentation: devicetree: amlogic: Reorder boards
ARM64: dts: amlogic: Sort Makefile
ARM64: dts: meson-gxbb-vega-s95: Fix Wifi node name
ARM64: dts: meson-gxbb-p20x: Fix Wifi node name
ARM64: dts: meson-gx-p23x-q20x: Fix Wifi node name
ARM64: dts: meson-gxm-nexbox-a1: Drop UART comment
ARM64: dts: meson-gxl-s905x: Comment typo fix
ARM64: dts: meson-gxm: Drop trailing white line
ARM64: dts: meson-gxbb-wetek-hub: Reference CVBS node by label
ARM64: dts: meson-gxbb: Reorder nodes
ARM64: dts: meson-gxbb-odroidc2: Reorder nodes
ARM64: dts: meson-gxbb-vega-s95: Reorder nodes
ARM64: dts: meson-gxbb-nexbox-a95x: Reorder nodes
ARM64: dts: meson-gxbb-p20x: Reorder nodes
ARM64: dts: meson-gxl: Reorder nodes
ARM64: dts: meson-gxl-s905x-nexbox-a95x: Reorder nodes
ARM64: dts: meson-gxm-nexbox-a1: Reorder nodes
ARM64: dts: meson-gx-p23x-q20x: Reorder nodes
Documentation/devicetree/bindings/arm/amlogic.txt | 19 ++++-- arch/arm64/boot/dts/amlogic/Makefile | 4 +- .../arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi | 26 ++++---- .../boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts | 28 ++++---- .../arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 52 +++++++-------- arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi | 58 ++++++++--------- .../boot/dts/amlogic/meson-gxbb-vega-s95.dtsi | 53 ++++++++------- .../boot/dts/amlogic/meson-gxbb-wetek-hub.dts | 6 +- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 76 +++++++++++----------- .../dts/amlogic/meson-gxl-s905x-nexbox-a95x.dts | 28 ++++---- arch/arm64/boot/dts/amlogic/meson-gxl-s905x.dtsi | 2 +- arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 40 ++++++------ .../arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts | 59 +++++++++-------- arch/arm64/boot/dts/amlogic/meson-gxm.dtsi | 1 - 14 files changed, 228 insertions(+), 224 deletions(-)
Signature · 1 line
2.10.2
PATCH 1/18 Documentation: devicetree: amlogic: Reorder boards
Enforce groupment by SoCs and order alphabetically within the group (with some exceptions). This should facilitate adding new boards.
--- Documentation/devicetree/bindings/arm/amlogic.txt | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-)
Documentation/devicetree/bindings/arm/amlogic.txt +13 -6
@@ -29,23 +29,30 @@ Boards with the Amlogic Meson GXM S912 SoC shall have the following properties: Required root node property: compatible: "amlogic,s912", "amlogic,meson-gxm"; -Board compatible values: +Board compatible values (grouped by SoC): + - "geniatech,atv1200" (Meson6) + - "minix,neo-x8" (Meson8) - - "tronfy,mxq" (Meson8b) + - "hardkernel,odroid-c1" (Meson8b) + - "tronfy,mxq" (Meson8b) + + - "amlogic,p200" (Meson gxbb) + - "amlogic,p201" (Meson gxbb) + - "hardkernel,odroid-c2" (Meson gxbb) + - "nexbox,a95x" (Meson gxbb or Meson gxl s905x) - "tronsmart,vega-s95-pro", "tronsmart,vega-s95" (Meson gxbb) - "tronsmart,vega-s95-meta", "tronsmart,vega-s95" (Meson gxbb) - "tronsmart,vega-s95-telos", "tronsmart,vega-s95" (Meson gxbb) - - "hardkernel,odroid-c2" (Meson gxbb) - - "amlogic,p200" (Meson gxbb) - - "amlogic,p201" (Meson gxbb) - "wetek,hub" (Meson gxbb) - "wetek,play2" (Meson gxbb) + - "amlogic,p212" (Meson gxl s905x) + - "amlogic,p230" (Meson gxl s905d) - "amlogic,p231" (Meson gxl s905d) + - "amlogic,q200" (Meson gxm s912) - "amlogic,q201" (Meson gxm s912) - - "nexbox,a95x" (Meson gxbb or Meson gxl s905x) - "nexbox,a1" (Meson gxm s912)
Signature · 1 line
2.10.2
Rob Herring
maintainerRe: [PATCH 01/18] Documentation: devicetree: amlogic: Reorder boards
Quoted 13 lines · Andreas F?rber
Enforce groupment by SoCs and order alphabetically within the group (with some exceptions). This should facilitate adding new boards.
Signed-off-by Andreas F?rber <[email protected]>--- Documentation/devicetree/bindings/arm/amlogic.txt | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-)Documentation/devicetree/bindings/arm/amlogic.txt +0
-0
Documentation/devicetree/bindings/arm/amlogic.txt Boards with the Amlogic Meson GXM S912 SoC shall have the following properties: · line 32
Quoted 5 lines
Documentation/devicetree/bindings/arm/amlogic.txt +1
-1@@ -29,23 +29,30 @@ Boards with the Amlogic Meson GXM S912 SoC shall have the following properties: Required root node property: compatible: "amlogic,s912", "amlogic,meson-gxm"; -Board compatible values: +Board compatible values (grouped by SoC):
...and alphabetical order within each SoC.
Quoted 34 lines
Documentation/devicetree/bindings/arm/amlogic.txt +12
-5+ - "geniatech,atv1200" (Meson6) + - "minix,neo-x8" (Meson8) - - "tronfy,mxq" (Meson8b) + - "hardkernel,odroid-c1" (Meson8b) + - "tronfy,mxq" (Meson8b) + + - "amlogic,p200" (Meson gxbb) + - "amlogic,p201" (Meson gxbb) + - "hardkernel,odroid-c2" (Meson gxbb) + - "nexbox,a95x" (Meson gxbb or Meson gxl s905x) - "tronsmart,vega-s95-pro", "tronsmart,vega-s95" (Meson gxbb) - "tronsmart,vega-s95-meta", "tronsmart,vega-s95" (Meson gxbb) - "tronsmart,vega-s95-telos", "tronsmart,vega-s95" (Meson gxbb) - - "hardkernel,odroid-c2" (Meson gxbb) - - "amlogic,p200" (Meson gxbb) - - "amlogic,p201" (Meson gxbb) - "wetek,hub" (Meson gxbb) - "wetek,play2" (Meson gxbb) + - "amlogic,p212" (Meson gxl s905x) + - "amlogic,p230" (Meson gxl s905d) - "amlogic,p231" (Meson gxl s905d) + - "amlogic,q200" (Meson gxm s912) - "amlogic,q201" (Meson gxm s912) - - "nexbox,a95x" (Meson gxbb or Meson gxl s905x) - "nexbox,a1" (Meson gxm s912)Signature · 1 line
2.10.2
Re: [PATCH 01/18] Documentation: devicetree: amlogic: Reorder boards
Am 23.01.2017 um 17:48 schrieb Rob Herring:
Quoted 17 lines · Andreas F?rber
Quoted 16 lines
Enforce groupment by SoCs and order alphabetically within the group (with some exceptions). This should facilitate adding new boards.
Signed-off-by Andreas F?rber <[email protected]>--- Documentation/devicetree/bindings/arm/amlogic.txt | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-)Documentation/devicetree/bindings/arm/amlogic.txt +0
-0@@ -29,23 +29,30 @@ Boards with the Amlogic Meson GXM S912 SoC shall have the following properties: Required root node property: compatible: "amlogic,s912", "amlogic,meson-gxm";
Quoted 4 lines
Documentation/devicetree/bindings/arm/amlogic.txt Boards with the Amlogic Meson GXM S912 SoC shall have the following properties: · line 32
Quoted 2 lines
Documentation/devicetree/bindings/arm/amlogic.txt +1
-1-Board compatible values: +Board compatible values (grouped by SoC):...and alphabetical order within each SoC.
...except for pro, meta, telos, which are in increasing feature set order - should we reorder them, or ignore but still write alphabetical?
Regards,
Andreas
Quoted 35 lines
Quoted 35 lines
Documentation/devicetree/bindings/arm/amlogic.txt +12
-5+ - "geniatech,atv1200" (Meson6) + - "minix,neo-x8" (Meson8) - - "tronfy,mxq" (Meson8b) + - "hardkernel,odroid-c1" (Meson8b) + - "tronfy,mxq" (Meson8b) + + - "amlogic,p200" (Meson gxbb) + - "amlogic,p201" (Meson gxbb) + - "hardkernel,odroid-c2" (Meson gxbb) + - "nexbox,a95x" (Meson gxbb or Meson gxl s905x) - "tronsmart,vega-s95-pro", "tronsmart,vega-s95" (Meson gxbb) - "tronsmart,vega-s95-meta", "tronsmart,vega-s95" (Meson gxbb) - "tronsmart,vega-s95-telos", "tronsmart,vega-s95" (Meson gxbb) - - "hardkernel,odroid-c2" (Meson gxbb) - - "amlogic,p200" (Meson gxbb) - - "amlogic,p201" (Meson gxbb) - "wetek,hub" (Meson gxbb) - "wetek,play2" (Meson gxbb) + - "amlogic,p212" (Meson gxl s905x) + - "amlogic,p230" (Meson gxl s905d) - "amlogic,p231" (Meson gxl s905d) + - "amlogic,q200" (Meson gxm s912) - "amlogic,q201" (Meson gxm s912) - - "nexbox,a95x" (Meson gxbb or Meson gxl s905x) - "nexbox,a1" (Meson gxm s912)Signature · 1 line
2.10.2
Signature · 3 lines
SUSE Linux GmbH, Maxfeldstr. 5, 90409 N?rnberg, Germany GF: Felix Imend?rffer, Jane Smithard, Graham Norton HRB 21284 (AG N?rnberg)
PATCH 2/18 ARM64: dts: amlogic: Sort Makefile
In reply to Andreas Färber--- arch/arm64/boot/dts/amlogic/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/amlogic/Makefile +2 -2
@@ -7,13 +7,13 @@ dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-vega-s95-meta.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-vega-s95-telos.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-wetek-hub.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-wetek-play2.dtb +dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-nexbox-a95x.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-p212.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-p230.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-p231.dtb -dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-nexbox-a95x.dtb +dtb-$(CONFIG_ARCH_MESON) += meson-gxm-nexbox-a1.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxm-q200.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxm-q201.dtb -dtb-$(CONFIG_ARCH_MESON) += meson-gxm-nexbox-a1.dtb always := $(dtb-y) subdir-y := $(dts-dirs)
Signature · 1 line
2.10.2
PATCH 3/18 ARM64: dts: meson-gxbb-vega-s95: Fix Wifi node name
In reply to Andreas Färberbcrmf -> brcmf
--- arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi +1 -1
@@ -167,7 +167,7 @@ vmmc-supply = <&vcc_3v3>; vqmmc-supply = <&vcc_1v8>; - brcmf: bcrmf at 1 { + brcmf: brcmf at 1 { reg = <1>; compatible = "brcm,bcm4329-fmac"; };
Signature · 1 line
2.10.2
PATCH 4/18 ARM64: dts: meson-gxbb-p20x: Fix Wifi node name
In reply to Andreas Färberbcrmf -> brcmf
--- arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi +1 -1
@@ -193,7 +193,7 @@ vmmc-supply = <&vddao_3v3>; vqmmc-supply = <&vddio_boot>; - brcmf: bcrmf at 1 { + brcmf: brcmf at 1 { reg = <1>; compatible = "brcm,bcm4329-fmac"; };
Signature · 1 line
2.10.2
Re: [PATCH 04/18] ARM64: dts: meson-gxbb-p20x: Fix Wifi node name
Quoted 15 lines · Andreas F?rber
bcrmf -> brcmf
Fixes ab3943fe57a2 ("ARM64: dts: meson-gxbb: Add P20x Wifi SDIO support")Cc Neil Armstrong <[email protected]>Signed-off-by Andreas F?rber <[email protected]>--- arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi +0
-0
arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi line 199
Quoted 8 lines
arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi +1
-1@@ -193,7 +193,7 @@ vmmc-supply = <&vddao_3v3>; vqmmc-supply = <&vddio_boot>; - brcmf: bcrmf at 1 { + brcmf: brcmf at 1 { reg = <1>; compatible = "brcm,bcm4329-fmac"; };
Good catch !
Rob Herring
maintainerRe: [PATCH 04/18] ARM64: dts: meson-gxbb-p20x: Fix Wifi node name
In reply to Andreas FärberQuoted 14 lines · Andreas F?rber
bcrmf -> brcmf
Fixes ab3943fe57a2 ("ARM64: dts: meson-gxbb: Add P20x Wifi SDIO support")Cc Neil Armstrong <[email protected]>Signed-off-by Andreas F?rber <[email protected]>--- arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi +0
-0
arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi line 196
Quoted 5 lines
arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi +1
-1@@ -193,7 +193,7 @@ vmmc-supply = <&vddao_3v3>; vqmmc-supply = <&vddio_boot>; - brcmf: bcrmf at 1 { + brcmf: brcmf at 1 {
wifi at 1
Quoted 6 lines
arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi +0
-0reg = <1>; compatible = "brcm,bcm4329-fmac"; };Signature · 1 line
2.10.2
Re: [PATCH 04/18] ARM64: dts: meson-gxbb-p20x: Fix Wifi node name
Am 23.01.2017 um 17:50 schrieb Rob Herring:
Quoted 18 lines · Andreas F?rber
Quoted 17 lines
bcrmf -> brcmf
Fixes ab3943fe57a2 ("ARM64: dts: meson-gxbb: Add P20x Wifi SDIO support")Cc Neil Armstrong <[email protected]>Signed-off-by Andreas F?rber <[email protected]>--- arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi +0
-0@@ -193,7 +193,7 @@ vmmc-supply = <&vddao_3v3>; vqmmc-supply = <&vddio_boot>;
Quoted 4 lines
arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi line 196
Quoted 2 lines
arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi +1
-1- brcmf: bcrmf at 1 { + brcmf: brcmf at 1 {wifi at 1
Good point.
Regards,
Andreas
Signature · 3 lines
SUSE Linux GmbH, Maxfeldstr. 5, 90409 N?rnberg, Germany GF: Felix Imend?rffer, Jane Smithard, Graham Norton HRB 21284 (AG N?rnberg)
PATCH 5/18 ARM64: dts: meson-gx-p23x-q20x: Fix Wifi node name
In reply to Andreas Färberbcrmf -> brcmf
--- arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi +1 -1
@@ -133,7 +133,7 @@ vmmc-supply = <&vddao_3v3>; vqmmc-supply = <&vddio_boot>; - brcmf: bcrmf at 1 { + brcmf: brcmf at 1 { reg = <1>; compatible = "brcm,bcm4329-fmac"; };
Signature · 1 line
2.10.2
Re: [PATCH 05/18] ARM64: dts: meson-gx-p23x-q20x: Fix Wifi node name
Quoted 15 lines · Andreas F?rber
bcrmf -> brcmf
Fixes bb51b5350d2f ("ARM64: dts: Add support for Meson GXM")Cc Neil Armstrong <[email protected]>Signed-off-by Andreas F?rber <[email protected]>--- arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi +0
-0
arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi line 139
Quoted 8 lines
arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi +1
-1@@ -133,7 +133,7 @@ vmmc-supply = <&vddao_3v3>; vqmmc-supply = <&vddio_boot>; - brcmf: bcrmf at 1 { + brcmf: brcmf at 1 { reg = <1>; compatible = "brcm,bcm4329-fmac"; };
PATCH 6/18 ARM64: dts: meson-gxm-nexbox-a1: Drop UART comment
In reply to Andreas FärberProduct pictures show no DB9 connector, so this seems copy&paste.
--- arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts | 1 - 1 file changed, 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts +0 -1
@@ -102,7 +102,6 @@ }; }; -/* This UART is brought out to the DB9 connector */ &uart_AO { status = "okay"; pinctrl-0 = <&uart_ao_a_pins>;
Signature · 1 line
2.10.2
Re: [PATCH 06/18] ARM64: dts: meson-gxm-nexbox-a1: Drop UART comment
Quoted 14 lines · Andreas F?rber
Product pictures show no DB9 connector, so this seems copy&paste.
Cc Neil Armstrong <[email protected]>Signed-off-by Andreas F?rber <[email protected]>--- arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts | 1 - 1 file changed, 1 deletion(-)arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts +0
-0
arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts line 107
Quoted 7 lines
arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts +0
-1@@ -102,7 +102,6 @@ }; }; -/* This UART is brought out to the DB9 connector */ &uart_AO { status = "okay"; pinctrl-0 = <&uart_ao_a_pins>;
Exact
PATCH 7/18 ARM64: dts: meson-gxl-s905x: Comment typo fix
In reply to Andreas Färber--- arch/arm64/boot/dts/amlogic/meson-gxl-s905x.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gxl-s905x.dtsi +1 -1
@@ -47,7 +47,7 @@ compatible = "amlogic,s905x", "amlogic,meson-gxl"; }; -/* S905X Only has access to its internal PHY */ +/* S905X only has access to its internal PHY */ ðmac { phy-mode = "rmii"; phy-handle = <&internal_phy>;
Signature · 1 line
2.10.2
Re: [PATCH 07/18] ARM64: dts: meson-gxl-s905x: Comment typo fix
Quoted 12 lines · Andreas F?rber
Cc Neil Armstrong <[email protected]>Signed-off-by Andreas F?rber <[email protected]>--- arch/arm64/boot/dts/amlogic/meson-gxl-s905x.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm64/boot/dts/amlogic/meson-gxl-s905x.dtsi +0
-0
arch/arm64/boot/dts/amlogic/meson-gxl-s905x.dtsi line 53
Quoted 8 lines
arch/arm64/boot/dts/amlogic/meson-gxl-s905x.dtsi +1
-1@@ -47,7 +47,7 @@ compatible = "amlogic,s905x", "amlogic,meson-gxl"; }; -/* S905X Only has access to its internal PHY */ +/* S905X only has access to its internal PHY */ ðmac { phy-mode = "rmii"; phy-handle = <&internal_phy>;
Can't hurt
PATCH 8/18 ARM64: dts: meson-gxm: Drop trailing white line
In reply to Andreas Färber--- arch/arm64/boot/dts/amlogic/meson-gxm.dtsi | 1 - 1 file changed, 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gxm.dtsi +0 -1
@@ -125,4 +125,3 @@ &vpu { compatible = "amlogic,meson-gxm-vpu", "amlogic,meson-gx-vpu"; }; -
Signature · 1 line
2.10.2
PATCH 9/18 ARM64: dts: meson-gxbb-wetek-hub: Reference CVBS node by label
In reply to Andreas Färber--- arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi | 2 +- arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-hub.dts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi +1 -1
@@ -126,7 +126,7 @@ clock-names = "ext_clock"; }; - cvbs-connector { + cvbs_connector: cvbs-connector { compatible = "composite-video-connector"; port {
arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-hub.dts +3 -3
@@ -59,8 +59,8 @@ panic-indicator; }; }; +}; - cvbs-connector { - status = "disabled"; - }; +&cvbs_connector { + status = "disabled"; };
Signature · 1 line
2.10.2
PATCH 9/18 ARM64: dts: meson-gxbb-wetek-hub: Reference CVBS node by label
Quoted 26 lines · Andreas F?rber
Signed-off-by Andreas F?rber <[email protected]>--- arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi | 2 +- arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-hub.dts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-)arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi +1
-1@@ -126,7 +126,7 @@ clock-names = "ext_clock"; }; - cvbs-connector { + cvbs_connector: cvbs-connector { compatible = "composite-video-connector"; port {arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-hub.dts +0
-0@@ -59,8 +59,8 @@ panic-indicator;
arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-hub.dts line 66
Quoted 10 lines
arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-hub.dts +3
-3}; }; +}; - cvbs-connector { - status = "disabled"; - }; +&cvbs_connector { + status = "disabled"; };
Indeed, much cleaner
PATCH 10/18 ARM64: dts: meson-gxbb: Reorder nodes
In reply to Andreas FärberSort nodes referenced by label alphabetically.
--- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 76 ++++++++++++++--------------- 1 file changed, 38 insertions(+), 38 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +38 -38
@@ -97,24 +97,6 @@ }; }; -&cbus { - spifc: spi at 8c80 { - compatible = "amlogic,meson-gxbb-spifc"; - reg = <0x0 0x08c80 0x0 0x80>; - #address-cells = <1>; - #size-cells = <0>; - clocks = <&clkc CLKID_SPI>; - status = "disabled"; - }; -}; - -ðmac { - clocks = <&clkc CLKID_ETH>, - <&clkc CLKID_FCLK_DIV2>, - <&clkc CLKID_MPLL2>; - clock-names = "stmmaceth", "clkin0", "clkin1"; -}; - &aobus { pinctrl_aobus: pinctrl at 14 { compatible = "amlogic,meson-gxbb-aobus-pinctrl";
@@ -230,6 +212,44 @@ }; }; +&cbus { + spifc: spi at 8c80 { + compatible = "amlogic,meson-gxbb-spifc"; + reg = <0x0 0x08c80 0x0 0x80>; + #address-cells = <1>; + #size-cells = <0>; + clocks = <&clkc CLKID_SPI>; + status = "disabled"; + }; +}; + +ðmac { + clocks = <&clkc CLKID_ETH>, + <&clkc CLKID_FCLK_DIV2>, + <&clkc CLKID_MPLL2>; + clock-names = "stmmaceth", "clkin0", "clkin1"; +}; + +&hiubus { + clkc: clock-controller at 0 { + compatible = "amlogic,gxbb-clkc"; + #clock-cells = <1>; + reg = <0x0 0x0 0x0 0x3db>; + }; +}; + +&i2c_A { + clocks = <&clkc CLKID_I2C>; +}; + +&i2c_B { + clocks = <&clkc CLKID_I2C>; +}; + +&i2c_C { + clocks = <&clkc CLKID_I2C>; +}; + &periphs { pinctrl_periphs: pinctrl at 4b0 { compatible = "amlogic,meson-gxbb-periphs-pinctrl";
@@ -470,26 +490,6 @@ }; }; -&hiubus { - clkc: clock-controller at 0 { - compatible = "amlogic,gxbb-clkc"; - #clock-cells = <1>; - reg = <0x0 0x0 0x0 0x3db>; - }; -}; - -&i2c_A { - clocks = <&clkc CLKID_I2C>; -}; - -&i2c_B { - clocks = <&clkc CLKID_I2C>; -}; - -&i2c_C { - clocks = <&clkc CLKID_I2C>; -}; - &sd_emmc_a { clocks = <&clkc CLKID_SD_EMMC_A>, <&xtal>,
Signature · 1 line
2.10.2
Rob Herring
maintainerRe: [PATCH 10/18] ARM64: dts: meson-gxbb: Reorder nodes
Quoted 1 line · Andreas F?rber
Sort nodes referenced by label alphabetically.
Seems to be pointless churn.
Quoted 5 lines
Signed-off-by Andreas F?rber <[email protected]>--- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 76 ++++++++++++++--------------- 1 file changed, 38 insertions(+), 38 deletions(-)
Re: [PATCH 10/18] ARM64: dts: meson-gxbb: Reorder nodes
Am 23.01.2017 um 17:52 schrieb Rob Herring:
Quoted 4 lines · Andreas F?rber
Quoted 1 line
Sort nodes referenced by label alphabetically.
Seems to be pointless churn.
We are constantly adding new nodes, so this avoids duplicates, mismerges and uncertainties of where things should be added. Thought that would be obvious, as I've been asked to do it elsewhere.
It also helps with diff -u'ing .dts files to see actual differences.
Regards,
Andreas
Signature · 3 lines
SUSE Linux GmbH, Maxfeldstr. 5, 90409 N?rnberg, Germany GF: Felix Imend?rffer, Jane Smithard, Graham Norton HRB 21284 (AG N?rnberg)
Re: [PATCH 10/18] ARM64: dts: meson-gxbb: Reorder nodes
In reply to Rob HerringQuoted 4 lines · Rob Herring
Quoted 1 line · Andreas F?rber
Sort nodes referenced by label alphabetically.
Seems to be pointless churn.
Depends - if, as the author of a dts file, I order the nodes alphabetically, and then someone comes along and adds a new node non-alphabetically, meanwhile someone else also adds a node elsewhere in the file which conflicts, git will silently merge the changes without complaint.
Having an alphabetical sorting order means that (a) conflicting changes are more likely to be highlighted, and (b) non-conflicting changes are less likely to cause merge issues.
I've noticed exactly this with clearfog when merging my tree with arm-soc. I have a version of the DSA patch, meanwhile the mvebu people merged the DSA patch. Somehow, the order of nodes in my file are alphabetical, the order in their file has the pinctrl and mdio nodes swapped, which results in totally unnecessary merge conflicts when I try merging the two trees.
It's more, unnecessary work.
So, I'm going to be submitting a patch to fix the mis-ordered nodes in the clearfog dts file today to avoid having to resolve this each time I rebuild my nightly build tree.
Signature · 3 lines
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up according to speedtest.net.
PATCH 11/18 ARM64: dts: meson-gxbb-odroidc2: Reorder nodes
In reply to Andreas FärberSort nodes referenced by label alphabetically.
--- .../arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 52 +++++++++++----------- 1 file changed, 26 insertions(+), 26 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts +26 -26
@@ -137,45 +137,22 @@ }; }; -&uart_AO { - status = "okay"; - pinctrl-0 = <&uart_ao_a_pins>; - pinctrl-names = "default"; -}; - ðmac { status = "okay"; pinctrl-0 = <ð_rgmii_pins>; pinctrl-names = "default"; }; -&ir { - status = "okay"; - pinctrl-0 = <&remote_input_ao_pins>; - pinctrl-names = "default"; -}; - &i2c_A { status = "okay"; pinctrl-0 = <&i2c_a_pins>; pinctrl-names = "default"; }; -&usb0_phy { - status = "okay"; - phy-supply = <&usb_otg_pwr>; -}; - -&usb1_phy { - status = "okay"; -}; - -&usb0 { - status = "okay"; -}; - -&usb1 { +&ir { status = "okay"; + pinctrl-0 = <&remote_input_ao_pins>; + pinctrl-names = "default"; }; /* SD */
@@ -215,3 +192,26 @@ vmmc-supply = <&vcc3v3>; vqmmc-supply = <&vcc1v8>; }; + +&uart_AO { + status = "okay"; + pinctrl-0 = <&uart_ao_a_pins>; + pinctrl-names = "default"; +}; + +&usb0_phy { + status = "okay"; + phy-supply = <&usb_otg_pwr>; +}; + +&usb1_phy { + status = "okay"; +}; + +&usb0 { + status = "okay"; +}; + +&usb1 { + status = "okay"; +};
Signature · 1 line
2.10.2
PATCH 12/18 ARM64: dts: meson-gxbb-vega-s95: Reorder nodes
In reply to Andreas FärberSort nodes referenced by label alphabetically.
--- .../boot/dts/amlogic/meson-gxbb-vega-s95.dtsi | 51 +++++++++++----------- 1 file changed, 25 insertions(+), 26 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi +25 -26
@@ -111,11 +111,10 @@ }; }; -&uart_AO { +ðmac { status = "okay"; - pinctrl-0 = <&uart_ao_a_pins>; + pinctrl-0 = <ð_rgmii_pins>; pinctrl-names = "default"; - }; &ir {
@@ -124,27 +123,12 @@ pinctrl-names = "default"; }; -ðmac { +&pwm_ef { status = "okay"; - pinctrl-0 = <ð_rgmii_pins>; + pinctrl-0 = <&pwm_e_pins>; pinctrl-names = "default"; -}; - -&usb0_phy { - status = "okay"; - phy-supply = <&usb_vbus>; -}; - -&usb1_phy { - status = "okay"; -}; - -&usb0 { - status = "okay"; -}; - -&usb1 { - status = "okay"; + clocks = <&clkc CLKID_FCLK_DIV4>; + clock-names = "clkin0"; }; /* Wireless SDIO Module */
@@ -210,10 +194,25 @@ vmmcq-sumpply = <&vcc_1v8>; }; -&pwm_ef { +&uart_AO { status = "okay"; - pinctrl-0 = <&pwm_e_pins>; + pinctrl-0 = <&uart_ao_a_pins>; pinctrl-names = "default"; - clocks = <&clkc CLKID_FCLK_DIV4>; - clock-names = "clkin0"; +}; + +&usb0_phy { + status = "okay"; + phy-supply = <&usb_vbus>; +}; + +&usb1_phy { + status = "okay"; +}; + +&usb0 { + status = "okay"; +}; + +&usb1 { + status = "okay"; };
Signature · 1 line
2.10.2
PATCH 13/18 ARM64: dts: meson-gxbb-nexbox-a95x: Reorder nodes
In reply to Andreas FärberSort nodes referenced by label alphabetically.
--- .../boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts | 28 +++++++++++----------- 1 file changed, 14 insertions(+), 14 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts +14 -14
@@ -154,10 +154,10 @@ }; }; -&uart_AO { - status = "okay"; - pinctrl-0 = <&uart_ao_a_pins>; - pinctrl-names = "default"; +&cvbs_vdac_port { + cvbs_vdac_out: endpoint { + remote-endpoint = <&cvbs_connector_in>; + }; }; ðmac {
@@ -173,6 +173,14 @@ pinctrl-names = "default"; }; +&pwm_ef { + status = "okay"; + pinctrl-0 = <&pwm_e_pins>; + pinctrl-names = "default"; + clocks = <&clkc CLKID_FCLK_DIV4>; + clock-names = "clkin0"; +}; + /* Wireless SDIO Module */ &sd_emmc_a { status = "okay";
@@ -232,16 +240,8 @@ vqmmc-supply = <&vddio_boot>; }; -&pwm_ef { +&uart_AO { status = "okay"; - pinctrl-0 = <&pwm_e_pins>; + pinctrl-0 = <&uart_ao_a_pins>; pinctrl-names = "default"; - clocks = <&clkc CLKID_FCLK_DIV4>; - clock-names = "clkin0"; -}; - -&cvbs_vdac_port { - cvbs_vdac_out: endpoint { - remote-endpoint = <&cvbs_connector_in>; - }; };
Signature · 1 line
2.10.2
Re: [PATCH 13/18] ARM64: dts: meson-gxbb-nexbox-a95x: Reorder nodes
Quoted 51 lines · Andreas F?rber
Sort nodes referenced by label alphabetically.
Signed-off-by Andreas F?rber <[email protected]>--- .../boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts | 28 +++++++++++----------- 1 file changed, 14 insertions(+), 14 deletions(-)arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts +14
-6@@ -154,10 +154,10 @@ }; }; -&uart_AO { - status = "okay"; - pinctrl-0 = <&uart_ao_a_pins>; - pinctrl-names = "default"; +&cvbs_vdac_port { + cvbs_vdac_out: endpoint { + remote-endpoint = <&cvbs_connector_in>; + }; }; ðmac {@@ -173,6 +173,14 @@ pinctrl-names = "default"; }; +&pwm_ef { + status = "okay"; + pinctrl-0 = <&pwm_e_pins>; + pinctrl-names = "default"; + clocks = <&clkc CLKID_FCLK_DIV4>; + clock-names = "clkin0"; +}; + /* Wireless SDIO Module */ &sd_emmc_a { status = "okay";@@ -232,16 +240,8 @@ vqmmc-supply = <&vddio_boot>; }; -&pwm_ef { +&uart_AO { status = "okay"; - pinctrl-0 = <&pwm_e_pins>; + pinctrl-0 = <&uart_ao_a_pins>;
arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts line 247
Quoted 10 lines
arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts +0
-8pinctrl-names = "default"; - clocks = <&clkc CLKID_FCLK_DIV4>; - clock-names = "clkin0"; -}; - -&cvbs_vdac_port { - cvbs_vdac_out: endpoint { - remote-endpoint = <&cvbs_connector_in>; - }; };
PATCH 14/18 ARM64: dts: meson-gxbb-p20x: Reorder nodes
In reply to Andreas FärberSort nodes referenced by label alphabetically.
--- arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi | 54 ++++++++++++------------ 1 file changed, 27 insertions(+), 27 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi +27 -27
@@ -137,11 +137,10 @@ }; }; -/* This UART is brought out to the DB9 connector */ -&uart_AO { - status = "okay"; - pinctrl-0 = <&uart_ao_a_pins>; - pinctrl-names = "default"; +&cvbs_vdac_port { + cvbs_vdac_out: endpoint { + remote-endpoint = <&cvbs_connector_in>; + }; }; ðmac {
@@ -156,21 +155,12 @@ pinctrl-names = "default"; }; -&usb0_phy { - status = "okay"; - phy-supply = <&usb_pwr>; -}; - -&usb1_phy { - status = "okay"; -}; - -&usb0 { - status = "okay"; -}; - -&usb1 { +&pwm_ef { status = "okay"; + pinctrl-0 = <&pwm_e_pins>; + pinctrl-names = "default"; + clocks = <&clkc CLKID_FCLK_DIV4>; + clock-names = "clkin0"; }; /* Wireless SDIO Module */
@@ -237,16 +227,26 @@ vqmmc-supply = <&vddio_boot>; }; -&pwm_ef { +/* This UART is brought out to the DB9 connector */ +&uart_AO { status = "okay"; - pinctrl-0 = <&pwm_e_pins>; + pinctrl-0 = <&uart_ao_a_pins>; pinctrl-names = "default"; - clocks = <&clkc CLKID_FCLK_DIV4>; - clock-names = "clkin0"; }; -&cvbs_vdac_port { - cvbs_vdac_out: endpoint { - remote-endpoint = <&cvbs_connector_in>; - }; +&usb0_phy { + status = "okay"; + phy-supply = <&usb_pwr>; +}; + +&usb1_phy { + status = "okay"; +}; + +&usb0 { + status = "okay"; +}; + +&usb1 { + status = "okay"; };
Signature · 1 line
2.10.2
PATCH 15/18 ARM64: dts: meson-gxl: Reorder nodes
In reply to Andreas FärberSort nodes referenced by label alphabetically.
--- arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 40 +++++++++++++++--------------- 1 file changed, 20 insertions(+), 20 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gxl.dtsi +20 -20
@@ -120,6 +120,26 @@ }; }; +&hiubus { + clkc: clock-controller at 0 { + compatible = "amlogic,gxl-clkc", "amlogic,gxbb-clkc"; + #clock-cells = <1>; + reg = <0x0 0x0 0x0 0x3db>; + }; +}; + +&i2c_A { + clocks = <&clkc CLKID_I2C>; +}; + +&i2c_B { + clocks = <&clkc CLKID_I2C>; +}; + +&i2c_C { + clocks = <&clkc CLKID_I2C>; +}; + &periphs { pinctrl_periphs: pinctrl at 4b0 { compatible = "amlogic,meson-gxl-periphs-pinctrl";
@@ -320,26 +340,6 @@ }; }; -&hiubus { - clkc: clock-controller at 0 { - compatible = "amlogic,gxl-clkc", "amlogic,gxbb-clkc"; - #clock-cells = <1>; - reg = <0x0 0x0 0x0 0x3db>; - }; -}; - -&i2c_A { - clocks = <&clkc CLKID_I2C>; -}; - -&i2c_B { - clocks = <&clkc CLKID_I2C>; -}; - -&i2c_C { - clocks = <&clkc CLKID_I2C>; -}; - &sd_emmc_a { clocks = <&clkc CLKID_SD_EMMC_A>, <&xtal>,
Signature · 1 line
2.10.2
Re: [PATCH 15/18] ARM64: dts: meson-gxl: Reorder nodes
Quoted 56 lines · Andreas F?rber
Sort nodes referenced by label alphabetically.
Signed-off-by Andreas F?rber <[email protected]>--- arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 40 +++++++++++++++--------------- 1 file changed, 20 insertions(+), 20 deletions(-)arch/arm64/boot/dts/amlogic/meson-gxl.dtsi +20
-13@@ -120,6 +120,26 @@ }; }; +&hiubus { + clkc: clock-controller at 0 { + compatible = "amlogic,gxl-clkc", "amlogic,gxbb-clkc"; + #clock-cells = <1>; + reg = <0x0 0x0 0x0 0x3db>; + }; +}; + +&i2c_A { + clocks = <&clkc CLKID_I2C>; +}; + +&i2c_B { + clocks = <&clkc CLKID_I2C>; +}; + +&i2c_C { + clocks = <&clkc CLKID_I2C>; +}; + &periphs { pinctrl_periphs: pinctrl at 4b0 { compatible = "amlogic,meson-gxl-periphs-pinctrl";@@ -320,26 +340,6 @@ }; }; -&hiubus { - clkc: clock-controller at 0 { - compatible = "amlogic,gxl-clkc", "amlogic,gxbb-clkc"; - #clock-cells = <1>; - reg = <0x0 0x0 0x0 0x3db>; - }; -}; - -&i2c_A { - clocks = <&clkc CLKID_I2C>; -}; - -&i2c_B {
arch/arm64/boot/dts/amlogic/meson-gxl.dtsi line 345
Quoted 10 lines
arch/arm64/boot/dts/amlogic/meson-gxl.dtsi +0
-7- clocks = <&clkc CLKID_I2C>; -}; - -&i2c_C { - clocks = <&clkc CLKID_I2C>; -}; - &sd_emmc_a { clocks = <&clkc CLKID_SD_EMMC_A>, <&xtal>,
PATCH 16/18 ARM64: dts: meson-gxl-s905x-nexbox-a95x: Reorder nodes
In reply to Andreas FärberSort nodes referenced by label alphabetically.
--- .../dts/amlogic/meson-gxl-s905x-nexbox-a95x.dts | 28 +++++++++++----------- 1 file changed, 14 insertions(+), 14 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gxl-s905x-nexbox-a95x.dts +14 -14
@@ -129,10 +129,10 @@ }; }; -&uart_AO { - status = "okay"; - pinctrl-0 = <&uart_ao_a_pins>; - pinctrl-names = "default"; +&cvbs_vdac_port { + cvbs_vdac_out: endpoint { + remote-endpoint = <&cvbs_connector_in>; + }; }; ðmac {
@@ -147,6 +147,14 @@ pinctrl-names = "default"; }; +&pwm_ef { + status = "okay"; + pinctrl-0 = <&pwm_e_pins>; + pinctrl-names = "default"; + clocks = <&clkc CLKID_FCLK_DIV4>; + clock-names = "clkin0"; +}; + /* Wireless SDIO Module */ &sd_emmc_a { status = "okay";
@@ -206,16 +214,8 @@ vqmmc-supply = <&vddio_boot>; }; -&pwm_ef { +&uart_AO { status = "okay"; - pinctrl-0 = <&pwm_e_pins>; + pinctrl-0 = <&uart_ao_a_pins>; pinctrl-names = "default"; - clocks = <&clkc CLKID_FCLK_DIV4>; - clock-names = "clkin0"; -}; - -&cvbs_vdac_port { - cvbs_vdac_out: endpoint { - remote-endpoint = <&cvbs_connector_in>; - }; };
Signature · 1 line
2.10.2
Re: [PATCH 16/18] ARM64: dts: meson-gxl-s905x-nexbox-a95x: Reorder nodes
Quoted 51 lines · Andreas F?rber
Sort nodes referenced by label alphabetically.
Signed-off-by Andreas F?rber <[email protected]>--- .../dts/amlogic/meson-gxl-s905x-nexbox-a95x.dts | 28 +++++++++++----------- 1 file changed, 14 insertions(+), 14 deletions(-)arch/arm64/boot/dts/amlogic/meson-gxl-s905x-nexbox-a95x.dts +14
-6@@ -129,10 +129,10 @@ }; }; -&uart_AO { - status = "okay"; - pinctrl-0 = <&uart_ao_a_pins>; - pinctrl-names = "default"; +&cvbs_vdac_port { + cvbs_vdac_out: endpoint { + remote-endpoint = <&cvbs_connector_in>; + }; }; ðmac {@@ -147,6 +147,14 @@ pinctrl-names = "default"; }; +&pwm_ef { + status = "okay"; + pinctrl-0 = <&pwm_e_pins>; + pinctrl-names = "default"; + clocks = <&clkc CLKID_FCLK_DIV4>; + clock-names = "clkin0"; +}; + /* Wireless SDIO Module */ &sd_emmc_a { status = "okay";@@ -206,16 +214,8 @@ vqmmc-supply = <&vddio_boot>; }; -&pwm_ef { +&uart_AO { status = "okay"; - pinctrl-0 = <&pwm_e_pins>; + pinctrl-0 = <&uart_ao_a_pins>;
arch/arm64/boot/dts/amlogic/meson-gxl-s905x-nexbox-a95x.dts line 221
Quoted 10 lines
arch/arm64/boot/dts/amlogic/meson-gxl-s905x-nexbox-a95x.dts +0
-8pinctrl-names = "default"; - clocks = <&clkc CLKID_FCLK_DIV4>; - clock-names = "clkin0"; -}; - -&cvbs_vdac_port { - cvbs_vdac_out: endpoint { - remote-endpoint = <&cvbs_connector_in>; - }; };
PATCH 17/18 ARM64: dts: meson-gxm-nexbox-a1: Reorder nodes
In reply to Andreas FärberSort nodes referenced by label alphabetically.
--- .../arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts | 58 +++++++++++----------- 1 file changed, 29 insertions(+), 29 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts +29 -29
@@ -102,10 +102,35 @@ }; }; -&uart_AO { +&cvbs_vdac_port { + cvbs_vdac_out: endpoint { + remote-endpoint = <&cvbs_connector_in>; + }; +}; + +ðmac { status = "okay"; - pinctrl-0 = <&uart_ao_a_pins>; + + pinctrl-0 = <ð_pins>; pinctrl-names = "default"; + + /* Select external PHY by default */ + phy-handle = <&external_phy>; + + snps,reset-gpio = <&gpio GPIOZ_14 0>; + snps,reset-delays-us = <0 10000 1000000>; + snps,reset-active-low; + + /* External PHY is in RGMII */ + phy-mode = "rgmii"; +}; + +&external_mdio { + external_phy: ethernet-phy at 0 { + compatible = "ethernet-phy-id001c.c916", "ethernet-phy-ieee802.3-c22"; + reg = <0>; + max-speed = <1000>; + }; }; &ir {
@@ -152,33 +177,8 @@ vqmmc-supply = <&vddio_boot>; }; -ðmac { +&uart_AO { status = "okay"; - - pinctrl-0 = <ð_pins>; + pinctrl-0 = <&uart_ao_a_pins>; pinctrl-names = "default"; - - /* Select external PHY by default */ - phy-handle = <&external_phy>; - - snps,reset-gpio = <&gpio GPIOZ_14 0>; - snps,reset-delays-us = <0 10000 1000000>; - snps,reset-active-low; - - /* External PHY is in RGMII */ - phy-mode = "rgmii"; -}; - -&external_mdio { - external_phy: ethernet-phy at 0 { - compatible = "ethernet-phy-id001c.c916", "ethernet-phy-ieee802.3-c22"; - reg = <0>; - max-speed = <1000>; - }; -}; - -&cvbs_vdac_port { - cvbs_vdac_out: endpoint { - remote-endpoint = <&cvbs_connector_in>; - }; };
Signature · 1 line
2.10.2
Re: [PATCH 17/18] ARM64: dts: meson-gxm-nexbox-a1: Reorder nodes
Quoted 76 lines · Andreas F?rber
Sort nodes referenced by label alphabetically.
Signed-off-by Andreas F?rber <[email protected]>--- .../arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts | 58 +++++++++++----------- 1 file changed, 29 insertions(+), 29 deletions(-)arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts +29
-20@@ -102,10 +102,35 @@ }; }; -&uart_AO { +&cvbs_vdac_port { + cvbs_vdac_out: endpoint { + remote-endpoint = <&cvbs_connector_in>; + }; +}; + +ðmac { status = "okay"; - pinctrl-0 = <&uart_ao_a_pins>; + + pinctrl-0 = <ð_pins>; pinctrl-names = "default"; + + /* Select external PHY by default */ + phy-handle = <&external_phy>; + + snps,reset-gpio = <&gpio GPIOZ_14 0>; + snps,reset-delays-us = <0 10000 1000000>; + snps,reset-active-low; + + /* External PHY is in RGMII */ + phy-mode = "rgmii"; +}; + +&external_mdio { + external_phy: ethernet-phy at 0 { + compatible = "ethernet-phy-id001c.c916", "ethernet-phy-ieee802.3-c22"; + reg = <0>; + max-speed = <1000>; + }; }; &ir {@@ -152,33 +177,8 @@ vqmmc-supply = <&vddio_boot>; }; -ðmac { +&uart_AO { status = "okay"; - - pinctrl-0 = <ð_pins>; + pinctrl-0 = <&uart_ao_a_pins>; pinctrl-names = "default"; - - /* Select external PHY by default */ - phy-handle = <&external_phy>; - - snps,reset-gpio = <&gpio GPIOZ_14 0>; - snps,reset-delays-us = <0 10000 1000000>; - snps,reset-active-low; - - /* External PHY is in RGMII */ - phy-mode = "rgmii"; -}; - -&external_mdio { - external_phy: ethernet-phy at 0 { - compatible = "ethernet-phy-id001c.c916", "ethernet-phy-ieee802.3-c22";
arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts line 184
Quoted 10 lines
arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts +0
-9- reg = <0>; - max-speed = <1000>; - }; -}; - -&cvbs_vdac_port { - cvbs_vdac_out: endpoint { - remote-endpoint = <&cvbs_connector_in>; - }; };
PATCH 18/18 ARM64: dts: meson-gx-p23x-q20x: Reorder nodes
In reply to Andreas FärberSort nodes referenced by label alphabetically.
--- .../arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi | 24 +++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi +12 -12
@@ -100,11 +100,8 @@ }; }; -/* This UART is brought out to the DB9 connector */ -&uart_AO { +ðmac { status = "okay"; - pinctrl-0 = <&uart_ao_a_pins>; - pinctrl-names = "default"; }; &ir {
@@ -113,6 +110,14 @@ pinctrl-names = "default"; }; +&pwm_ef { + status = "okay"; + pinctrl-0 = <&pwm_e_pins>; + pinctrl-names = "default"; + clocks = <&clkc CLKID_FCLK_DIV4>; + clock-names = "clkin0"; +}; + /* Wireless SDIO Module */ &sd_emmc_a { status = "okay";
@@ -177,14 +182,9 @@ vqmmc-supply = <&vddio_boot>; }; -&pwm_ef { +/* This UART is brought out to the DB9 connector */ +&uart_AO { status = "okay"; - pinctrl-0 = <&pwm_e_pins>; + pinctrl-0 = <&uart_ao_a_pins>; pinctrl-names = "default"; - clocks = <&clkc CLKID_FCLK_DIV4>; - clock-names = "clkin0"; -}; - -ðmac { - status = "okay"; };
Signature · 1 line
2.10.2
Re: [PATCH 18/18] ARM64: dts: meson-gx-p23x-q20x: Reorder nodes
Quoted 48 lines · Andreas F?rber
Sort nodes referenced by label alphabetically.
Signed-off-by Andreas F?rber <[email protected]>--- .../arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi | 24 +++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-)arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi +11
-5@@ -100,11 +100,8 @@ }; }; -/* This UART is brought out to the DB9 connector */ -&uart_AO { +ðmac { status = "okay"; - pinctrl-0 = <&uart_ao_a_pins>; - pinctrl-names = "default"; }; &ir {@@ -113,6 +110,14 @@ pinctrl-names = "default"; }; +&pwm_ef { + status = "okay"; + pinctrl-0 = <&pwm_e_pins>; + pinctrl-names = "default"; + clocks = <&clkc CLKID_FCLK_DIV4>; + clock-names = "clkin0"; +}; + /* Wireless SDIO Module */ &sd_emmc_a { status = "okay";@@ -177,14 +182,9 @@ vqmmc-supply = <&vddio_boot>; }; -&pwm_ef { +/* This UART is brought out to the DB9 connector */ +&uart_AO { status = "okay";
arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi line 190
Quoted 10 lines
arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi +1
-7- pinctrl-0 = <&pwm_e_pins>; + pinctrl-0 = <&uart_ao_a_pins>; pinctrl-names = "default"; - clocks = <&clkc CLKID_FCLK_DIV4>; - clock-names = "clkin0"; -}; - -ðmac { - status = "okay"; };
Kevin Hilman
maintainerQuoted 5 lines · Andreas F?rber
Hello,
This series fixes several cosmetic issues, on top of v4.11/dt64 branch.
Patches 3-5 rename a node, the rest should all be non-functional changes.
Can you respin patches 1-9 with minor comments addressed and acks/reviews collected and I'll apply those.
Quoted 1 line
Patches 10-18 could be squashed if desired.
I'm less sure about these as I tend to agree with Rob that this is just needless churn. If you want to resend those separately, making your arguments, I'll merge it if you convice the DT maintainers. :)
Kevin