Skip to content

Commit

Permalink
ARM: vita: dts per model
Browse files Browse the repository at this point in the history
  • Loading branch information
xerpi committed Sep 24, 2020
1 parent df214a0 commit 48e92d5
Show file tree
Hide file tree
Showing 4 changed files with 75 additions and 17 deletions.
25 changes: 25 additions & 0 deletions arch/arm/boot/dts/pstv.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Device Tree Source for the PlayStation TV
*/

/dts-v1/;

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include "vita.dtsi"

/ {
chosen {
bootargs = "earlyprintk console=tty0 console=ttyS0";

framebuffer0: framebuffer@20000000 {
compatible = "simple-framebuffer";
reg = <0x20000000 (1280*720*4)>;
width = <1280>;
height = <720>;
stride = <(1280*4)>;
format = "a8b8g8r8";
status = "okay";
};
};
};
17 changes: 0 additions & 17 deletions arch/arm/boot/dts/vita.dts → arch/arm/boot/dts/vita.dtsi
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Base Device Tree Source for the PlayStation Vita
*
* Copyright (C) 2018 Sergi Granell
*
*/

/dts-v1/;

#include <dt-bindings/interrupt-controller/arm-gic.h>

/ {
model = "PlayStation Vita";
compatible = "vita,vita";
Expand All @@ -18,21 +13,9 @@
#size-cells = <1>;

chosen {
bootargs = "earlyprintk console=tty0 console=ttyS0";

#address-cells = <1>;
#size-cells = <1>;
ranges;

framebuffer0: framebuffer@20000000 {
compatible = "simple-framebuffer";
reg = <0x20000000 (1280*720*4)>;
width = <1280>;
height = <720>;
stride = <(1280*4)>;
format = "a8b8g8r8";
status = "okay";
};
};

aliases {
Expand Down
25 changes: 25 additions & 0 deletions arch/arm/boot/dts/vita1000.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Device Tree Source for the PlayStation Vita 1000
*/

/dts-v1/;

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include "vita.dtsi"

/ {
chosen {
bootargs = "earlyprintk console=tty0";

framebuffer0: framebuffer@20000000 {
compatible = "simple-framebuffer";
reg = <0x20000000 (960*544*4)>;
width = <960>;
height = <544>;
stride = <(960*4)>;
format = "a8b8g8r8";
status = "okay";
};
};
};
25 changes: 25 additions & 0 deletions arch/arm/boot/dts/vita2000.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Device Tree Source for the PlayStation Vita 2000
*/

/dts-v1/;

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include "vita.dtsi"

/ {
chosen {
bootargs = "earlyprintk console=tty0";

framebuffer0: framebuffer@20000000 {
compatible = "simple-framebuffer";
reg = <0x20000000 (960*544*4)>;
width = <960>;
height = <544>;
stride = <(960*4)>;
format = "a8b8g8r8";
status = "okay";
};
};
};

0 comments on commit 48e92d5

Please sign in to comment.