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";
+ };
+
+ /delete-node/ timer@ff810000;
+
backlight: backlight {
compatible = "pwm-backlight";
brightness-levels = <
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 {
rk_usb,fsvplus = <0x2cc 24 1>;
};
};
+
+ nandc0: nandc@ff400000 {
+ compatible = "rockchip,rk-nandc";
+ reg = <0x0 0xff400000 0x0 0x4000>;
+ interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
+ nandc_id = <0>;
+ clocks = <&cru SCLK_NANDC0>, <&cru HCLK_NANDC0>;
+ clock-names = "clk_nandc", "hclk_nandc";
+ status = "disabled";
+ };
+};
+
+&edp_panel {
+ backlight = <&backlight>;
+};
+
+&cpu0 {
+ enable-method = "psci";
+};
+
+&cpu1 {
+ enable-method = "psci";
+};
+
+&cpu2 {
+ enable-method = "psci";
+};
+
+&cpu3 {
+ enable-method = "psci";
+};
+
+&dmac_bus_s {
+ /* change to non-secure dmac */
+ reg = <0xff600000 0x4000>;
+};
+
+&efuse {
+ 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 {
clock-names = "aclk_rga", "hclk_rga", "clk_rga";
};
-&timer {
- status = "disabled";
-};
-
&usb_otg {
compatible = "rockchip,rk3288_usb20_otg";
clocks = <&usbphy0>, <&cru HCLK_OTG0>;
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 {