Unverified Commit 536f74a8 authored by Dylan Van Assche's avatar Dylan Van Assche Committed by Maxime Ripard
Browse files

arm64: allwinner: dts: pinephone: add 'pine64, pinephone' to the compatible list



All revisions of the PinePhone share most of the hardware.
This patch makes it easier to detect PinePhone hardware without
having to check for each possible revision.

Signed-off-by: default avatarDylan Van Assche <me@dylanvanassche.be>
Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20201230104205.5592-1-me@dylanvanassche.be
parent bdb574e5
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -683,16 +683,19 @@ properties:
      - description: Pine64 PinePhone Developer Batch (1.0)
        items:
          - const: pine64,pinephone-1.0
          - const: pine64,pinephone
          - const: allwinner,sun50i-a64

      - description: Pine64 PinePhone Braveheart (1.1)
        items:
          - const: pine64,pinephone-1.1
          - const: pine64,pinephone
          - const: allwinner,sun50i-a64

      - description: Pine64 PinePhone (1.2)
        items:
          - const: pine64,pinephone-1.2
          - const: pine64,pinephone
          - const: allwinner,sun50i-a64

      - description: Pine64 PineTab, Development Sample
+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@

/ {
	model = "Pine64 PinePhone Developer Batch (1.0)";
	compatible = "pine64,pinephone-1.0", "allwinner,sun50i-a64";
	compatible = "pine64,pinephone-1.0", "pine64,pinephone", "allwinner,sun50i-a64";
};

&sgm3140 {
+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@

/ {
	model = "Pine64 PinePhone Braveheart (1.1)";
	compatible = "pine64,pinephone-1.1", "allwinner,sun50i-a64";
	compatible = "pine64,pinephone-1.1", "pine64,pinephone", "allwinner,sun50i-a64";
};

&backlight {
+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@

/ {
	model = "Pine64 PinePhone (1.2)";
	compatible = "pine64,pinephone-1.2", "allwinner,sun50i-a64";
	compatible = "pine64,pinephone-1.2", "pine64,pinephone", "allwinner,sun50i-a64";

	wifi_pwrseq: wifi-pwrseq {
		compatible = "mmc-pwrseq-simple";