ARM64: dts: allwinner: Add devicetree for pine H64 modelA evaluation board
Subsystems (2)
PATCH 1/1 ARM64: dts: allwinner: Add devicetree for pine H64 modelA evaluation board
This patch adds the evaluation variant of the model A of the PineH64. The model A has the same size of the pine64 and has a PCIE slot.
The only devicetree difference with current pineH64, is the PHY regulator.
--- arch/arm64/boot/dts/allwinner/Makefile | 1 + .../sun50i-h6-pine-h64-modelA-eval.dts | 26 +++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dts
arch/arm64/boot/dts/allwinner/Makefile +1 -0
@@ -25,3 +25,4 @@ dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-3.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-lite2.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-one-plus.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-pine-h64.dtb +dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-pine-h64-modelA-eval.dtb
arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dts new file +26 -0
@@ -0,0 +1,26 @@ +// SPDX-License-Identifier: (GPL-2.0+ or MIT) +/* + * Copyright (C) 2019 Corentin Labbe <[email protected]> + */ + +#include "sun50i-h6-pine-h64.dts" + +/ { + model = "Pine H64 model A evaluation board"; + compatible = "pine64,pine-h64-modelA-eval", "allwinner,sun50i-h6"; + + reg_gmac_3v3: gmac-3v3 { + compatible = "regulator-fixed"; + regulator-name = "vcc-gmac-3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + startup-delay-us = <100000>; + gpio = <&pio 2 16 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + +}; + +&emac { + phy-supply = <®_gmac_3v3>; +};
Signature · 1 line
2.21.0
Hi,
Quoted 6 lines · Corentin Labbe
This patch adds the evaluation variant of the model A of the PineH64. The model A has the same size of the pine64 and has a PCIE slot.
The only devicetree difference with current pineH64, is the PHY regulator.
You also need to add the board in "Documentation/devicetree/bindings/arm/sunxi.yaml"
Regards,
Clément
Quoted 56 lines
Signed-off-by Corentin Labbe <[email protected]>--- arch/arm64/boot/dts/allwinner/Makefile | 1 + .../sun50i-h6-pine-h64-modelA-eval.dts | 26 +++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dtsarch/arm64/boot/dts/allwinner/Makefile +1
-0@@ -25,3 +25,4 @@ dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-3.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-lite2.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-one-plus.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-pine-h64.dtb +dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-pine-h64-modelA-eval.dtbarch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dts new file +26
-1@@ -0,0 +1,26 @@ +// SPDX-License-Identifier: (GPL-2.0+ or MIT) +/* + * Copyright (C) 2019 Corentin Labbe <[email protected]> + */ + +#include "sun50i-h6-pine-h64.dts" + +/ { + model = "Pine H64 model A evaluation board"; + compatible = "pine64,pine-h64-modelA-eval", "allwinner,sun50i-h6"; + + reg_gmac_3v3: gmac-3v3 { + compatible = "regulator-fixed"; + regulator-name = "vcc-gmac-3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + startup-delay-us = <100000>; + gpio = <&pio 2 16 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + +}; + +&emac { + phy-supply = <®_gmac_3v3>; +}; --2.21.0
--
You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected] To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20190808084253.10573-1-clabbe.montjoie%40gmail.com.
Signature · 3 lines
You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected] To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/CAJiuCccEQFvKemTodJbuEDzDy9j6-M4SYskxPFJ5DpsbQDnvkA%40mail.gmail.com.
Quoted 44 lines · Corentin Labbe
This patch adds the evaluation variant of the model A of the PineH64. The model A has the same size of the pine64 and has a PCIE slot.
The only devicetree difference with current pineH64, is the PHY regulator.
Signed-off-by Corentin Labbe <[email protected]>--- arch/arm64/boot/dts/allwinner/Makefile | 1 + .../sun50i-h6-pine-h64-modelA-eval.dts | 26 +++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dtsarch/arm64/boot/dts/allwinner/Makefile +1
-0@@ -25,3 +25,4 @@ dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-3.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-lite2.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-one-plus.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-pine-h64.dtb +dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-pine-h64-modelA-eval.dtbarch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dts new file +16
-0@@ -0,0 +1,26 @@ +// SPDX-License-Identifier: (GPL-2.0+ or MIT) +/* + * Copyright (C) 2019 Corentin Labbe <[email protected]> + */ + +#include "sun50i-h6-pine-h64.dts" + +/ { + model = "Pine H64 model A evaluation board"; + compatible = "pine64,pine-h64-modelA-eval", "allwinner,sun50i-h6"; + + reg_gmac_3v3: gmac-3v3 { + compatible = "regulator-fixed"; + regulator-name = "vcc-gmac-3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>;
arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dts line 26
Quoted 10 lines
arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dts new file +10
-0+ startup-delay-us = <100000>; + gpio = <&pio 2 16 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + +}; + +&emac { + phy-supply = <®_gmac_3v3>; +};
I might be missing some context here, but I'm pretty sure that the initial intent of the pine h64 DTS was to support the model A all along.
Maxime
--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Jernej Škrabec
maintainerDne četrtek, 08. avgust 2019 ob 10:42:53 CEST je Corentin Labbe napisal(a):
Quoted 5 lines
This patch adds the evaluation variant of the model A of the PineH64. The model A has the same size of the pine64 and has a PCIE slot.
The only devicetree difference with current pineH64, is the PHY regulator.
I have Model A board which also needs ddc-en-gpios property for HDMI connector in order for HDMI to work correctly. Otherwise it will just use 1024x768 resolution. Can you confirm that?
Best regards,
Jernej
Quoted 53 lines
Signed-off-by Corentin Labbe <[email protected]>--- arch/arm64/boot/dts/allwinner/Makefile | 1 + .../sun50i-h6-pine-h64-modelA-eval.dts | 26 +++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644
arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dts(quoted diff) +0
-0b/arch/arm64/boot/dts/allwinner/Makefile index
f6db0611cb85..9a02166cbf72100644arch/arm64/boot/dts/allwinner/Makefile +1
-0@@ -25,3 +25,4 @@ dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-3.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-lite2.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-one-plus.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-pine-h64.dtb +dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-pine-h64-modelA-eval.dtbdiff --git
a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dtsb/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dtsnew file mode 100644
index 000000000000..d8ff02747efearch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dts new file +26
-0@@ -0,0 +1,26 @@ +// SPDX-License-Identifier: (GPL-2.0+ or MIT) +/* + * Copyright (C) 2019 Corentin Labbe <[email protected]> + */ + +#include "sun50i-h6-pine-h64.dts" + +/ { + model = "Pine H64 model A evaluation board"; + compatible = "pine64,pine-h64-modelA-eval", "allwinner,sun50i-h6"; + + reg_gmac_3v3: gmac-3v3 { + compatible = "regulator-fixed"; + regulator-name = "vcc-gmac-3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + startup-delay-us = <100000>; + gpio = <&pio 2 16 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + +}; + +&emac { + phy-supply = <®_gmac_3v3>; +};
Signature · 3 lines
You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected] To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/1648748.TWHgARQioU%40jernej-laptop.
Quoted 7 lines · Clément Péron
Hi,
Quoted 4 lines · Corentin Labbe
This patch adds the evaluation variant of the model A of the PineH64. The model A has the same size of the pine64 and has a PCIE slot.
Quoted 9 lines
Quoted 2 lines
The only devicetree difference with current pineH64, is the PHY regulator.
You also need to add the board in "
Documentation/devicetree/bindings/arm/sunxi.yaml"Regards,
Clément
Done, thanks
Regards
Signature · 3 lines
You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected] To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20190814130752.GA24324%40Red.
Quoted 51 lines · Maxime Ripard
Quoted 50 lines · Corentin Labbe
This patch adds the evaluation variant of the model A of the PineH64. The model A has the same size of the pine64 and has a PCIE slot.
The only devicetree difference with current pineH64, is the PHY regulator.
Signed-off-by Corentin Labbe <[email protected]>--- arch/arm64/boot/dts/allwinner/Makefile | 1 + .../sun50i-h6-pine-h64-modelA-eval.dts | 26 +++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dtsarch/arm64/boot/dts/allwinner/Makefile +1
-0@@ -25,3 +25,4 @@ dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-3.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-lite2.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-one-plus.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-pine-h64.dtb +dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-pine-h64-modelA-eval.dtbarch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dts new file +22
-0@@ -0,0 +1,26 @@ +// SPDX-License-Identifier: (GPL-2.0+ or MIT) +/* + * Copyright (C) 2019 Corentin Labbe <[email protected]> + */ + +#include "sun50i-h6-pine-h64.dts" + +/ { + model = "Pine H64 model A evaluation board"; + compatible = "pine64,pine-h64-modelA-eval", "allwinner,sun50i-h6"; + + reg_gmac_3v3: gmac-3v3 { + compatible = "regulator-fixed"; + regulator-name = "vcc-gmac-3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + startup-delay-us = <100000>; + gpio = <&pio 2 16 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + +};
Quoted 9 lines
arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dts line 26
Quoted 4 lines
arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dts new file +4
-0+ +&emac { + phy-supply = <®_gmac_3v3>; +};I might be missing some context here, but I'm pretty sure that the initial intent of the pine h64 DTS was to support the model A all along.
The regulator changed between modelA and B.
See this old patchset (supporting modelA) https://patchwork.kernel.org/patch/10539149/ for example.
Quoted 7 lines · Jernej Škrabec
Dne četrtek, 08. avgust 2019 ob 10:42:53 CEST je Corentin Labbe napisal(a):
Quoted 5 lines
This patch adds the evaluation variant of the model A of the PineH64. The model A has the same size of the pine64 and has a PCIE slot.
The only devicetree difference with current pineH64, is the PHY regulator.
Quoted 7 lines
I have Model A board which also needs ddc-en-gpios property for HDMI connector in order for HDMI to work correctly. Otherwise it will just use 1024x768 resolution. Can you confirm that?
Best regards,
Jernej
Sorry I didnt use at all video stuff (like HDMI), so I cannot answer now.
Could you send me a patch against my future v2 and I could test with/without.
Regards
Signature · 3 lines
You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected] To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20190814132001.GC24324%40Red.
Hi,
Quoted 6 lines · Corentin Labbe
Quoted 4 lines · Jernej Škrabec
Dne četrtek, 08. avgust 2019 ob 10:42:53 CEST je Corentin Labbe napisal(a):
Quoted 3 lines
This patch adds the evaluation variant of the model A of the PineH64. The model A has the same size of the pine64 and has a PCIE slot.
Quoted 6 lines
Quoted 6 lines
Quoted 2 lines
The only devicetree difference with current pineH64, is the PHY regulator.
I have Model A board which also needs ddc-en-gpios property for HDMI connector in order for HDMI to work correctly. Otherwise it will just use 1024x768 resolution. Can you confirm that?
Schematics Rev A:
http://files.pine64.org/doc/Pine%20H64/Pine%20H64%20Ver1.1-20180104.pdf
Rev B:
http://files.pine64.org/doc/Pine%20H64/PINE-H6-model-B-20181212-schematic.pdf
There is a DDC_EN on REV A not on REV B
Regards,
Clément
Quoted 15 lines
Quoted 4 lines
Best regards,
JernejSorry I didnt use at all video stuff (like HDMI), so I cannot answer now.
Could you send me a patch against my future v2 and I could test with/without.
Regards
--
You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20190814132001.GC24324%40Red.
Quoted 62 lines · Corentin Labbe
Quoted 51 lines · Maxime Ripard
Quoted 50 lines · Corentin Labbe
This patch adds the evaluation variant of the model A of the PineH64. The model A has the same size of the pine64 and has a PCIE slot.
The only devicetree difference with current pineH64, is the PHY regulator.
Signed-off-by Corentin Labbe <[email protected]>--- arch/arm64/boot/dts/allwinner/Makefile | 1 + .../sun50i-h6-pine-h64-modelA-eval.dts | 26 +++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dtsarch/arm64/boot/dts/allwinner/Makefile +1
-0@@ -25,3 +25,4 @@ dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-3.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-lite2.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-one-plus.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-pine-h64.dtb +dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-pine-h64-modelA-eval.dtbarch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dts new file +22
-0@@ -0,0 +1,26 @@ +// SPDX-License-Identifier: (GPL-2.0+ or MIT) +/* + * Copyright (C) 2019 Corentin Labbe <[email protected]> + */ + +#include "sun50i-h6-pine-h64.dts" + +/ { + model = "Pine H64 model A evaluation board"; + compatible = "pine64,pine-h64-modelA-eval", "allwinner,sun50i-h6"; + + reg_gmac_3v3: gmac-3v3 { + compatible = "regulator-fixed"; + regulator-name = "vcc-gmac-3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + startup-delay-us = <100000>; + gpio = <&pio 2 16 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + +};Quoted 9 lines
arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dts line 26
Quoted 4 lines
arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dts new file +4
-0+ +&emac { + phy-supply = <®_gmac_3v3>; +};I might be missing some context here, but I'm pretty sure that the initial intent of the pine h64 DTS was to support the model A all along.
Quoted 2 lines
The regulator changed between modelA and B.
See this old patchset (supporting modelA) https://patchwork.kernel.org/patch/10539149/ for example.
I'm not sure what your point is, but mine is that everything about the model A should be in sun50i-h6-pine-h64.dts.
Maxime
--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Quoted 63 lines · Maxime Ripard
Quoted 62 lines · Corentin Labbe
Quoted 60 lines · Maxime Ripard
Quoted 44 lines · Corentin Labbe
This patch adds the evaluation variant of the model A of the PineH64. The model A has the same size of the pine64 and has a PCIE slot.
The only devicetree difference with current pineH64, is the PHY regulator.
Signed-off-by Corentin Labbe <[email protected]>--- arch/arm64/boot/dts/allwinner/Makefile | 1 + .../sun50i-h6-pine-h64-modelA-eval.dts | 26 +++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dtsarch/arm64/boot/dts/allwinner/Makefile +1
-0@@ -25,3 +25,4 @@ dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-3.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-lite2.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-one-plus.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-pine-h64.dtb +dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-pine-h64-modelA-eval.dtbarch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dts new file +16
-0@@ -0,0 +1,26 @@ +// SPDX-License-Identifier: (GPL-2.0+ or MIT) +/* + * Copyright (C) 2019 Corentin Labbe <[email protected]> + */ + +#include "sun50i-h6-pine-h64.dts" + +/ { + model = "Pine H64 model A evaluation board"; + compatible = "pine64,pine-h64-modelA-eval", "allwinner,sun50i-h6"; + + reg_gmac_3v3: gmac-3v3 { + compatible = "regulator-fixed"; + regulator-name = "vcc-gmac-3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>;arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dts line 26
Quoted 10 lines
arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dts new file +10
-0+ startup-delay-us = <100000>; + gpio = <&pio 2 16 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + +}; + +&emac { + phy-supply = <®_gmac_3v3>; +};I might be missing some context here, but I'm pretty sure that the initial intent of the pine h64 DTS was to support the model A all along.
Quoted 6 lines
Quoted 2 lines
The regulator changed between modelA and B.
See this old patchset (supporting modelA) https://patchwork.kernel.org/patch/10539149/ for example.I'm not sure what your point is, but mine is that everything about the model A should be in
sun50i-h6-pine-h64.dts.
model A and B are different enough for distinct dtb, (see sub-thread on HDMI difference for an other difference than PHY regulator) And clearly, the current dtb is for model B.
So do you mean that we need to create a new dtb for model B ? (and hack the current back to model A ?)
Regards
Jernej Škrabec
maintainerDne sreda, 14. avgust 2019 ob 15:28:53 CEST je Clément Péron napisal(a):
Quoted 3 lines
Hi,
On Wed, 14 Aug 2019 at 15:20, Corentin Labbe <[email protected]>
Quoted 2 lines · wrote:
Quoted 2 lines · Jernej Škrabec
Quoted 1 line
Dne četrtek, 08. avgust 2019 ob 10:42:53 CEST je Corentin Labbe
napisal(a):
Quoted 13 lines
Quoted 9 lines
Quoted 9 lines
Quoted 5 lines
This patch adds the evaluation variant of the model A of the PineH64. The model A has the same size of the pine64 and has a PCIE slot.
The only devicetree difference with current pineH64, is the PHY regulator.
I have Model A board which also needs ddc-en-gpios property for HDMI connector in order for HDMI to work correctly. Otherwise it will just use 1024x768 resolution. Can you confirm that?
Schematics Rev A:
http://files.pine64.org/doc/Pine%20H64/Pine%20H64%20Ver1.1-20180104.pdf
Quoted 16 lines
Rev B:
http://files.pine64.org/doc/Pine%20H64/PINE-H6-model-B-20181212-schematic.pd
fThere is a
DDC_ENon REV A not on REV BRegards,
ClémentQuoted 7 lines
Quoted 2 lines
Best regards,
JernejSorry I didnt use at all video stuff (like HDMI), so I cannot answer now.
Could you send me a patch against my future v2 and I could test with/without.
I don't have access to my Model A board currently, but this should suffice:
&connector {
ddc-en-gpios = <&pio 7 2 GPIO_ACTIVE_HIGH>; /* PH2 */
};Best regards,
Jernej
Quoted 11 lines
Quoted 11 lines
Regards
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group. To unsubscribe from this group and stop receiving
emails from it, send an email to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected] To view this discussion on the web, visit
https://groups.google.com/d/msgid/linux-sunxi/20190814132001.GC24324%40Re
d.
Signature · 3 lines
You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected] To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/2361666.6tDiKGV9WF%40jernej-laptop.
Quoted 67 lines · Corentin Labbe
Quoted 66 lines · Maxime Ripard
Quoted 64 lines · Corentin Labbe
Quoted 51 lines · Maxime Ripard
Quoted 50 lines · Corentin Labbe
This patch adds the evaluation variant of the model A of the PineH64. The model A has the same size of the pine64 and has a PCIE slot.
The only devicetree difference with current pineH64, is the PHY regulator.
Signed-off-by Corentin Labbe <[email protected]>--- arch/arm64/boot/dts/allwinner/Makefile | 1 + .../sun50i-h6-pine-h64-modelA-eval.dts | 26 +++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dtsarch/arm64/boot/dts/allwinner/Makefile +1
-0@@ -25,3 +25,4 @@ dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-3.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-lite2.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-one-plus.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-pine-h64.dtb +dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-pine-h64-modelA-eval.dtbarch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dts new file +22
-0@@ -0,0 +1,26 @@ +// SPDX-License-Identifier: (GPL-2.0+ or MIT) +/* + * Copyright (C) 2019 Corentin Labbe <[email protected]> + */ + +#include "sun50i-h6-pine-h64.dts" + +/ { + model = "Pine H64 model A evaluation board"; + compatible = "pine64,pine-h64-modelA-eval", "allwinner,sun50i-h6"; + + reg_gmac_3v3: gmac-3v3 { + compatible = "regulator-fixed"; + regulator-name = "vcc-gmac-3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + startup-delay-us = <100000>; + gpio = <&pio 2 16 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + +};Quoted 9 lines
arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dts line 26
Quoted 4 lines
arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dts new file +4
-0+ +&emac { + phy-supply = <®_gmac_3v3>; +};I might be missing some context here, but I'm pretty sure that the initial intent of the pine h64 DTS was to support the model A all along.
The regulator changed between modelA and B.
See this old patchset (supporting modelA) https://patchwork.kernel.org/patch/10539149/ for example.
Quoted 6 lines
Quoted 3 lines
I'm not sure what your point is, but mine is that everything about the model A should be in
sun50i-h6-pine-h64.dts.model A and B are different enough for distinct dtb, (see sub-thread on HDMI difference for an other difference than PHY regulator)
I don't mind having separate DTBs for model A and model B.
Quoted 1 line
And clearly, the current dtb is for model B.
That DTS was added almost a year before the model B was announced, and no commit to that file mention the model B, so it's definitely not clear.
Quoted 2 lines
So do you mean that we need to create a new dtb for model B ? (and hack the current back to model A ?)
I'd prefer not to hack anything, but yes
Maxime
--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Quoted 75 lines · Maxime Ripard
Quoted 67 lines · Corentin Labbe
Quoted 66 lines · Maxime Ripard
Quoted 64 lines · Corentin Labbe
Quoted 51 lines · Maxime Ripard
Quoted 50 lines · Corentin Labbe
This patch adds the evaluation variant of the model A of the PineH64. The model A has the same size of the pine64 and has a PCIE slot.
The only devicetree difference with current pineH64, is the PHY regulator.
Signed-off-by Corentin Labbe <[email protected]>--- arch/arm64/boot/dts/allwinner/Makefile | 1 + .../sun50i-h6-pine-h64-modelA-eval.dts | 26 +++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dtsarch/arm64/boot/dts/allwinner/Makefile +1
-0@@ -25,3 +25,4 @@ dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-3.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-lite2.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-one-plus.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-pine-h64.dtb +dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-pine-h64-modelA-eval.dtbarch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dts new file +22
-0@@ -0,0 +1,26 @@ +// SPDX-License-Identifier: (GPL-2.0+ or MIT) +/* + * Copyright (C) 2019 Corentin Labbe <[email protected]> + */ + +#include "sun50i-h6-pine-h64.dts" + +/ { + model = "Pine H64 model A evaluation board"; + compatible = "pine64,pine-h64-modelA-eval", "allwinner,sun50i-h6"; + + reg_gmac_3v3: gmac-3v3 { + compatible = "regulator-fixed"; + regulator-name = "vcc-gmac-3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + startup-delay-us = <100000>; + gpio = <&pio 2 16 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + +};Quoted 9 lines
arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dts line 26
Quoted 4 lines
arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dts new file +4
-0+ +&emac { + phy-supply = <®_gmac_3v3>; +};I might be missing some context here, but I'm pretty sure that the initial intent of the pine h64 DTS was to support the model A all along.
The regulator changed between modelA and B.
See this old patchset (supporting modelA) https://patchwork.kernel.org/patch/10539149/ for example.Quoted 6 lines
Quoted 3 lines
I'm not sure what your point is, but mine is that everything about the model A should be in
sun50i-h6-pine-h64.dts.model A and B are different enough for distinct dtb, (see sub-thread on HDMI difference for an other difference than PHY regulator)
Quoted 7 lines
I don't mind having separate DTBs for model A and model B.
Quoted 1 line
And clearly, the current dtb is for model B.
That DTS was added almost a year before the model B was announced, and no commit to that file mention the model B, so it's definitely not clear.
Normal it was added for model A (without any ethernet/HDMI support, so nothing distinct from model B), and the modelB ethernet/HDMI support cames after.
Quoted 6 lines
Quoted 3 lines
So do you mean that we need to create a new dtb for model B ? (and hack the current back to model A ?)
I'd prefer not to hack anything, but yes
Since model A is not public (only evaluations boards exists), the probability of a production model A is low and the current dtb is perfect for model B , could you reconsider this ?
Quoted 80 lines · Corentin Labbe
Quoted 79 lines · Maxime Ripard
Quoted 67 lines · Corentin Labbe
Quoted 66 lines · Maxime Ripard
Quoted 64 lines · Corentin Labbe
Quoted 51 lines · Maxime Ripard
Quoted 50 lines · Corentin Labbe
This patch adds the evaluation variant of the model A of the PineH64. The model A has the same size of the pine64 and has a PCIE slot.
The only devicetree difference with current pineH64, is the PHY regulator.
Signed-off-by Corentin Labbe <[email protected]>--- arch/arm64/boot/dts/allwinner/Makefile | 1 + .../sun50i-h6-pine-h64-modelA-eval.dts | 26 +++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dtsarch/arm64/boot/dts/allwinner/Makefile +1
-0@@ -25,3 +25,4 @@ dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-3.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-lite2.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-one-plus.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-pine-h64.dtb +dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-pine-h64-modelA-eval.dtbarch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dts new file +22
-0@@ -0,0 +1,26 @@ +// SPDX-License-Identifier: (GPL-2.0+ or MIT) +/* + * Copyright (C) 2019 Corentin Labbe <[email protected]> + */ + +#include "sun50i-h6-pine-h64.dts" + +/ { + model = "Pine H64 model A evaluation board"; + compatible = "pine64,pine-h64-modelA-eval", "allwinner,sun50i-h6"; + + reg_gmac_3v3: gmac-3v3 { + compatible = "regulator-fixed"; + regulator-name = "vcc-gmac-3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + startup-delay-us = <100000>; + gpio = <&pio 2 16 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + +};Quoted 9 lines
arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dts line 26
Quoted 4 lines
arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dts new file +4
-0+ +&emac { + phy-supply = <®_gmac_3v3>; +};I might be missing some context here, but I'm pretty sure that the initial intent of the pine h64 DTS was to support the model A all along.
The regulator changed between modelA and B.
See this old patchset (supporting modelA) https://patchwork.kernel.org/patch/10539149/ for example.Quoted 6 lines
Quoted 3 lines
I'm not sure what your point is, but mine is that everything about the model A should be in
sun50i-h6-pine-h64.dts.model A and B are different enough for distinct dtb, (see sub-thread on HDMI difference for an other difference than PHY regulator)
I don't mind having separate DTBs for model A and model B.
Quoted 1 line
And clearly, the current dtb is for model B.
Quoted 7 lines
Quoted 3 lines
That DTS was added almost a year before the model B was announced, and no commit to that file mention the model B, so it's definitely not clear.
Normal it was added for model A (without any ethernet/HDMI support, so nothing distinct from model B), and the modelB ethernet/HDMI support cames after.
Changing the board a DT is meant to halfway through the development is definitely not ok.
Quoted 9 lines
Quoted 5 lines
Quoted 2 lines
So do you mean that we need to create a new dtb for model B ? (and hack the current back to model A ?)
I'd prefer not to hack anything, but yes
Since model A is not public (only evaluations boards exists), the probability of a production model A is low and the current dtb is perfect for model B , could you reconsider this ?
I mean, you could buy it, so it's definitely public.
Model A also had HDMI, and it doesn't look like there's anything particularly specific with that board.
On the Ethernet side, the only thing that changes is the regulator / GPIO being used to enable the PHY?
Maxime
--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Quoted 95 lines · Maxime Ripard
Quoted 80 lines · Corentin Labbe
Quoted 79 lines · Maxime Ripard
Quoted 67 lines · Corentin Labbe
Quoted 66 lines · Maxime Ripard
Quoted 64 lines · Corentin Labbe
Quoted 51 lines · Maxime Ripard
Quoted 50 lines · Corentin Labbe
This patch adds the evaluation variant of the model A of the PineH64. The model A has the same size of the pine64 and has a PCIE slot.
The only devicetree difference with current pineH64, is the PHY regulator.
Signed-off-by Corentin Labbe <[email protected]>--- arch/arm64/boot/dts/allwinner/Makefile | 1 + .../sun50i-h6-pine-h64-modelA-eval.dts | 26 +++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dtsarch/arm64/boot/dts/allwinner/Makefile +1
-0@@ -25,3 +25,4 @@ dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-3.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-lite2.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-one-plus.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-pine-h64.dtb +dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-pine-h64-modelA-eval.dtbarch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dts new file +22
-0@@ -0,0 +1,26 @@ +// SPDX-License-Identifier: (GPL-2.0+ or MIT) +/* + * Copyright (C) 2019 Corentin Labbe <[email protected]> + */ + +#include "sun50i-h6-pine-h64.dts" + +/ { + model = "Pine H64 model A evaluation board"; + compatible = "pine64,pine-h64-modelA-eval", "allwinner,sun50i-h6"; + + reg_gmac_3v3: gmac-3v3 { + compatible = "regulator-fixed"; + regulator-name = "vcc-gmac-3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + startup-delay-us = <100000>; + gpio = <&pio 2 16 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + +};Quoted 9 lines
arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dts line 26
Quoted 4 lines
arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dts new file +4
-0+ +&emac { + phy-supply = <®_gmac_3v3>; +};I might be missing some context here, but I'm pretty sure that the initial intent of the pine h64 DTS was to support the model A all along.
The regulator changed between modelA and B.
See this old patchset (supporting modelA) https://patchwork.kernel.org/patch/10539149/ for example.Quoted 6 lines
Quoted 3 lines
I'm not sure what your point is, but mine is that everything about the model A should be in
sun50i-h6-pine-h64.dts.model A and B are different enough for distinct dtb, (see sub-thread on HDMI difference for an other difference than PHY regulator)
I don't mind having separate DTBs for model A and model B.
Quoted 1 line
And clearly, the current dtb is for model B.
Quoted 7 lines
Quoted 3 lines
That DTS was added almost a year before the model B was announced, and no commit to that file mention the model B, so it's definitely not clear.
Normal it was added for model A (without any ethernet/HDMI support, so nothing distinct from model B), and the modelB ethernet/HDMI support cames after.
Changing the board a DT is meant to halfway through the development is definitely not ok.
Quoted 3 lines
Quoted 3 lines
Quoted 2 lines
So do you mean that we need to create a new dtb for model B ? (and hack the current back to model A ?)
Quoted 8 lines
Quoted 6 lines
Quoted 2 lines
I'd prefer not to hack anything, but yes
Since model A is not public (only evaluations boards exists), the probability of a production model A is low and the current dtb is perfect for model B , could you reconsider this ?
I mean, you could buy it, so it's definitely public.
Where ? official pineh64 site speaks only of modelB.
Quoted 3 lines
Model A also had HDMI, and it doesn't look like there's anything particularly specific with that board.
A subthread just say the opposite, modelA need something more for HDMI
https://lkml.org/lkml/2019/8/12/394
Quoted 4 lines
On the Ethernet side, the only thing that changes is the regulator / GPIO being used to enable the PHY?
Yes
Quoted 99 lines · Corentin Labbe
Quoted 98 lines · Maxime Ripard
Quoted 80 lines · Corentin Labbe
Quoted 79 lines · Maxime Ripard
Quoted 67 lines · Corentin Labbe
Quoted 66 lines · Maxime Ripard
Quoted 64 lines · Corentin Labbe
Quoted 51 lines · Maxime Ripard
Quoted 50 lines · Corentin Labbe
This patch adds the evaluation variant of the model A of the PineH64. The model A has the same size of the pine64 and has a PCIE slot.
The only devicetree difference with current pineH64, is the PHY regulator.
Signed-off-by Corentin Labbe <[email protected]>--- arch/arm64/boot/dts/allwinner/Makefile | 1 + .../sun50i-h6-pine-h64-modelA-eval.dts | 26 +++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dtsarch/arm64/boot/dts/allwinner/Makefile +1
-0@@ -25,3 +25,4 @@ dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-3.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-lite2.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-one-plus.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-pine-h64.dtb +dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-pine-h64-modelA-eval.dtbarch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dts new file +22
-0@@ -0,0 +1,26 @@ +// SPDX-License-Identifier: (GPL-2.0+ or MIT) +/* + * Copyright (C) 2019 Corentin Labbe <[email protected]> + */ + +#include "sun50i-h6-pine-h64.dts" + +/ { + model = "Pine H64 model A evaluation board"; + compatible = "pine64,pine-h64-modelA-eval", "allwinner,sun50i-h6"; + + reg_gmac_3v3: gmac-3v3 { + compatible = "regulator-fixed"; + regulator-name = "vcc-gmac-3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + startup-delay-us = <100000>; + gpio = <&pio 2 16 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + +};Quoted 9 lines
arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dts line 26
Quoted 4 lines
arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dts new file +4
-0+ +&emac { + phy-supply = <®_gmac_3v3>; +};I might be missing some context here, but I'm pretty sure that the initial intent of the pine h64 DTS was to support the model A all along.
The regulator changed between modelA and B.
See this old patchset (supporting modelA) https://patchwork.kernel.org/patch/10539149/ for example.Quoted 6 lines
Quoted 3 lines
I'm not sure what your point is, but mine is that everything about the model A should be in
sun50i-h6-pine-h64.dts.model A and B are different enough for distinct dtb, (see sub-thread on HDMI difference for an other difference than PHY regulator)
I don't mind having separate DTBs for model A and model B.
Quoted 1 line
And clearly, the current dtb is for model B.
Quoted 7 lines
Quoted 3 lines
That DTS was added almost a year before the model B was announced, and no commit to that file mention the model B, so it's definitely not clear.
Normal it was added for model A (without any ethernet/HDMI support, so nothing distinct from model B), and the modelB ethernet/HDMI support cames after.
Changing the board a DT is meant to halfway through the development is definitely not ok.
Quoted 6 lines
Quoted 5 lines
Quoted 2 lines
So do you mean that we need to create a new dtb for model B ? (and hack the current back to model A ?)
I'd prefer not to hack anything, but yes
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
Since model A is not public (only evaluations boards exists), the probability of a production model A is low and the current dtb is perfect for model B , could you reconsider this ?
I mean, you could buy it, so it's definitely public.
Where ? official pineh64 site speaks only of modelB.
It's not available anymore, but it used to be.
Quoted 6 lines
Quoted 3 lines
Model A also had HDMI, and it doesn't look like there's anything particularly specific with that board.
A subthread just say the opposite, modelA need something more for HDMI
https://lkml.org/lkml/2019/8/12/394
Right, but that's not in the DT at the moment.
Maxime
--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Quoted 142 lines · 在 2019-08-20二的 15:58 +0200,Maxime Ripard写道:
Quoted 141 lines · Corentin Labbe
Quoted 140 lines · Maxime Ripard
Quoted 117 lines · Corentin Labbe
Quoted 108 lines · Maxime Ripard
Quoted 99 lines · Corentin Labbe
Quoted 87 lines · Maxime Ripard
Quoted 85 lines · Corentin Labbe
Quoted 82 lines · Maxime Ripard
Quoted 63 lines · Corentin Labbe
This patch adds the evaluation variant of the model A of the PineH64.
The model A has the same size of the pine64 and has a PCIE slot.The only devicetree difference with current pineH64, is the PHY
regulator.Signed-off-by: Corentin Labbe <
[email protected]>--- arch/arm64/boot/dts/allwinner/Makefile | 1 + .../sun50i-h6-pine-h64-modelA-eval.dts | 26 +++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644
arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dtsarch/arm64/boot/dts/allwinner/Makefile +0
-0@@ -25,3 +25,4 @@ dtb-$(CONFIG_ARCH_SUNXI) +=sun50i-h6-orangepi-3.dtb
dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-
lite2.dtb
dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-
one-plus.dtb
dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-pine-h64.dtb
+dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-pine-h64- modelA-eval.dtb(quoted diff) +0
-0
h6-pine-h64-modelA-eval.dtsb/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-modelA-eval.dts
new file mode 100644
index 000000000000..d8ff02747efearch/arm64/boot/dts/allwinner/sun50i-h6-pine- new file +0
-0
h64-modelA-eval.dtsarch/arm64/boot/dts/allwinner/sun50i-h6-pine- new file +3
-0@@ -0,0 +1,26 @@ +// SPDX-License-Identifier: (GPL-2.0+ or MIT) +/* + * Copyright (C) 2019 Corentin Labbe <[email protected]>
+ */arch/arm64/boot/dts/allwinner/sun50i-h6-pine- new file +6
-0+ +#include "sun50i-h6-pine-h64.dts" + +/ { + model = "Pine H64 model A evaluation board"; + compatible = "pine64,pine-h64-modelA-eval","allwinner,sun50i-h6";
arch/arm64/boot/dts/allwinner/sun50i-h6-pine- new file +6
-0+ + reg_gmac_3v3: gmac-3v3 { + compatible = "regulator-fixed"; + regulator-name = "vcc-gmac-3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>;arch/arm64/boot/dts/allwinner/sun50i-h6-pine-
Quoted 10 lines
arch/arm64/boot/dts/allwinner/sun50i-h6-pine- new file +10
-0+ startup-delay-us = <100000>; + gpio = <&pio 2 16 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + +}; + +&emac { + phy-supply = <®_gmac_3v3>; +};I might be missing some context here, but I'm pretty sure that the
initial intent of the pine h64 DTS was to support the model A all
along.Quoted 9 lines
Quoted 4 lines
The regulator changed between modelA and B.
See this old patchset (supporting modelA)
https://patchwork.kernel.org/patch/10539149/ for
example.I'm not sure what your point is, but mine is that
everything about the
model A should be insun50i-h6-pine-h64.dts.Quoted 4 lines
model A and B are different enough for distinct dtb, (see sub-thread
on HDMI difference for an other difference than PHY regulator)I don't mind having separate DTBs for model A and model B.
Quoted 7 lines
Quoted 1 line
And clearly, the current dtb is for model B.
That DTS was added almost a year before the model B was announced, and
no commit to that file mention the model B, so it's definitely not
clear.Quoted 4 lines
Normal it was added for model A (without any ethernet/HDMI support,
so nothing distinct from model B), and the modelB ethernet/HDMI support cames after.Changing the board a DT is meant to halfway through the development is
definitely not ok.Quoted 12 lines
Quoted 6 lines
Quoted 3 lines
So do you mean that we need to create a new dtb for model B ? (and
hack the current back to model A ?)I'd prefer not to hack anything, but yes
Since model A is not public (only evaluations boards exists), the
probability of a production model A is low and the current dtb is
perfect for model B , could you reconsider this ?
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
I mean, you could buy it, so it's definitely public.
Where ? official pineh64 site speaks only of modelB.
It's not available anymore, but it used to be.
There're never model A boards that are really sold. When model A is put on the website, its stock is always 0.
Only model B boards are really sold.
BTW from my communication with TL Lim, model A will get redesigned to get the software compatiblity with model B, if it's going to be re- available on the market again. So all known difference will be not difference between models, but difference between sample version and final version. But even if the new model A is out, it will still need a different devicetree with model B, as PCIe is model-A-only feature, and model A will have no on-board Wi-Fi (model B has RTL8723BS on-board).
Quoted 20 lines
Quoted 7 lines
Quoted 3 lines
Model A also had HDMI, and it doesn't look like there's anything particularly specific with that board.
A subthread just say the opposite, modelA need something more for HDMI
https://lkml.org/lkml/2019/8/12/394Right, but that's not in the DT at the moment.
Maxime
--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel