/{ backlight: backlight { compatible = "pwm-backlight"; pwms = <&pwm0 0 25000 0>; brightness-levels = < 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255>; default-brightness-level = <200>; }; }; &rpdzkj { compatible = "rp_config"; user_version = "rpdzkj"; system_rotate = "0"; csi_camera_rotate = "0"; //all csi camera rotation //0 90 180 270 //no effect csi_camera_facing = "0"; //0:auto 1:all front 2:all back //no effect usb_camera_rotate = "0"; //all usb camera rotation //0 90 180 270 usb_camera_facing = "0"; //0:auto 1:all front 2:all back lcd_density = "180"; language = "zh-CN"; //zh-CN //en-US time_zone = "Asia/Shanghai"; //Asia/Shanghai = +8 //Europe/London = +1 //Africa/Casablanca = +0; not_navigation_bar = "false"; not_status_bar = "false"; default_launcher = "true"; has_root = "true"; usb_not_permission = "true"; gps_use = "false"; gps_serial_port = "/dev/ttyS0"; primary_device = "DSI"; extend_device = "HDMI-A"; extend_rotate = "0";//0 0//1 90 //2 180 //3 270 rotation_efull = "true"; extend_rotate_2 = "0";//0 0//1 90 //2 180 //3 270 rotation_efull_2 = "true"; extend_rotate_3 = "0";//0 0//1 90 //2 180 //3 270 rotation_efull_3 = "true"; home_apk = "null"; status = "okay"; }; &pwm0 { status = "okay"; }; &display_subsystem { status = "okay"; }; &dsi { status = "okay"; panel@0 { compatible = "sitronix,st7703", "simple-panel-dsi"; reg = <0>; backlight = <&backlight>; prepare-delay-ms = <60>; reset-delay-ms = <60>; init-delay-ms = <60>; enable-delay-ms = <60>; disable-delay-ms = <60>; unprepare-delay-ms = <60>; width-mm = <68>; height-mm = <121>; dsi,flags = <(MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST | MIPI_DSI_MODE_LPM | MIPI_DSI_MODE_EOT_PACKET)>; dsi,format = ; dsi,lanes = <4>; power-supply = <&vcc18_lcd_n>; reset-gpios = <&gpio0 RK_PC4 GPIO_ACTIVE_LOW>; panel-init-sequence = [ 05 78 01 11 05 78 01 29 ]; panel-exit-sequence = [ 05 00 01 28 05 78 01 10 ]; disp_timings0: display-timings { native-mode = <&dsi0_timing0>; dsi0_timing0: timing0 { clock-frequency = <51000000>; hactive = <1024>; vactive = <600>; hback-porch = <160>; hfront-porch = <136>; vback-porch = <16>; vfront-porch = <16>; hsync-len = <4>; vsync-len = <2>; hsync-active = <0>; vsync-active = <0>; de-active = <0>; pixelclk-active = <0>; }; }; ports { #address-cells = <1>; #size-cells = <0>; port@0 { reg = <0>; panel_in_dsi: endpoint { remote-endpoint = <&dsi_out_panel>; }; }; }; }; ports { #address-cells = <1>; #size-cells = <0>; port@1 { reg = <1>; dsi_out_panel: endpoint { remote-endpoint = <&panel_in_dsi>; }; }; }; }; &dsi_in_vopb { status = "okay"; }; &route_dsi { connect = <&vopb_out_dsi>; status = "okay"; }; // TP &i2c1 { status = "okay"; clock-frequency = <200000>; gt9xx: goodix_ts@5d { /***** tp pin ******/ pinctrl-names = "default"; pinctrl-0 = <&goodix_irq>; goodix_rst_gpio = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>; goodix_irq_gpio = <&gpio0 RK_PB5 IRQ_TYPE_EDGE_FALLING>; status = "okay"; compatible = "goodix,gt9xx"; reg = <0x5d>; gtp_resolution_x = <1024>; gtp_resolution_y = <600>; gtp_int_tarigger = <1>; gtp_change_x2y = <0>; gtp_overturn_x = <0>; gtp_overturn_y = <0>; gtp_send_cfg = <1>; gtp_touch_wakeup = <1>; goodix,cfg-group0 = [ //old touch 41 00 04 58 02 05 7D 00 01 2F 28 0F 50 32 03 05 00 00 00 00 00 00 00 18 1A 1E 14 89 0D 0C 2C 2A 0C 08 00 00 00 82 03 1D 0A 32 05 0A 32 00 00 00 00 00 0B 1E 50 94 E5 02 08 00 00 04 A7 21 00 8B 28 00 73 31 00 62 3B 00 52 48 00 52 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 32 50 00 00 00 1C 1A 18 16 14 12 10 0E 0C 0A 08 06 04 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2A 29 28 26 24 22 21 20 1F 1E 1D 18 16 14 13 12 10 0F 0C 0A 08 06 FF FF FF FF 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3B 01 ]; goodix,cfg-group5 = [ //new touch FF 00 04 58 02 05 0D 04 01 0A 28 0A 50 32 03 05 00 00 00 00 00 00 08 00 00 00 00 8B 2B 0E 30 32 0F 0A 00 00 00 83 02 1D 00 00 00 00 00 03 03 32 00 00 00 24 60 94 C0 02 00 00 00 04 93 27 00 80 30 00 70 3B 00 65 47 00 5C 57 00 5C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1C 1A 18 16 14 12 10 0E 0C 0A 08 06 04 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 26 24 22 21 20 1F 1E 1D 1C 18 16 13 12 10 0F 0C 0A 08 06 04 02 00 FF FF FF FF 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 6A 01 ]; }; }; &pinctrl { goodix { goodix_irq: goodix-irq { rockchip,pins = <0 RK_PB5 RK_FUNC_GPIO &pcfg_pull_up>; }; }; };