Skip to content
Snippets Groups Projects
Commit b28d4b05 authored by minute's avatar minute Committed by minute
Browse files

rk3588: pocket: dts: fixup hdmi, sd, audio, panel

parent 74a00fb7
No related branches found
No related tags found
1 merge request!64RK3588 Pocket Reform bringup incl. Linux 6.11
...@@ -15,8 +15,8 @@ ...@@ -15,8 +15,8 @@
#include "rk3588.dtsi" #include "rk3588.dtsi"
/ { / {
model = "MNT Reform Next with RCORE RK3588 Module"; model = "MNT Pocket Reform with RCORE RK3588 Module";
compatible = "mntre,reform-next-rcore", "firefly,icore3588q", "rockchip,rk3588"; compatible = "mntre,pocket-reform-rcore", "firefly,icore3588q", "rockchip,rk3588";
aliases { aliases {
ethernet0 = &gmac0; ethernet0 = &gmac0;
...@@ -48,14 +48,6 @@ ...@@ -48,14 +48,6 @@
dais = <&i2s0_8ch_p0>; dais = <&i2s0_8ch_p0>;
}; };
/*backlight: backlight {
compatible = "pwm-backlight";
pwms = <&pwm8 0 10000 0>;
enable-gpios = <&gpio2 RK_PB5 GPIO_ACTIVE_HIGH>;
brightness-levels = <0 8 16 32 64 128 160 200 255>;
default-brightness-level = <128>;
};*/
gmac0_clkin: external-gmac0-clock { gmac0_clkin: external-gmac0-clock {
compatible = "fixed-clock"; compatible = "fixed-clock";
clock-frequency = <125000000>; clock-frequency = <125000000>;
...@@ -195,8 +187,8 @@ ...@@ -195,8 +187,8 @@
}; };
&display_subsystem { &display_subsystem {
//clocks = <&hdptxphy_hdmi0>, <&hdptxphy_hdmi1>; clocks = <&hdptxphy_hdmi0>, <&hdptxphy_hdmi1>;
//clock-names = "hdmi0_phy_pll", "hdmi1_phy_pll"; clock-names = "hdmi0_phy_pll", "hdmi1_phy_pll";
}; };
&gmac0 { &gmac0 {
...@@ -239,12 +231,12 @@ ...@@ -239,12 +231,12 @@
}; };
};*/ };*/
/*&hdptxphy_hdmi0 { &hdptxphy_hdmi0 {
status = "okay"; status = "okay";
};*/ };
// external HDMI
&hdmi1 { &hdmi1 {
// external HDMI
enable-gpios = <&gpio4 RK_PB4 GPIO_ACTIVE_HIGH>; // D-2 enable-gpios = <&gpio4 RK_PB4 GPIO_ACTIVE_HIGH>; // D-2
status = "okay"; status = "okay";
}; };
...@@ -340,9 +332,7 @@ ...@@ -340,9 +332,7 @@
reg = <0x18>; reg = <0x18>;
clocks = <&cru I2S0_8CH_MCLKOUT>; clocks = <&cru I2S0_8CH_MCLKOUT>;
clock-names = "mclk"; clock-names = "mclk";
assigned-clocks = <&cru I2S0_8CH_MCLKOUT>; ai31xx-micbias-vg = <2>;
assigned-clock-rates = <12288000>;
ai31xx-micbias-vg = <2>; // 2.5V
#sound-dai-cells = <0>; #sound-dai-cells = <0>;
HPVDD-supply = <&vcc_3v3_s3>; HPVDD-supply = <&vcc_3v3_s3>;
...@@ -438,8 +428,7 @@ ...@@ -438,8 +428,7 @@
&sdmmc { &sdmmc {
bus-width = <4>; bus-width = <4>;
//max-frequency = <48000000>; max-frequency = <20000000>;
max-frequency = <40000000>;
no-sdio; no-sdio;
no-mmc; no-mmc;
no-1-8-v; no-1-8-v;
...@@ -971,10 +960,9 @@ ...@@ -971,10 +960,9 @@
status = "okay"; status = "okay";
}; };
// FIXME: vop_mmu is currently broken with DSI &vop_mmu {
/*&vop_mmu {
status = "okay"; status = "okay";
};*/ };
&vop { &vop {
status = "okay"; status = "okay";
...@@ -987,10 +975,10 @@ ...@@ -987,10 +975,10 @@
}; };
}; };
/*&vp1 { /*&vp2 {
vp1_out_hdmi0: endpoint@ROCKCHIP_VOP2_EP_HDMI0 { vp2_out_hdmi0: endpoint@ROCKCHIP_VOP2_EP_HDMI0 {
reg = <ROCKCHIP_VOP2_EP_HDMI0>; reg = <ROCKCHIP_VOP2_EP_HDMI0>;
remote-endpoint = <&hdmi0_in_vp1>; remote-endpoint = <&hdmi0_in_vp2>;
}; };
};*/ };*/
...@@ -1006,9 +994,7 @@ ...@@ -1006,9 +994,7 @@
// reset is driven by rp2040 // reset is driven by rp2040
// dcdc en is also driven by rp2040 // dcdc en is also driven by rp2040
// actually backlight enable // actually backlight enable
//enable-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
enable-gpios = <&gpio2 RK_PB5 GPIO_ACTIVE_HIGH>; enable-gpios = <&gpio2 RK_PB5 GPIO_ACTIVE_HIGH>;
burst-mode;
port { port {
mipi_panel_in: endpoint { mipi_panel_in: endpoint {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment