File tree Expand file tree Collapse file tree 2 files changed +88
-84
lines changed
src/board/raspberry-pi-4/dts/broadcom Expand file tree Collapse file tree 2 files changed +88
-84
lines changed Original file line number Diff line number Diff line change 1+ #include "bcm2711-rpi-4-b.dts"
2+
3+ \ {
4+
5+ panel_disp: panel_disp@1 {
6+ reg = <1>;
7+ compatible = "raspberrypi,7inch-dsi", "simple-panel";
8+ backlight = <®_display>;
9+ power-supply = <®_display>;
10+ port {
11+ panel_in: endpoint {
12+ remote-endpoint = <&bridge_out>;
13+ };
14+ };
15+ };
16+
17+ reg_bridge: reg_bridge@1 {
18+ reg = <1>;
19+ compatible = "regulator-fixed";
20+ regulator-name = "bridge_reg";
21+ gpio = <®_display 0 0>;
22+ vin-supply = <®_display>;
23+ enable-active-high;
24+ };
25+
26+ }
27+ &i2c0mux {
28+ status = "okay";
29+ };
30+
31+ &i2c0 {
32+ status = "okay";
33+ reg_display: reg_display@45 {
34+ compatible = "raspberrypi,7inch-touchscreen-panel-regulator";
35+ reg = <0x45>;
36+ gpio-controller;
37+ #gpio-cells = <2>;
38+ };
39+
40+ ft5406: ts@38 {
41+ compatible = "edt,edt-ft5506";
42+ reg = <0x38>;
43+ touchscreen-size-x = < 800 >;
44+ touchscreen-size-y = < 480 >;
45+ vcc-supply = <®_display>;
46+ reset-gpio = <®_display 1 1>;
47+ };
48+ };
49+
50+
51+ &dsi1 {
52+ status = "okay";
53+ port {
54+ dsi_out: endpoint {
55+ remote-endpoint = <&bridge_in>;
56+ };
57+ };
58+ bridge@0 {
59+ reg = <0>;
60+ compatible = "toshiba,tc358762";
61+ vddc-supply = <®_bridge>;
62+ ports {
63+ #address-cells = <1>;
64+ #size-cells = <0>;
65+
66+ port@0 {
67+ reg = <0>;
68+ bridge_in: endpoint {
69+ remote-endpoint = <&dsi_out>;
70+ };
71+ };
72+
73+ port@1 {
74+ reg = <1>;
75+ bridge_out: endpoint {
76+ remote-endpoint = <&panel_in>;
77+ };
78+ };
79+ };
80+ };
81+ };
82+
83+ &hdmi0 {
84+ status = "disabled";
85+ };
86+ &hdmi1 {
87+ status = "disabled";
88+ };
Original file line number Diff line number Diff line change 1818 reusable;
1919 };
2020
21- panel_disp: panel_disp@1 {
22- reg = <1>;
23- compatible = "raspberrypi,7inch-dsi", "simple-panel";
24- backlight = <®_display>;
25- power-supply = <®_display>;
26- port {
27- panel_in: endpoint {
28- remote-endpoint = <&bridge_out>;
29- };
30- };
31- };
32-
33- reg_bridge: reg_bridge@1 {
34- reg = <1>;
35- compatible = "regulator-fixed";
36- regulator-name = "bridge_reg";
37- gpio = <®_display 0 0>;
38- vin-supply = <®_display>;
39- enable-active-high;
40- };
41-
4221 chosen {
4322 /* 8250 auxiliary UART instead of pl011 */
4423 stdout-path = "serial1:115200n8";
5433&vc4 {
5534 status = "okay";
5635};
57- &i2c0mux {
58- status = "okay";
59- };
60-
61- &i2c0 {
62- status = "okay";
63- reg_display: reg_display@45 {
64- compatible = "raspberrypi,7inch-touchscreen-panel-regulator";
65- reg = <0x45>;
66- gpio-controller;
67- #gpio-cells = <2>;
68- };
69-
70- ft5406: ts@38 {
71- compatible = "edt,edt-ft5506";
72- reg = <0x38>;
73- touchscreen-size-x = < 800 >;
74- touchscreen-size-y = < 480 >;
75- vcc-supply = <®_display>;
76- reset-gpio = <®_display 1 1>;
77- };
78- };
79-
80-
81- &dsi1 {
82- status = "okay";
83- port {
84- dsi_out: endpoint {
85- remote-endpoint = <&bridge_in>;
86- };
87- };
88- bridge@0 {
89- reg = <0>;
90- compatible = "toshiba,tc358762";
91- vddc-supply = <®_bridge>;
92- ports {
93- #address-cells = <1>;
94- #size-cells = <0>;
95-
96- port@0 {
97- reg = <0>;
98- bridge_in: endpoint {
99- remote-endpoint = <&dsi_out>;
100- };
101- };
102-
103- port@1 {
104- reg = <1>;
105- bridge_out: endpoint {
106- remote-endpoint = <&panel_in>;
107- };
108- };
109- };
110- };
111- };
112-
113- /*
114- &hdmi0 {
115- status = "disabled";
116- };
117- &hdmi1 {
118- status = "disabled";
119- };*/
You can’t perform that action at this time.
0 commit comments