Skip to content

Commit

Permalink
arm64: dts: allwinner: add pineh64 model B
Browse files Browse the repository at this point in the history
This patch adds the model B of the PineH64.
The model B is smaller than the pine64 model A and has no PCIE slot.

The only devicetree difference with the pineH64 model A, is the PHY
regulator and the HDMI connector node.

Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
  • Loading branch information
Corentin Labbe authored and Maxime Ripard committed Dec 10, 2019
1 parent 24e9f61 commit f33a911
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Documentation/devicetree/bindings/arm/sunxi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -610,6 +610,11 @@ properties:
- const: pine64,pine-h64
- const: allwinner,sun50i-h6

- description: Pine64 PineH64 model B
items:
- const: pine64,pine-h64-model-b
- const: allwinner,sun50i-h6

- description: Pine64 LTS
items:
- const: pine64,pine64-lts
Expand Down
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/allwinner/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ 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-model-b.dtb
dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-tanix-tx6.dtb
21 changes: 21 additions & 0 deletions arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-model-b.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// SPDX-License-Identifier: (GPL-2.0+ or MIT)
/*
* Copyright (C) 2019 Corentin LABBE <clabbe@baylibre.com>
*/

#include "sun50i-h6-pine-h64.dts"

/ {
model = "Pine H64 model B";
compatible = "pine64,pine-h64-model-b", "allwinner,sun50i-h6";

/delete-node/ reg_gmac_3v3;
};

&hdmi_connector {
/delete-property/ ddc-en-gpios;
};

&emac {
phy-supply = <&reg_aldo2>;
};

0 comments on commit f33a911

Please sign in to comment.