arm64: dts: enable BPI-M8 DSI panel

This commit is contained in:
Qubot 2026-07-02 20:18:27 +08:00
parent a03ebaaca4
commit faeeb9e200

View File

@ -124,6 +124,7 @@
248 249 250 251 252 253 254 255>;
default-brightness-level = <73>;
pwms = <&pwm0 4 25000 0>;
enable-gpios = <&pio PD 19 GPIO_ACTIVE_HIGH>;
};
fan0: pwm-fan {
@ -163,10 +164,8 @@
// avee-supply = <&reg_ext_ocp2131_avee>;
// avee-output-voltage = <6000000>;
gpio-num = <3>;
enable0-gpios = <&pio PH 9 GPIO_ACTIVE_HIGH>; // reset
enable1-gpios = <&pio PH 10 GPIO_ACTIVE_HIGH>; // reset
// enable2-gpios = <&pio PD 22 GPIO_ACTIVE_HIGH>; // backlight-gpio
gpio-num = <1>;
enable0-gpios = <&pio PD 18 GPIO_ACTIVE_HIGH>; // power enable
reset-num = <2>;
reset-delay-ms = <10>;
reset-gpios = <&pio PD 21 GPIO_ACTIVE_HIGH>; //reset
@ -419,15 +418,19 @@
display-timings {
native-mode = <&timing0>;
timing0: timing0 {
clock-frequency = <171993120>;
clock-frequency = <67000000>;
hback-porch = <26>;
hactive = <1200>;
hfront-porch = <46>;
hsync-len = <10>;
vback-porch = <20>;
vactive = <2000>;
vfront-porch = <212>;
hactive = <800>;
hfront-porch = <24>;
hsync-len = <18>;
vback-porch = <12>;
vactive = <1280>;
vfront-porch = <24>;
vsync-len = <4>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <0>;
pixelclk-active = <1>;
};
};
port {
@ -1780,11 +1783,11 @@
};
&dlcd0 {
status = "disabled";
status = "okay";
};
&dsi0 {
status = "disabled";
status = "okay";
pinctrl-0 = <&dsi0_4lane_pins_a>;
pinctrl-1 = <&dsi0_4lane_pins_b>;
pinctrl-names = "active","sleep";