| 1 |
// SPDX-License-Identifier: (GPL-2.0 OR MIT) |
| 2 |
/* |
| 3 |
* Radxa Display 8 HD touchscreen module |
| 4 |
* Copyright (C) 2025 Collabora Ltd. |
| 5 |
*/ |
| 6 |
|
| 7 |
/dts-v1/; |
| 8 |
/plugin/; |
| 9 |
|
| 10 |
#include <dt-bindings/gpio/gpio.h> |
| 11 |
#include <dt-bindings/interrupt-controller/irq.h> |
| 12 |
|
| 13 |
&backlight { |
| 14 |
status = "okay"; |
| 15 |
}; |
| 16 |
|
| 17 |
&disp_pwm0 { |
| 18 |
pinctrl-names = "default"; |
| 19 |
pinctrl-0 = <&pwm0_default_pins>; |
| 20 |
status = "okay"; |
| 21 |
}; |
| 22 |
|
| 23 |
&dsi0 { |
| 24 |
#address-cells = <1>; |
| 25 |
#size-cells = <0>; |
| 26 |
status = "okay"; |
| 27 |
|
| 28 |
panel@0 { |
| 29 |
compatible = "radxa,display-8hd-ad002", "jadard,jd9365da-h3"; |
| 30 |
reg = <0>; |
| 31 |
backlight = <&backlight>; |
| 32 |
vdd-supply = <&mt6359_vcn33_2_bt_ldo_reg>; |
| 33 |
vccio-supply = <&mt6360_ldo2>; |
| 34 |
reset-gpios = <&pio 108 GPIO_ACTIVE_LOW>; |
| 35 |
pinctrl-names = "default"; |
| 36 |
pinctrl-0 = <&panel_default_pins>; |
| 37 |
|
| 38 |
port { |
| 39 |
dsi_panel_in: endpoint { |
| 40 |
remote-endpoint = <&dsi0_out>; |
| 41 |
}; |
| 42 |
}; |
| 43 |
}; |
| 44 |
}; |
| 45 |
|
| 46 |
&dsi0_out { |
| 47 |
remote-endpoint = <&dsi_panel_in>; |
| 48 |
}; |
| 49 |
|
| 50 |
&i2c4 { |
| 51 |
#address-cells = <1>; |
| 52 |
#size-cells = <0>; |
| 53 |
|
| 54 |
touchscreen@14 { |
| 55 |
compatible = "goodix,gt911"; |
| 56 |
reg = <0x14>; |
| 57 |
interrupts-extended = <&pio 132 IRQ_TYPE_EDGE_RISING>; |
| 58 |
irq-gpios = <&pio 132 GPIO_ACTIVE_HIGH>; |
| 59 |
reset-gpios = <&pio 133 GPIO_ACTIVE_HIGH>; |
| 60 |
VDDIO-supply = <&mt6359_vcn33_2_bt_ldo_reg>; |
| 61 |
pinctrl-names = "default"; |
| 62 |
pinctrl-0 = <&touch_pins>; |
| 63 |
}; |
| 64 |
}; |
| 65 |
|
| 66 |
&mipi_tx0 { |
| 67 |
status = "okay"; |
| 68 |
}; |
| 69 |
|
| 70 |
&ovl0_in { |
| 71 |
remote-endpoint = <&vdosys0_ep_main>; |
| 72 |
}; |
| 73 |
|
| 74 |
&vdosys0 { |
| 75 |
port { |
| 76 |
#address-cells = <1>; |
| 77 |
#size-cells = <0>; |
| 78 |
|
| 79 |
vdosys0_ep_main: endpoint@0 { |
| 80 |
reg = <0>; |
| 81 |
remote-endpoint = <&ovl0_in>; |
| 82 |
}; |
| 83 |
}; |
| 84 |
}; |