2026-01-21 23:15:54 +08:00

1166 lines
30 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/dts-v1/;
#include "rk3588-evb7-lp4.dtsi"
#include "rk3588-linux.dtsi"
/ {
model = "TL3588-EVM";
vcc5v0_typec: vcc5v0-typec {
compatible = "regulator-fixed";
regulator-name = "vcc5v0_typec";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
enable-active-high;
gpio = <&gpio1 RK_PB0 GPIO_ACTIVE_HIGH>;
vin-supply = <&vcc5v0_usb>;
pinctrl-names = "default";
pinctrl-0 = <&vcc5v0_typec_enable>;
};
clk16m: clk16m {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <16000000>;
};
gpio-keys {
compatible = "gpio-keys";
autorepeat;
pinctrl-names = "default";
pinctrl-0 = <&user_key_pin>;
user_key1 {
label = "user-key1";
linux,code = <KEY_PROG2>;
gpios = <&gpio0 RK_PC4 GPIO_ACTIVE_LOW>;
debounce-interval = <0>;
};
};
/delete-node/ adc-keys;
adc-keys1 {
compatible = "adc-keys";
io-channels = <&saradc 0>;
io-channel-names = "buttons";
keyup-threshold-microvolt = <1800000>;
poll-interval = <100>;
user_key2 {
label = "user-key2";
linux,code = <KEY_PROG3>;
press-threshold-microvolt = <1750>;
};
};
adc-keys2 {
compatible = "adc-keys";
io-channels = <&saradc 1>;
io-channel-names = "buttons";
keyup-threshold-microvolt = <1800000>;
poll-interval = <100>;
user_key0 {
label = "user-key0";
linux,code = <KEY_PROG1>;
press-threshold-microvolt = <1750>;
};
};
virtual_battery: virtual-battery {
compatible = "my-vendor,virtual-battery";
status = "okay";
/* 电压相关 */
voltage-max-microvolt = <4200000>; // 最大设计电压 4.2V
voltage-min-microvolt = <3200000>; // 最小设计电压 3.2V
voltage-now-microvolt = <3800000>; // 当前电压 3.8V
/* 电流相关 */
current-now-microamp = <500000>; // 当前电流 500mA
/* 电量相关 */
capacity-max = <100>; // 最大电量 100%
capacity-now = <60>; // 当前电量 60%
charge-full-design-microamp-hours = <4000000>; // 标称满充容量 4000mAh
charge-full-microamp-hours = <3800000>; // 当前满充容量 3800mAh
charge-now-microamp-hours = <2400000>; // 当前电量 2400mAh
/* 能量相关 */
energy-full-design-microwatt-hours = <20000000>; // 标称满充能量 20,000,000 µWh
energy-full-microwatt-hours = <19000000>; // 当前满充能量 19,000,000 µWh
energy-now-microwatt-hours = <12000000>; // 当前能量 12,000,000 µWh
/* 状态相关 */
battery-status = "Discharging"; // 当前状态:放电
battery-health = "Good"; // 健康状态:良好
/* 温度相关 */
temperature-celsius = <25>; // 当前温度 25°C
/* 时间相关 */
time-to-full-now = <7200>; // 充满电剩余时间 7200 秒2 小时)
time-to-empty-now = <14400>; // 放完电剩余时间 14400 秒4 小时)
/* 技术相关 */
battery-technology = "Li-ion"; // 电池技术类型:锂离子
};
};
&leds {
user_led0 {
pinctrl-names = "default";
pinctrl-0 = <&user_led0_pin>;
label = "user-led0";
gpios = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "default-on";
default-state = "off";
};
user_led1 {
pinctrl-names = "default";
pinctrl-0 = <&user_led1_pin>;
label = "user-led1";
gpios = <&gpio0 RK_PD3 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "default-on";
default-state = "off";
};
som_led0 {
label = "heartbeat";
gpios = <&gpio2 RK_PC5 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat";
default-state = "off";
};
som_led1 {
label = "disk";
gpios = <&gpio0 RK_PC2 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "mmc0";
default-state = "off";
};
};
&i2c0 {
status = "okay";
ds1307@68 {
compatible = "dallas,ds1307";
reg = <0x68>;
};
lt8912b@48 {
compatible = "lontium,lt8912b";
reg = <0x48>;
status = "okay";
reset-gpios = <&gpio1 RK_PD5 GPIO_ACTIVE_LOW>;
};
};
&sdio {
status = "disabled";
};
&gmac0 {
phy-mode = "rgmii-rxid";
clock_in_out = "output";
phy-handle = <&rgmii_phy0>;
snps,reset-gpio = <&gpio3 RK_PB2 GPIO_ACTIVE_LOW>;
snps,reset-delays-us = <20000 20000 100000>;
snps,reset-active-low;
tx_delay = <0x36>;
rx_delay = <0x12>;
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&gmac0_miim
&gmac0_tx_bus2
&gmac0_rx_bus2
&gmac0_rgmii_clk
&gmac0_rgmii_bus
&gmac0_phy_reset>;
};
&gmac1 {
phy-mode = "rgmii-rxid";
clock_in_out = "output";
phy-handle = <&rgmii_phy1>;
snps,reset-gpio = <&gpio3 RK_PB6 GPIO_ACTIVE_LOW>;
snps,reset-delays-us = <20000 20000 100000>;
snps,reset-active-low;
tx_delay = <0x36>;
rx_delay = <0x12>;
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&gmac1_miim
&gmac1_tx_bus2
&gmac1_rx_bus2
&gmac1_rgmii_clk
&gmac1_rgmii_bus
&gmac1_phy_reset>;
};
&mdio0 {
rgmii_phy0: phy@0 {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <0x0>;
eee-broken-1000t;
/* phy delay for YT8521H */
phy-tx-delay = <0x01>; /* tx delay: 0~0xf, 150ps each step */
phy-rx-delay = <0x00>; /* rx delay: 0~0xf, 150ps each step */
};
};
&mdio1 {
rgmii_phy1: phy@1 {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <0x1>;
eee-broken-1000t;
/* phy delay for YT8521H */
phy-tx-delay = <0x01>; /* tx delay: 0~0xf, 150ps each step */
phy-rx-delay = <0x00>; /* rx delay: 0~0xf, 150ps each step */
};
};
&vcc5v0_host {
/delete-property/ gpio;
/delete-property/ pinctrl-0;
/delete-property/ pinctrl-names;
};
&uart7 {
status = "okay";
};
&uart0 {
pinctrl-0 = <&uart0m2_xfer>;
status = "okay";
};
&uart5 {
status = "okay";
};
&uart3 {
pinctrl-0 = <&uart3m2_xfer>;
status = "okay";
};
&uart8 {
pinctrl-0 = <&uart8m0_xfer &uart8_re &uart8_de>;
status = "okay";
};
&uart9 {
pinctrl-0 = <&uart9m2_xfer &uart9_re &uart9_de>;
status = "okay";
};
&pwm0 {
pinctrl-0 = <&pwm0m1_pins>;
status = "okay";
};
&fan {
pwms = <&pwm0 0 50000 0>;
};
&vcc_mipicsi0 {
status = "disabled";
};
&es8388_sound {
/delete-property/ spk-con-gpio;
hp-con-gpio = <&gpio1 RK_PC6 GPIO_ACTIVE_HIGH>;
rockchip,audio-routing =
"Headphone", "LOUT1",
"Headphone", "ROUT1",
"Headphone", "Headphone Power",
"Headphone", "Headphone Power",
"LINPUT1", "Main Mic",
"LINPUT2", "Main Mic",
"RINPUT1", "Headset Mic",
"RINPUT2", "Headset Mic";
};
&i2s0_8ch {
status = "okay";
pinctrl-0 = <&i2s0_lrck
&i2s0_sclk
&i2s0_sdi0
&i2s0_sdo0>;
};
&i2c7 {
status = "disabled";
/delete-node/ es8388@11;
};
&i2c2 {
status = "okay";
gt911@5d {
compatible = "goodix,gt911";
reg = <0x5d>;
interrupt-parent = <&gpio1>;
interrupts = <4 0>;
irq-gpios = <&gpio1 RK_PA4 0>;
reset-gpios = <&gpio0 RK_PB0 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&gt911_int &gt911_reset>;
status = "okay";
};
es8388: es8388@11 {
status = "okay";
#sound-dai-cells = <0>;
compatible = "everest,es8388", "everest,es8323";
reg = <0x11>;
clocks = <&mclkout_i2s0>;
clock-names = "mclk";
assigned-clocks = <&mclkout_i2s0>;
assigned-clock-rates = <12288000>;
pinctrl-names = "default";
pinctrl-0 = <&i2s0_mclk>;
};
typec: husb311@4e {
compatible = "hynetek,husb311";
reg = <0x4e>;
interrupt-parent = <&gpio4>;
interrupts = <RK_PB6 IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&typec_int>;
vbus-supply = <&vcc5v0_typec>;
status = "okay";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
typec_role_sw: endpoint@0 {
remote-endpoint = <&dwc3_0_role_switch>;
};
};
};
usb_con: connector {
compatible = "usb-c-connector";
label = "USB-C";
data-role = "dual";
power-role = "dual";
try-power-role = "sink";
op-sink-microwatt = <1000000>;
sink-pdos =
<PDO_FIXED(5000, 1000, PDO_FIXED_USB_COMM)>;
source-pdos =
<PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>;
altmodes {
#address-cells = <1>;
#size-cells = <0>;
altmode@0 {
reg = <0>;
svid = <0xff01>;
vdo = <0xffffffff>;
};
};
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
typec_orien_sw: endpoint {
remote-endpoint = <&usbdp_phy0_orientation_switch>;
};
};
port@1 {
reg = <1>;
dp_altmode_mux: endpoint {
remote-endpoint = <&usbdp_phy0_dp_altmode_mux>;
};
};
};
};
};
};
&vcc_3v3_sd_s0 {
/delete-property/ gpio;
/delete-property/ pinctrl-names;
/delete-property/ pinctrl-0;
};
&i2c5 {
status = "disabled";
};
&hp_det {
rockchip,pins = <1 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>;
};
&spi0 {
pinctrl-0 = <&spi0m2_cs0 &spi0m2_cs1 &spi0m2_cs1 &spi0m2_pins>;
status = "okay";
xl2515@0 {
compatible = "microchip,mcp2515";
pinctrl-names = "default";
pinctrl-0 = <&xl2515_int0>;
reg = <0>;
clocks = <&clk16m>;
spi-max-frequency = <1000000>;
interrupt-parent = <&gpio4>;
interrupts = <RK_PB5 IRQ_TYPE_LEVEL_LOW>;
status = "okay";
};
xl2515@1 {
compatible = "microchip,mcp2515";
pinctrl-names = "default";
pinctrl-0 = <&xl2515_int1>;
reg = <1>;
clocks = <&clk16m>;
spi-max-frequency = <1000000>;
interrupt-parent = <&gpio3>;
interrupts = <RK_PD2 IRQ_TYPE_LEVEL_LOW>;
status = "okay";
};
};
&vcc_mipidcphy0 {
/delete-property/ gpio;
/delete-property/ pinctrl-0;
/delete-property/ pinctrl-names;
};
&combphy0_ps {
status = "okay";
};
&combphy1_ps {
status = "okay";
};
&combphy2_psu {
status = "okay";
};
&pcie2x1l0 {
status = "disabled";
};
&pcie2x1l1 {
phys = <&combphy2_psu PHY_TYPE_PCIE>;
status = "okay";
};
&pcie2x1l2 {
phys = <&combphy0_ps PHY_TYPE_PCIE>;
status = "okay";
};
&sata0 {
status = "disabled";
};
&sata1 {
status = "okay";
};
&sata2 {
status = "disabled";
};
&pcie30phy {
rockchip,pcie30-phymode = <PHY_MODE_PCIE_AGGREGATION>;
status = "okay";
};
&pcie3x4 {
/delete-property/ pinctrl-names;
/delete-property/ pinctrl-0;
status = "okay";
};
&usbdp_phy1 {
rockchip,dp-lane-mux = <0x02 0x03>;
};
&usbdp_phy1_u3 {
maximum-speed = "super-speed";
};
&usbdrd_dwc3_1 {
maximum-speed = "super-speed";
};
&vcc3v3_pcie30 {
/delete-property/ enable-active-high;
/delete-property/ gpios;
/delete-property/ startup-delay-us;
};
&hdptxphy_hdmi1 {
status = "disabled";
};
&hdmi1 {
status = "disabled";
};
&hdmi1_in_vp0 {
status = "disabled";
};
&hdmi1_in_vp1 {
status = "disabled";
};
&hdmi1_in_vp2 {
status = "disabled";
};
&hdmi1_sound {
status = "disabled";
};
&route_hdmi1 {
status = "disabled";
};
&hdptxphy_hdmi0 {
status = "okay";
};
&hdmi0 {
status = "okay";
};
&hdmi0_in_vp0 {
status = "okay";
};
&hdmi0_in_vp1 {
status = "disabled";
};
&hdmi0_in_vp2 {
status = "disabled";
};
&hdmi0_sound {
status = "disabled";
};
&route_hdmi0 {
status = "okay";
connect = <&vp0_out_hdmi0>;
};
&hdmirx_ctrler {
/* Effective level used to trigger HPD: 0-low, 1-high */
hpd-trigger-level = <1>;
hdmirx-det-gpios = <&gpio4 RK_PA1 GPIO_ACTIVE_LOW>;
pinctrl-0 = <&hdmim2_rx_scl
&hdmim2_rx_sda
&hdmim2_rx_hpdin
&hdmirx_det>;
};
&hdmirx_det {
rockchip,pins = <4 RK_PA1 RK_FUNC_GPIO &pcfg_pull_up>;
};
&fiq_debugger {
rockchip,baudrate = <115200>;
};
&threshold {
temperature = <125000>;
};
&target {
temperature = <125000>;
};
&soc_crit {
temperature = <125000>;
};
&cluster0_opp_table {
/* RK3588 A55 core limit at 1.4GHz */
/delete-node/ opp-1608000000;
/delete-node/ opp-1704000000;
/delete-node/ opp-1800000000;
/* RK3588J A55 core limit at 1.3GHz */
/delete-node/ opp-j-m-1416000000;
/delete-node/ opp-j-m-1608000000;
/delete-node/ opp-j-m-1704000000;
};
&cluster1_opp_table {
/* RK3588 A76 core limit at 1.6GHz */
/delete-node/ opp-1800000000;
/delete-node/ opp-2016000000;
/delete-node/ opp-2208000000;
/delete-node/ opp-2256000000;
/delete-node/ opp-2304000000;
/delete-node/ opp-2352000000;
/delete-node/ opp-2400000000;
/* RK3588J A76 core limit at 1.6GHz */
/delete-node/ opp-j-m-1800000000;
/delete-node/ opp-j-m-2016000000;
};
&cluster2_opp_table {
/* RK3588 A76 core limit at 1.6GHz */
/delete-node/ opp-1800000000;
/delete-node/ opp-2016000000;
/delete-node/ opp-2208000000;
/delete-node/ opp-2256000000;
/delete-node/ opp-2304000000;
/delete-node/ opp-2352000000;
/delete-node/ opp-2400000000;
/* RK3588J A76 core limit at 1.6GHz */
/delete-node/ opp-j-m-1800000000;
/delete-node/ opp-j-m-2016000000;
};
&u2phy0 {
status = "okay";
};
&u2phy0_otg {
rockchip,typec-vbus-det;
status = "okay";
};
&usbdp_phy0_dp {
status = "okay";
};
&usbdp_phy0_u3 {
status = "okay";
};
&usbdp_phy0 {
status = "okay";
orientation-switch;
svid = <0xff01>;
pinctrl-names = "default";
pinctrl-0 = <&typec_sbu1 &typec_sbu2>;
sbu1-dc-gpios = <&gpio3 RK_PB7 GPIO_ACTIVE_HIGH>;
sbu2-dc-gpios = <&gpio3 RK_PD1 GPIO_ACTIVE_HIGH>;
port {
#address-cells = <1>;
#size-cells = <0>;
usbdp_phy0_orientation_switch: endpoint@0 {
reg = <0>;
remote-endpoint = <&typec_orien_sw>;
};
usbdp_phy0_dp_altmode_mux: endpoint@1 {
reg = <1>;
remote-endpoint = <&dp_altmode_mux>;
};
};
};
&usbdrd3_0 {
status = "okay";
};
&usbdrd_dwc3_0 {
status = "okay";
dr_mode = "otg";
usb-role-switch;
port {
#address-cells = <1>;
#size-cells = <0>;
dwc3_0_role_switch: endpoint@0 {
reg = <0>;
remote-endpoint = <&typec_role_sw>;
};
};
};
&dp1 {
status = "disabled";
};
&route_dp1 {
status = "disabled";
};
&dp1_in_vp0 {
status = "disabled";
};
&dp1_in_vp1 {
status = "disabled";
};
&dp1_in_vp2 {
status = "disabled";
};
&dp0 {
/delete-property/ hpd-gpios;
/delete-property/ pinctrl-0;
/delete-property/ pinctrl-names;
status = "okay";
};
&route_dp0 {
status = "okay";
connect = <&vp0_out_dp0>;
};
&dp0_in_vp0 {
status = "okay";
};
&dp0_in_vp1 {
status = "disabled";
};
&dp0_in_vp2 {
status = "disabled";
};
&mipi_dcphy0 {
status = "disabled";
};
&dsi0 {
status = "disabled";
};
&dsi0_panel {
/delete-property/ power-supply;
reset-delay-ms = <200>;
enable-delay-ms = <200>;
prepare-delay-ms = <200>;
unprepare-delay-ms = <200>;
disable-delay-ms = <200>;
reset-gpios = <&gpio1 RK_PA6 GPIO_ACTIVE_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&dsi0_panel_reset>;
status = "disabled";
panel-init-sequence = [
05 1E 01 01
23 00 02 EE 50
29 00 03 EA 85 55
23 00 02 30 00
23 00 02 31 00
29 00 03 90 50 15
23 00 02 24 20
23 00 02 99 00
23 00 02 79 00
23 00 02 95 74
23 00 02 7A 20
23 00 02 97 09
23 00 02 7D 08
23 00 02 56 83
23 00 02 EE 60
23 00 02 30 01
23 00 02 27 22
23 00 02 31 0F
23 00 02 32 D9
23 00 02 33 C0
23 00 02 34 1F
23 00 02 35 22
23 00 02 36 00
23 00 02 37 00
23 00 02 3A 24
23 00 02 3B 00
23 00 02 3C 1A
23 00 02 3D 11
23 00 02 3E 93
23 00 02 42 64
23 00 02 43 64
23 00 02 44 0B
23 00 02 46 4E
23 00 02 8B 90
23 00 02 8D 45
23 00 02 91 11
23 00 02 92 11
23 00 02 93 9F
23 00 02 9A 00
23 00 02 9C 80
29 00 06 47 0F 24 2C 39 36
29 00 06 5A 0F 24 2C 39 36
29 00 06 4C 4A 40 51 31 2F
29 00 06 51 2D 10 25 1F 30
29 00 05 56 37 46 5B 7F
29 00 05 69 37 46 5B 7F
23 00 02 EE 70
29 00 05 00 03 07 00 01
29 00 05 04 08 0C 55 01
29 00 03 0C 05 3D
29 00 06 10 05 08 00 01 05
29 00 06 15 00 15 0D 08 00
29 00 03 29 05 3D
29 00 06 60 3C 3C 07 05 17
29 00 06 65 15 13 11 01 03
29 00 06 6A 3C 3C 3C 3C 3C
29 00 06 6F 3C 3C 3C 3C 3C
29 00 03 74 3C 3C
29 00 06 80 3C 3C 06 04 16
29 00 06 85 14 12 10 00 02
29 00 06 8A 3C 3C 3C 3C 3C
29 00 06 8F 3C 3C 3C 3C 3C
29 00 03 94 3C 3C
29 00 03 EA 00 00
23 00 02 EE 00
05 78 01 11
05 1E 01 29
];
panel-exit-sequence = [
05 00 01 28
05 00 01 10
];
};
&dsi0_timing0 {
clock-frequency = <67200000>;
hactive = <800>;
vactive = <1280>;
hfront-porch = <80>;
hsync-len = <20>;
hback-porch = <20>;
vfront-porch = <15>;
vsync-len = <6>;
vback-porch = <8>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <0>;
pixelclk-active = <1>;
};
&dsi0_in_vp2 {
status = "disabled";
};
&dsi0_in_vp3 {
status = "disabled";
};
&route_dsi0 {
status = "okay";
connect = <&vp2_out_dsi0>;
};
&pwm11 {
pinctrl-0 = <&pwm11m1_pins>;
status = "okay";
};
&pwm1 {
status = "disabled";
};
&backlight {
pwms = <&pwm11 0 25000 0>;
status = "okay";
};
&vcc3v3_lcd_n {
status = "disabled";
};
&i2c6 {
status = "disabled";
};
&mipi_dcphy1 {
status = "disabled";
};
&dsi1 {
status = "disabled";
};
&dsi1_panel {
/delete-property/ power-supply;
status = "disabled";
pinctrl-names = "default";
pinctrl-0 = <&dsi1_panel_enable>;
enable-gpios = <&gpio4 RK_PA7 GPIO_ACTIVE_HIGH>;
enable-delay-ms = <200>;
prepare-delay-ms = <200>;
unprepare-delay-ms = <200>;
disable-delay-ms = <200>;
dsi,flags = <(MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST |
MIPI_DSI_MODE_EOT_PACKET)>;
/delete-property/ panel-init-sequence;
/delete-property/ panel-exit-sequence;
};
&dsi1_in_vp2 {
status = "disabled";
};
&dsi1_in_vp3 {
status = "disabled";
};
&route_dsi1 {
status = "okay";
connect = <&vp3_out_dsi1>;
};
&dsi1_timing0 {
clock-frequency = <62500000>;
hactive = <1024>;
vactive = <768>;
hback-porch = <29>;
hfront-porch = <136>;
hsync-len = <24>;
vback-porch = <29>;
vfront-porch = <3>;
vsync-len = <6>;
hsync-active = <1>;
vsync-active = <0>;
de-active = <1>;
pixelclk-active = <0>;
};
&vcc3v3_lcd_n {
status = "disabled";
};
&spi4m2_pins {
rockchip,pins = <1 RK_PA2 8 &pcfg_pull_none>, /*spi4_clk_m2*/
<1 RK_PA0 8 &pcfg_pull_none>, /*spi4_miso_m2*/
<1 RK_PA1 8 &pcfg_pull_none>, /*spi4_mosi_m2*/
<1 RK_PA3 8 &pcfg_pull_none>; /*spi4_cs0_m2*/
};
&spi4 {
status = "okay";
num-cs = <1>;
pinctrl-names = "default";
pinctrl-0 = <&spi4m2_pins>;
xpt2046@0 {
reg = <0>;
compatible = "ti,ads7846";
spi-max-frequency = <1500000>;
interrupt-parent = <&gpio0>;
interrupts = <RK_PD0 0>;
pendown-gpio = <&gpio0 RK_PD0 0>;
pinctrl-names = "default";
pinctrl-0 = <&xpt2046_int>;
status = "okay";
ti,x-min = /bits/ 16 <0>;
ti,x-max = /bits/ 16 <0xfff>;
ti,y-min = /bits/ 16 <0>;
ti,y-max = /bits/ 16 <0xfff>;
ti,x-plate-ohms = /bits/ 16 <180>;
ti,pressure-max = /bits/ 16 <512>;
ti,debounce-max = /bits/ 16 <10>;
ti,debounce-tol = /bits/ 16 <30>;
ti,debounce-rep = /bits/ 16 <1>;
ti,settle-delay-usec = /bits/ 16 <150>;
ti,keep-vref-on = <1>;
};
};
&pinctrl {
pinctrl-names = "default";
pinctrl-0 = <&usb_net_power
&wdog_set
&wdog_wdi
&rm500q_pins
&som_led0
&som_led1
&wifi6_reset>;
leds {
user_led0_pin: user-led0-pin {
rockchip,pins = <0 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>;
};
user_led1_pin: user-led1-pin {
rockchip,pins = <0 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>;
};
som_led0: som-led0 {
rockchip,pins = <2 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>;
};
som_led1: som-led1 {
rockchip,pins = <0 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
keys {
user_key_pin: user-key-pin {
rockchip,pins = <0 RK_PC4 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
usb_net {
usb_net_power: usb-net-power {
rockchip,pins = <2 RK_PC4 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
gmac0-phy-reset {
gmac0_phy_reset: gmac0-phy-reset {
rockchip,pins = <3 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
gmac1-phy-reset {
gmac1_phy_reset: gmac1-phy-reset {
rockchip,pins = <3 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
rs442-uart8 {
uart8_re: uart8-re {
rockchip,pins = <4 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>;
};
uart8_de: uart8-de {
rockchip,pins = <1 RK_PA7 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
rs442-uart9 {
uart9_re: uart9-re {
rockchip,pins = <3 RK_PC7 RK_FUNC_GPIO &pcfg_pull_none>;
};
uart9_de: uart9-de {
rockchip,pins = <3 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
wdog {
wdog_set: wdog-set {
rockchip,pins = <3 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>;
};
wdog_wdi: wdog-wdi {
rockchip,pins = <3 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
xl2515 {
xl2515_int0: xl2515-int0 {
rockchip,pins = <4 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>;
};
xl2515_int1: xl2515-int1 {
rockchip,pins = <3 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
rm500q {
rm500q_pins: rm500q-pins {
rockchip,pins = <0 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>, /* power */
<0 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>; /* reset */
};
};
typec-dp {
typec_sbu1: typec-sbu1 {
rockchip,pins = <3 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>;
};
typec_sbu2: typec-sbu2 {
rockchip,pins = <3 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>;
};
vcc5v0_typec_enable: vcc5v0-typec-enable {
rockchip,pins = <1 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
};
typec_int: typec-int {
rockchip,pins = <4 RK_PB6 RK_FUNC_GPIO &pcfg_pull_up>;
};
};
dsi0 {
dsi0_panel_reset: dsi0-panel-reset {
rockchip,pins = <1 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
};
gt911_int: gt911-int {
rockchip,pins = <1 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>;
};
gt911_reset: gt911-reset {
rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
dsi1 {
dsi1_panel_enable: dsi1-panel-enable {
rockchip,pins = <4 RK_PA7 RK_FUNC_GPIO &pcfg_pull_none>;
};
xpt2046_int: xpt2046-int {
rockchip,pins = <0 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
wifi6 {
wifi6_reset: wifi6-reset {
rockchip,pins = <4 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
};
&work_led {
status = "disabled";
};
&wireless_bluetooth {
status = "disabled";
};
&vcc_mipicsi1 {
status = "disabled";
};
&sdio_pwrseq {
status = "disabled";
};
&wireless_wlan {
status = "disabled";
};