bootargs = "earlycon=uart8250,mmio32,0xff690000";
};
+ reserved-memory {
+ ramoops_mem: ramoops@00000000 {
+ reg = <0x8000000 0xF0000>;
+ };
+ };
+
+ ramoops {
+ compatible = "ramoops";
+ record-size = <0x0 0x20000>;
+ console-size = <0x0 0x80000>;
+ ftrace-size = <0x0 0x00000>;
+ pmsg-size = <0x0 0x50000>;
+ memory-region = <&ramoops_mem>;
+ };
+
+ fiq-debugger {
+ compatible = "rockchip,fiq-debugger";
+ interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH 0>;
+ rockchip,serial-id = <2>;
+ rockchip,wake-irq = <0>;
+ rockchip,irq-mode-enable = <1>; /* If enable uart uses irq instead of fiq */
+ rockchip,baudrate = <115200>; /* Only 115200 and 1500000 */
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart2_xfer>;
+ };
+
psci {
compatible = "arm,psci-1.0";
method = "smc";
enable-gpios = <&gpio7 2 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&bl_en>;
- pwms = <&pwm0 0 1000000 PWM_POLARITY_INVERTED>;
+ pwms = <&pwm0 0 1000000 0>;
+ };
+
+ display-subsystem {
+ status = "okay";
+
+ ports = <&vopb_out>, <&vopl_out>;
+ route {
+ route_mipi: route-mipi {
+ status = "disabled";
+ logo,uboot = "logo.bmp";
+ logo,kernel = "logo_kernel.bmp";
+ logo,mode = "center";
+ charge_logo,mode = "center";
+ connect = <&vopb_out_mipi>;
+ };
+ };
};
rk_key: rockchip-key {
};
};
-&panel {
+&edp_panel {
backlight = <&backlight>;
};
compatible = "rockchip,rk3288-secure-efuse";
};
+&mipi_dsi {
+ dsi_panel: dsi-panel {
+ compatible = "simple-panel-dsi";
+ reg = <0>;
+ backlight = <&backlight>;
+ enable-gpios = <&gpio7 4 GPIO_ACTIVE_HIGH>;
+ power-supply = <&vcc_lcd>;
+ dsi,flags = <(MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST)>;
+ dsi,format = <MIPI_DSI_FMT_RGB888>;
+ dsi,lanes = <4>;
+ delay,prepare = <120>;
+ status = "disabled";
+
+ disp_timings: display-timings {
+ native-mode = <&timing0>;
+
+ timing0: timing0 {
+ clock-frequency = <150000000>;
+ hactive = <1200>;
+ vactive = <1920>;
+ hback-porch = <80>;
+ hfront-porch = <81>;
+ vback-porch = <21>;
+ vfront-porch = <21>;
+ hsync-len = <10>;
+ vsync-len = <3>;
+ hsync-active = <0>;
+ vsync-active = <0>;
+ de-active = <0>;
+ pixelclk-active = <0>;
+ };
+ };
+ };
+};
+
&rga {
compatible = "rockchip,rga2";
clocks = <&cru ACLK_RGA>, <&cru HCLK_RGA>, <&cru SCLK_RGA>;
rockchip,usb-mode = <0>;
};
+&edp {
+ status = "okay";
+};
+
+&edp_phy {
+ status = "okay";
+};
+
+&edp_panel {
+ status = "okay";
+};
+
+&dsi_panel {
+ status = "disabled";
+};
+
+&mipi_dsi {
+ status = "disabled";
+};
+
+&route_mipi {
+ status = "disabled";
+};
+
&pinctrl {
backlight {