代码拉取完成,页面将自动刷新
同步操作将从 Bingo/rk3588-lenovo 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* Copyright (c) 2021 Rockchip Electronics Co., Ltd.
*
*/
/dts-v1/;
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/pwm/pwm.h>
#include <dt-bindings/pinctrl/rockchip.h>
#include <dt-bindings/input/rk-input.h>
#include <dt-bindings/display/drm_mipi_dsi.h>
#include <dt-bindings/display/rockchip_vop.h>
#include <dt-bindings/sensor-dev.h>
#include "dt-bindings/usb/pd.h"
#include "rk3588.dtsi"
#include "rk3588-rk806-dual.dtsi"
#include "rk3588-linux.dtsi"
/ {
model = "Rockchip RK3588 Lenovo Board";
compatible = "rockchip,rk3588-lenovo", "rockchip,rk3588";
aliases {
mmc0 = &sdhci;
mmc1 = &sdio;
mmc2 = &sdmmc;
serial0 = &uart0;
serial1 = &uart1;
serial2 = &uart2;
serial3 = &uart3;
serial4 = &uart4;
serial5 = &uart5;
serial6 = &uart6;
serial7 = &uart7;
serial8 = &uart8;
serial9 = &uart9;
};
cspmu: cspmu@fd10c000 {
compatible = "rockchip,cspmu";
reg = <0x0 0xfd10c000 0x0 0x1000>,
<0x0 0xfd10d000 0x0 0x1000>,
<0x0 0xfd10e000 0x0 0x1000>,
<0x0 0xfd10f000 0x0 0x1000>,
<0x0 0xfd12c000 0x0 0x1000>,
<0x0 0xfd12d000 0x0 0x1000>,
<0x0 0xfd12e000 0x0 0x1000>,
<0x0 0xfd12f000 0x0 0x1000>;
};
debug: debug@fd104000 {
compatible = "rockchip,debug";
reg = <0x0 0xfd104000 0x0 0x1000>,
<0x0 0xfd105000 0x0 0x1000>,
<0x0 0xfd106000 0x0 0x1000>,
<0x0 0xfd107000 0x0 0x1000>,
<0x0 0xfd124000 0x0 0x1000>,
<0x0 0xfd125000 0x0 0x1000>,
<0x0 0xfd126000 0x0 0x1000>,
<0x0 0xfd127000 0x0 0x1000>;
};
fiq_debugger: fiq-debugger {
compatible = "rockchip,fiq-debugger";
rockchip,serial-id = <2>;
rockchip,wake-irq = <0>;
/* If enable uart uses irq instead of fiq */
rockchip,irq-mode-enable = <1>;
rockchip,baudrate = <1500000>; /* Only 115200 and 1500000 */
interrupts = <GIC_SPI 423 IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&uart2m1_xfer>;
status = "okay";
};
reserved_memory: reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
ranges;
cma {
compatible = "shared-dma-pool";
reusable;
reg = <0x0 (256 * 0x100000) 0x0 (128 * 0x100000)>;
linux,cma-default;
};
drm_logo: drm-logo@00000000 {
compatible = "rockchip,drm-logo";
reg = <0x0 0x0 0x0 0x0>;
};
drm_cubic_lut: drm-cubic-lut@00000000 {
compatible = "rockchip,drm-cubic-lut";
reg = <0x0 0x0 0x0 0x0>;
};
};
backlight: backlight {
compatible = "pwm-backlight";
brightness-levels = <
0 20 20 21 21 22 22 23
23 24 24 25 25 26 26 27
27 28 28 29 29 30 30 31
31 32 32 33 33 34 34 35
35 36 36 37 37 38 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>;
status = "okay";
pwms = <&pwm15 0 25000 0>;
enable-gpios = <&gpio3 0x04 GPIO_ACTIVE_HIGH>;
};
vcc12v_dcin: vcc12v-dcin {
compatible = "regulator-fixed";
regulator-name = "vcc12v_dcin";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <12000000>;
regulator-max-microvolt = <12000000>;
};
vcc5v0_sys: vcc5v0-sys {
compatible = "regulator-fixed";
regulator-name = "vcc5v0_sys";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
vin-supply = <&vcc12v_dcin>;
};
vcc5v0_usbdcin: vcc5v0-usbdcin {
compatible = "regulator-fixed";
regulator-name = "vcc5v0_usbdcin";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
vin-supply = <&vcc12v_dcin>;
};
adc_keys: adc-keys {
compatible = "adc-keys";
io-channels = <&saradc 1>;
io-channel-names = "buttons";
keyup-threshold-microvolt = <1800000>;
poll-interval = <100>;
vol-up-key {
label = "volume up";
linux,code = <KEY_VOLUMEUP>;
press-threshold-microvolt = <17000>;
};
};
es8326_sound: es8326-sound {
status = "okay";
compatible = "rockchip,multicodecs-card";
rockchip,card-name = "rockchip,es8326-sound";
rockchip,codec-hp-det;
rockchip,format = "i2s";
rockchip,mclk-fs = <256>;
rockchip,cpu = <&i2s0_8ch>;
rockchip,codec = <&es8326>;
};
panel_edp0: panel-edp0 {
compatible = "simple-panel";
backlight = <&backlight>;
enable-gpios = <&gpio3 0x05 GPIO_ACTIVE_HIGH>;
power-supply = <&vcc3v3_lcd>;
prepare-delay-ms = <210>;
enable-delay-ms = <50>;
unprepare-delay-ms = <160>;
disable-delay-ms = <120>;
width-mm = <309>;
height-mm = <174>;
panel-timing {
clock-frequency = <160300000>;
hactive = <2240>;
vactive = <1400>;
hfront-porch = <48>;
hsync-len = <32>;
hback-porch = <200>;
vfront-porch = <3>;
vsync-len = <5>;
vback-porch = <60>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <0>;
pixelclk-active = <0>;
};
port {
panel_in_edp0: endpoint {
remote-endpoint = <&edp0_out_panel>;
};
};
};
hall_mh248: hall-mh248 {
compatible = "hall-mh248";
pinctrl-names = "default";
pinctrl-0 = <&mh248_irq_gpio>;
irq-gpio = <&gpio1 0x0c IRQ_TYPE_LEVEL_LOW>;
hall-active = <0x00000000>;
status = "okay";
};
hdmi1_sound: hdmi1-sound {
status = "disabled";
compatible = "simple-audio-card";
simple-audio-card,format = "i2s";
simple-audio-card,mclk-fs = <238>;
simple-audio-card,name = "rockchip,hdmi1";
simple-audio-card,cpu {
sound-dai = <&i2s6_8ch>;
};
simple-audio-card,codec {
sound-dai = <&hdmi1>;
};
};
test_power: test-power {
status = "okay";
};
vcc3v3_pcie30: vcc3v3-pcie30 {
compatible = "regulator-fixed";
regulator-name = "vcc3v3_pcie30";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
enable-active-high;
gpios = <&gpio3 0x16 GPIO_ACTIVE_HIGH>;
startup-delay-us = <5000>;
vin-supply = <&vcc12v_dcin>;
};
vcc5v0_usb: vcc5v0-usb {
compatible = "regulator-fixed";
regulator-name = "vcc5v0_usb";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
vin-supply = <&vcc5v0_usbdcin>;
};
vcc3v3_lcd: vcc3v3-lcd {
compatible = "regulator-fixed";
regulator-name = "vcc3v3_lcd";
vin-supply = <&vcc_3v3_s0>;
};
vcc5v0_host: vcc5v0-host {
compatible = "regulator-fixed";
regulator-name = "vcc5v0_host";
regulator-boot-on;
regulator-always-on;
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
enable-active-high;
gpio = <&gpio4 8 GPIO_ACTIVE_HIGH>;
vin-supply = <&vcc5v0_usb>;
pinctrl-names = "default";
pinctrl-0 = <&vcc5v0_host_en>;
};
gpio_keys: gpio-keys {
compatible = "gpio-keys";
pinctrl-names = "default";
pinctrl-0 = <&sw_lid>;
hall-sensor {
wakeup-event-action = <2>;
wakeup-source;
gpios = <&gpio1 0x0c GPIO_ACTIVE_LOW>;
debounce-interval = <20>;
label = "sw_lid";
linux,input-type = <5>;
linux,code = <KEY_RESERVED>;
};
};
fan: pwm-fan {
compatible = "pwm-fan";
cooling-min-state = <0>;
cooling-max-state = <3>;
#cooling-cells = <2>;
pwms = <&pwm15 0 50000 0>;
cooling-levels = <0 50 100 150 200 255>;
rockchip,temp-trips = <
50000 1
55000 2
60000 3
65000 4
70000 5
>;
};
};
&cpu_l0 {
cpu-supply = <&vdd_cpu_lit_s0>;
mem-supply = <&vdd_cpu_lit_mem_s0>;
};
&cpu_b0 {
cpu-supply = <&vdd_cpu_big0_s0>;
mem-supply = <&vdd_cpu_big0_mem_s0>;
};
&cpu_b2 {
cpu-supply = <&vdd_cpu_big1_s0>;
mem-supply = <&vdd_cpu_big1_mem_s0>;
};
&dmc {
auto-freq-en = <1>;
status = "okay";
};
&sdmmc {
max-frequency = <150000000>;
status = "okay";
no-sdio;
no-mmc;
bus-width = <4>;
cap-mmc-highspeed;
cap-sd-highspeed;
disable-wp;
sd-uhs-sdr104;
vmmc-supply = <&vcc_3v3_sd_s0>;
vqmmc-supply = <&vccio_sd_s0>;
};
&sdhci {
bus-width = <8>;
no-sdio;
no-sd;
non-removable;
max-frequency = <200000000>;
status = "okay";
};
&gpu {
mali-supply = <&vdd_gpu_s0>;
mem-supply = <&vdd_gpu_mem_s0>;
status = "okay";
};
&iep {
status = "okay";
};
&iep_mmu {
status = "okay";
};
&jpegd {
status = "okay";
};
&jpegd_mmu {
status = "okay";
};
&jpege_ccu {
status = "okay";
};
&jpege0 {
status = "okay";
};
&jpege0_mmu {
status = "okay";
};
&jpege1 {
status = "okay";
};
&jpege1_mmu {
status = "okay";
};
&jpege2 {
status = "okay";
};
&jpege2_mmu {
status = "okay";
};
&jpege3 {
status = "okay";
};
&jpege3_mmu {
status = "okay";
};
&mpp_srv {
status = "okay";
};
&rga3_core0 {
status = "okay";
};
&rga3_0_mmu {
status = "okay";
};
&rga3_core1 {
status = "okay";
};
&rga3_1_mmu {
status = "okay";
};
&rga2 {
status = "okay";
};
&rknpu {
rknpu-supply = <&vdd_npu_s0>;
mem-supply = <&vdd_npu_mem_s0>;
status = "okay";
};
&rknpu_mmu {
status = "okay";
};
&rkvdec_ccu {
status = "okay";
};
&rkvdec0 {
status = "okay";
};
&rkvdec0_mmu {
status = "okay";
};
&rkvdec1 {
status = "okay";
};
&rkvdec1_mmu {
status = "okay";
};
&rkvenc_ccu {
status = "okay";
};
&rkvenc0 {
status = "okay";
};
&rkvenc0_mmu {
status = "okay";
};
&rkvenc1 {
status = "okay";
};
&rkvenc1_mmu {
status = "okay";
};
&rockchip_suspend {
status = "disabled";
rockchip,sleep-debug-en = <1>;
};
&saradc {
status = "okay";
vref-supply = <&vcc_1v8_s0>;
};
&tsadc {
status = "okay";
};
&u2phy0 {
status = "okay";
};
&u2phy1 {
status = "okay";
};
&u2phy2 {
status = "okay";
};
&u2phy3 {
status = "okay";
};
&u2phy0_otg {
dr_mode = "otg";
status = "okay";
};
&u2phy1_otg {
status = "okay";
};
&u2phy2_host {
status = "okay";
};
&u2phy3_host {
status = "okay";
};
&usb_host0_ehci {
status = "okay";
};
&usb_host0_ohci {
status = "okay";
};
&usb_host1_ehci {
status = "okay";
};
&usb_host1_ohci {
status = "okay";
};
&usbdp_phy0 {
orientation-switch;
svid = <0xff01>;
sbu1-dc-gpios = <&gpio4 RK_PA4 GPIO_ACTIVE_HIGH>;
sbu2-dc-gpios = <&gpio4 RK_PA5 GPIO_ACTIVE_HIGH>;
status = "okay";
port {
#address-cells = <1>;
#size-cells = <0>;
usbdp_phy0_orientation_switch: endpoint@0 {
reg = <0>;
remote-endpoint = <&usbc0_orien_sw>;
};
usbdp_phy0_dp_altmode_mux: endpoint@1 {
reg = <1>;
remote-endpoint = <&usbc0_dp_altmode_mux>;
};
};
};
&usbdp_phy0_dp {
status = "okay";
};
&usbdp_phy0_u3 {
status = "okay";
};
&usbdrd3_0 {
status = "okay";
};
&usbdrd_dwc3_0 {
dr_mode = "otg";
status = "okay";
usb-role-switch;
port {
#address-cells = <1>;
#size-cells = <0>;
dwc3_0_role_switch: endpoint@0 {
reg = <0>;
remote-endpoint = <&usbc0_role_sw>;
};
};
};
&usbhost3_0 {
status = "okay";
};
&usbhost_dwc3_0 {
status = "okay";
};
&usbdp_phy1 {
orientation-switch;
svid = <0xff01>;
sbu1-dc-gpios = <&gpio4 RK_PA4 GPIO_ACTIVE_HIGH>;
sbu2-dc-gpios = <&gpio4 RK_PA5 GPIO_ACTIVE_HIGH>;
status = "okay";
port {
#address-cells = <1>;
#size-cells = <0>;
usbdp_phy1_orientation_switch: endpoint@0 {
reg = <0>;
remote-endpoint = <&usbc1_orien_sw>;
};
usbdp_phy1_dp_altmode_mux: endpoint@1 {
reg = <1>;
remote-endpoint = <&usbc1_dp_altmode_mux>;
};
};
};
&usbdp_phy1_dp {
status = "okay";
};
&usbdp_phy1_u3 {
status = "okay";
};
&usbdrd3_1 {
status = "okay";
};
&usbdrd_dwc3_1 {
dr_mode = "otg";
status = "disabled";
usb-role-switch;
port {
#address-cells = <1>;
#size-cells = <0>;
dwc3_1_role_switch: endpoint@0 {
reg = <0>;
remote-endpoint = <&usbc1_role_sw>;
};
};
};
&csi2_dphy0_hw {
status = "disabled";
};
&csi2_dphy1_hw {
status = "disabled";
};
&vdpu {
status = "okay";
};
&vdpu_mmu {
status = "okay";
};
&vop {
status = "okay";
};
&vop_mmu {
status = "okay";
};
/* vp0 & vp1 splice for 8K output */
&vp0 {
cursor-win-id=<ROCKCHIP_VOP2_CLUSTER0>;
rockchip,plane-mask = <(1 << ROCKCHIP_VOP2_CLUSTER0 | 1 << ROCKCHIP_VOP2_ESMART0)>;
rockchip,primary-plane = <ROCKCHIP_VOP2_ESMART0>;
};
&vp1 {
cursor-win-id=<ROCKCHIP_VOP2_CLUSTER1>;
rockchip,plane-mask = <(1 << ROCKCHIP_VOP2_CLUSTER1 | 1 << ROCKCHIP_VOP2_ESMART1)>;
rockchip,primary-plane = <ROCKCHIP_VOP2_ESMART1>;
};
&vp2 {
cursor-win-id=<ROCKCHIP_VOP2_CLUSTER2>;
rockchip,plane-mask = <(1 << ROCKCHIP_VOP2_CLUSTER2 | 1 << ROCKCHIP_VOP2_ESMART2)>;
rockchip,primary-plane = <ROCKCHIP_VOP2_ESMART2>;
};
&vp3 {
cursor-win-id=<ROCKCHIP_VOP2_CLUSTER3>;
rockchip,plane-mask = <(1 << ROCKCHIP_VOP2_CLUSTER3 | 1 << ROCKCHIP_VOP2_ESMART3)>;
rockchip,primary-plane = <ROCKCHIP_VOP2_ESMART3>;
};
&vdd_gpu_s0 {
regulator-always-on;
};
&vdd_gpu_mem_s0 {
regulator-always-on;
};
&vdd_ddr_s0 {
regulator-min-microvolt = <850000>;
regulator-max-microvolt = <850000>;
};
&vdd_0v75_hdmi_edp_s0 {
regulator-min-microvolt = <750000>;
regulator-max-microvolt = <750000>;
};
&dp0 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&dp0_hpd>;
hpd-gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>;
};
&dp0_in_vp1 {
status = "okay";
};
&route_dp0 {
status = "okay";
connect = <&vp2_out_dp0>;
};
&dp1 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&dp1_hpd>;
hpd-gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>;
};
&dp1_in_vp1 {
status = "okay";
};
&route_dp1 {
status = "okay";
connect = <&vp2_out_dp1>;
};
&edp0 {
force-hpd;
status = "okay";
ports {
port@0 {
edp0_out_vop: endpoint@1 {
reg = <1>;
remote-endpoint = <&vp1_out_edp0>;
status = "okay";
};
};
port@1 {
reg = <1>;
edp0_out_panel: endpoint {
remote-endpoint = <&panel_in_edp0>;
};
};
};
};
&edp0_in_vp0 {
status = "disabled";
};
&edp0_in_vp1 {
status = "disabled";
};
&edp0_in_vp2 {
status = "okay";
};
&u2phy2 {
status = "okay";
host-port {
phy-supply = <&vcc5v0_host>;
};
};
&u2phy3 {
status = "okay";
host-port {
phy-supply = <&vcc5v0_host>;
};
};
&hdptxphy0 {
status = "okay";
lane-polarity-invert = <0 0 0 0>;
};
&i2c1 {
pinctrl-names = "default";
pinctrl-0 = <&i2c1m0_xfer>;
status = "okay";
usbc0: anx7411@2c {
status = "okay";
compatible = "analogix,anx7411";
reg = <0x2c>;
#address-cells = <0x00000001>;
#size-cells = <0x00000000>;
interrupt-parent = <&gpio4>;
interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
extcon = <&u2phy0>;
pinctrl-names = "default";
pinctrl-0 = <&usbc0_int>;
port {
#address-cells = <1>;
#size-cells = <0>;
usbc0_role_sw: endpoint@0 {
reg = <0>;
remote-endpoint = <&dwc3_0_role_switch>;
};
};
usb_con: connector@0 {
compatible = "usb-c-connector";
reg = <0x00000000>;
power-role = "dual";
data-role = "dual";
try-power-role = "sink";
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>;
usbc0_orien_sw: endpoint {
remote-endpoint = <&usbdp_phy0_orientation_switch>;
};
};
port@1 {
reg = <1>;
usbc0_dp_altmode_mux: endpoint {
remote-endpoint = <&usbdp_phy0_dp_altmode_mux>;
};
};
};
};
};
};
&i2c2 {
status = "okay";
hym8563: hym8563@51 {
compatible = "haoyu,hym8563";
reg = <0x51>;
#clock-cells = <0>;
clock-frequency = <32768>;
clock-output-names = "hym8563";
pinctrl-names = "default";
pinctrl-0 = <&hym8563_int>;
interrupt-parent = <&gpio0>;
interrupts = <RK_PD4 IRQ_TYPE_LEVEL_LOW>;
};
sc8886: sc8886@6b {
compatible = "southchip,sc8886";
reg = <0x6b>;
ti,usb-charger-detection = <&usbc0 &usbc1>;
interrupt-parent = <&gpio0>;
interrupts = <RK_PD5 IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&charger_ok>;
extcon = <&u2phy0 &u2phy3>;
ti,charge-current = <2500000>;
ti,max-input-voltage = <20000000>;
ti,max-input-current = <6000000>;
ti,max-charge-voltage = <16800000>;
ti,input-current = <500000>;
ti,input-current-sdp = <500000>;
ti,input-current-dcp = <2000000>;
ti,input-current-cdp = <2000000>;
ti,minimum-sys-voltage = <7400000>;
ti,otg-voltage = <5000000>;
ti,otg-current = <500000>;
pd-charge-only = <0>;
status = "okay";
};
sbs: sbs@b {
status = "okay";
compatible = "sbs,sbs-battery";
reg = <0xb>;
sbs,poll-retry-count = <100>;
sbs,i2c-retry-count = <100>;
};
};
&i2c3 {
status = "okay";
es8326: es8326@18 {
status = "okay";
compatible = "everest,es8326";
reg = <0x18>;
#sound-dai-cells = <0>;
clocks = <&cru I2S0_8CH_MCLKOUT>;
clock-names = "mclk";
assigned-clocks = <&cru I2S0_8CH_MCLKOUT>;
assigned-clock-rates = <12288000>;
pinctrl-names = "default";
pinctrl-0 = <&i2s1m0_mclk>;
interrupt-parent = <&gpio1>;
interrupts = <0x1d IRQ_TYPE_EDGE_RISING>;
mclk-rate = <12288000>;
mic1-src = [22];
mic2-src = [44];
jack-pol = [0e];
spk-con-gpio = <&gpio1 0x1b GPIO_ACTIVE_LOW>;
};
};
&i2c4 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&i2c4m3_xfer>;
clock-frequency = <400000>;
touchpad: touchpad@2c {
compatible = "hid-over-i2c";
reg = <0x2c>;
hid-descr-addr = <0x20>;
interrupt-parent = <&gpio1>;
interrupts = <0x0a IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&touchpad_irq_gpio >;
status = "okay";
};
};
&i2c6 {
status = "okay";
clock-frequency = <400000>;
usbc1: anx7411@2c {
status = "okay";
compatible = "analogix,anx7411";
reg = <0x2c>;
#address-cells = <0x00000001>;
#size-cells = <0x00000000>;
interrupt-parent = <&gpio4>;
interrupts = <9 IRQ_TYPE_LEVEL_LOW>;
extcon = <&u2phy3>;
pinctrl-names = "default";
pinctrl-0 = <&usbc1_int>;
port {
#address-cells = <1>;
#size-cells = <0>;
usbc1_role_sw: endpoint@0 {
reg = <0>;
remote-endpoint = <&dwc3_1_role_switch>;
};
};
usb_con1: connector@0 {
compatible = "usb-c-connector";
reg = <0x00000000>;
power-role = "dual";
data-role = "dual";
try-power-role = "sink";
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>;
usbc1_orien_sw: endpoint {
remote-endpoint = <&usbdp_phy1_orientation_switch>;
};
};
port@1 {
reg = <1>;
usbc1_dp_altmode_mux: endpoint {
remote-endpoint = <&usbdp_phy1_dp_altmode_mux>;
};
};
};
};
};
};
&i2c7 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&i2c7m0_xfer>;
clock-frequency = <400000>;
touchpanel: touchpanel@10 {
compatible = "hid-over-i2c";
reg = <0x10>;
hid-descr-addr = <0x10>;
interrupt-parent = <&gpio0>;
interrupts = <0x1b IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&touchpanel_pwr_en>;
reset-gpios = <&gpio0 0x1a GPIO_ACTIVE_LOW>;
status = "okay";
};
};
&i2s0_8ch {
status = "okay";
};
&pcie30phy {
rockchip,pcie30-phymode = <PHY_MODE_PCIE_AGGREGATION>;
status = "okay";
};
&combphy0_ps {
status = "okay";
};
&combphy1_ps {
status = "okay";
};
&combphy2_psu {
status = "okay";
};
&pcie2x1l0 {
status = "okay";
reset-gpios = <&gpio4 0x05 GPIO_ACTIVE_HIGH>;
};
&pcie3x4 {
reset-gpios = <&gpio4 RK_PB6 GPIO_ACTIVE_HIGH>;
vpcie3v3-supply = <&vcc3v3_pcie30>;
status = "okay";
};
&pwm6 {
pinctrl-names = "active";
pinctrl-0 = <&pwm6m1_pins>;
status = "okay";
};
&pwm12 {
pinctrl-names = "active";
pinctrl-0 = <&pwm12m1_pins>;
status = "okay";
};
&pwm14 {
pinctrl-names = "active";
pinctrl-0 = <&pwm14m0_pins>;
status = "okay";
};
&pwm15 {
pinctrl-names = "active";
pinctrl-0 = <&pwm15m3_pins>;
#pwm-cells = <3>;
status = "okay";
};
&display_subsystem {
memory-region = <&drm_logo>;
memory-region-names = "drm-logo";
};
&rng {
status = "okay";
};
&pinctrl {
hp_det {
hp_det_gpio: hp-det-gpio {
rockchip,pins = <1 RK_PB5 RK_FUNC_GPIO &pcfg_pull_up>;
};
};
hym8563 {
hym8563_int: hym8563-int {
rockchip,pins = <0 RK_PD4 RK_FUNC_GPIO &pcfg_pull_up>;
};
};
sc8886 {
charger_ok: charger-ok {
rockchip,pins = <0 0x00000014 RK_FUNC_GPIO &pcfg_pull_up>;
phandle = <0x00000125>;
};
};
sbs {
sbs_detect: sbs-detect {
rockchip,pins = <1 0x00000008 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
sensor {
mh248_irq_gpio: mh248-irq-gpio {
rockchip,pins = <1 0x0000000c RK_FUNC_GPIO &pcfg_pull_up>;
};
};
spk_ctl {
spk_ctl_gpio: spk-ctl-gpio {
rockchip,pins = <1 0x0000001b RK_FUNC_GPIO &pcfg_pull_none>;
};
};
touchpad {
touchpad_irq_gpio: touchpad_irq_gpio {
rockchip,pins = <1 0x0000000a RK_FUNC_GPIO &pcfg_pull_up>;
};
};
touchpanel {
touchpanel_pwr_en: touchpanel_pwr_en {
rockchip,pins = <3 0x0000001c RK_FUNC_GPIO &pcfg_output_high>;
};
};
usb {
vcc5v0_host_en: vcc5v0-host-en {
rockchip,pins = <4 0x00000008 0x00000000 0x00000175 0x00000003 0x00000009 RK_FUNC_GPIO &pcfg_output_high>;
};
};
keys {
sw_lid: sw-lid {
rockchip,pins = <1 0x0000000c RK_FUNC_GPIO &pcfg_pull_none>;
};
};
usb-typec {
usbc0_int: usbc0-int {
rockchip,pins = <4 0x00000009 RK_FUNC_GPIO &pcfg_pull_up>;
};
usbc1_int: usbc1-int {
rockchip,pins = <4 0x0000000f RK_FUNC_GPIO &pcfg_pull_up>;
};
typec5v_pwren: typec5v-pwren {
rockchip,pins = <3 0x00000008 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
dp {
dp0_hpd: dp0-hpd {
rockchip,pins = <1 0x00000000 RK_FUNC_GPIO &pcfg_pull_none>;
};
dp1_hpd: dp1-hpd {
rockchip,pins = <1 0x00000001 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
};
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。