Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d2ec2b532e | ||
|
|
3bbdf81bc5 | ||
|
|
92bc223ace | ||
|
|
f716b853db |
@@ -32,11 +32,13 @@ deps_arch/arm64/boot/dts/rockchip/rk3588/dr4-rk3588.dtb := \
|
|||||||
scripts/dtc/include-prefixes/dt-bindings/sensor-dev.h \
|
scripts/dtc/include-prefixes/dt-bindings/sensor-dev.h \
|
||||||
arch/arm64/boot/dts/rockchip/rk3588/../rk3588-rk806-single.dtsi \
|
arch/arm64/boot/dts/rockchip/rk3588/../rk3588-rk806-single.dtsi \
|
||||||
arch/arm64/boot/dts/rockchip/rk3588/../rk3588-linux.dtsi \
|
arch/arm64/boot/dts/rockchip/rk3588/../rk3588-linux.dtsi \
|
||||||
|
arch/arm64/boot/dts/rockchip/rk3588/rp-tp-i2c6-gt911.dtsi \
|
||||||
arch/arm64/boot/dts/rockchip/rk3588/rpdzkj_config.dtsi \
|
arch/arm64/boot/dts/rockchip/rk3588/rpdzkj_config.dtsi \
|
||||||
arch/arm64/boot/dts/rockchip/rk3588/rp-usb-host.dtsi \
|
arch/arm64/boot/dts/rockchip/rk3588/rp-usb-host.dtsi \
|
||||||
arch/arm64/boot/dts/rockchip/rk3588/rp-eth-gmac0.dtsi \
|
arch/arm64/boot/dts/rockchip/rk3588/rp-eth-gmac0.dtsi \
|
||||||
arch/arm64/boot/dts/rockchip/rk3588/rp-eth-gmac1.dtsi \
|
arch/arm64/boot/dts/rockchip/rk3588/rp-eth-gmac1.dtsi \
|
||||||
arch/arm64/boot/dts/rockchip/rk3588/rp-pcie-power-rk3588.dtsi \
|
arch/arm64/boot/dts/rockchip/rk3588/rp-pcie-power-rk3588.dtsi \
|
||||||
|
arch/arm64/boot/dts/rockchip/rk3588/rp-lcd-hdmi1.dtsi \
|
||||||
|
|
||||||
arch/arm64/boot/dts/rockchip/rk3588/dr4-rk3588.dtb: $(deps_arch/arm64/boot/dts/rockchip/rk3588/dr4-rk3588.dtb)
|
arch/arm64/boot/dts/rockchip/rk3588/dr4-rk3588.dtb: $(deps_arch/arm64/boot/dts/rockchip/rk3588/dr4-rk3588.dtb)
|
||||||
|
|
||||||
|
|||||||
@@ -28,8 +28,10 @@ dr4-rk3588.o: arch/arm64/boot/dts/rockchip/rk3588/dr4-rk3588.dts \
|
|||||||
scripts/dtc/include-prefixes/dt-bindings/sensor-dev.h \
|
scripts/dtc/include-prefixes/dt-bindings/sensor-dev.h \
|
||||||
arch/arm64/boot/dts/rockchip/rk3588/../rk3588-rk806-single.dtsi \
|
arch/arm64/boot/dts/rockchip/rk3588/../rk3588-rk806-single.dtsi \
|
||||||
arch/arm64/boot/dts/rockchip/rk3588/../rk3588-linux.dtsi \
|
arch/arm64/boot/dts/rockchip/rk3588/../rk3588-linux.dtsi \
|
||||||
|
arch/arm64/boot/dts/rockchip/rk3588/rp-tp-i2c6-gt911.dtsi \
|
||||||
arch/arm64/boot/dts/rockchip/rk3588/rpdzkj_config.dtsi \
|
arch/arm64/boot/dts/rockchip/rk3588/rpdzkj_config.dtsi \
|
||||||
arch/arm64/boot/dts/rockchip/rk3588/rp-usb-host.dtsi \
|
arch/arm64/boot/dts/rockchip/rk3588/rp-usb-host.dtsi \
|
||||||
arch/arm64/boot/dts/rockchip/rk3588/rp-eth-gmac0.dtsi \
|
arch/arm64/boot/dts/rockchip/rk3588/rp-eth-gmac0.dtsi \
|
||||||
arch/arm64/boot/dts/rockchip/rk3588/rp-eth-gmac1.dtsi \
|
arch/arm64/boot/dts/rockchip/rk3588/rp-eth-gmac1.dtsi \
|
||||||
arch/arm64/boot/dts/rockchip/rk3588/rp-pcie-power-rk3588.dtsi
|
arch/arm64/boot/dts/rockchip/rk3588/rp-pcie-power-rk3588.dtsi \
|
||||||
|
arch/arm64/boot/dts/rockchip/rk3588/rp-lcd-hdmi1.dtsi
|
||||||
|
|||||||
@@ -14517,7 +14517,20 @@
|
|||||||
/delete-node/ &backlight;
|
/delete-node/ &backlight;
|
||||||
# 4 "arch/arm64/boot/dts/rockchip/rk3588/dr4-rk3588.dts" 2
|
# 4 "arch/arm64/boot/dts/rockchip/rk3588/dr4-rk3588.dts" 2
|
||||||
|
|
||||||
|
# 1 "arch/arm64/boot/dts/rockchip/rk3588/rp-tp-i2c6-gt911.dtsi" 1
|
||||||
|
|
||||||
|
&i2c6 {
|
||||||
|
status = "okay";
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&i2c6m0_xfer>;
|
||||||
|
|
||||||
|
goodix_ts:goodix_ts@5d {
|
||||||
|
status = "okay";
|
||||||
|
compatible = "goodix,gt9xx";
|
||||||
|
reg = <0x5d>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
# 6 "arch/arm64/boot/dts/rockchip/rk3588/dr4-rk3588.dts" 2
|
||||||
|
|
||||||
|
|
||||||
# 1 "arch/arm64/boot/dts/rockchip/rk3588/rpdzkj_config.dtsi" 1
|
# 1 "arch/arm64/boot/dts/rockchip/rk3588/rpdzkj_config.dtsi" 1
|
||||||
@@ -14587,11 +14600,29 @@
|
|||||||
|
|
||||||
|
|
||||||
&usbhost3_0 {
|
&usbhost3_0 {
|
||||||
status = "disabled";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
&usbhost_dwc3_0 {
|
&usbhost_dwc3_0 {
|
||||||
status = "disabled";
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&usbdrd_dwc3_0 {
|
||||||
|
extcon=<&u2phy0>;
|
||||||
|
status="okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&u2phy0 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&usbdrd_dwc3_1 {
|
||||||
|
extcon=<&u2phy1>;
|
||||||
|
status="okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&u2phy1 {
|
||||||
|
status = "okay";
|
||||||
};
|
};
|
||||||
# 13 "arch/arm64/boot/dts/rockchip/rk3588/dr4-rk3588.dts" 2
|
# 13 "arch/arm64/boot/dts/rockchip/rk3588/dr4-rk3588.dts" 2
|
||||||
|
|
||||||
@@ -14622,8 +14653,8 @@
|
|||||||
&gmac0_rx_bus2
|
&gmac0_rx_bus2
|
||||||
&gmac0_rgmii_clk
|
&gmac0_rgmii_clk
|
||||||
&gmac0_rgmii_bus
|
&gmac0_rgmii_bus
|
||||||
&gmac0_clkinout
|
&gmac0_clkinout
|
||||||
ð0_pins>;
|
ð0_pins>;
|
||||||
|
|
||||||
tx_delay = <0x44>;
|
tx_delay = <0x44>;
|
||||||
|
|
||||||
@@ -14707,6 +14738,37 @@
|
|||||||
|
|
||||||
};
|
};
|
||||||
# 21 "arch/arm64/boot/dts/rockchip/rk3588/dr4-rk3588.dts" 2
|
# 21 "arch/arm64/boot/dts/rockchip/rk3588/dr4-rk3588.dts" 2
|
||||||
|
# 64 "arch/arm64/boot/dts/rockchip/rk3588/dr4-rk3588.dts"
|
||||||
|
# 1 "arch/arm64/boot/dts/rockchip/rk3588/rp-lcd-hdmi1.dtsi" 1
|
||||||
|
&hdmi1 {
|
||||||
|
status = "okay";
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&hdmim2_tx1_cec &hdmim0_tx1_hpd &hdmim2_tx1_scl &hdmim2_tx1_sda>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&hdmi1_in_vp1 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&hdmi1_sound {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&i2s6_8ch {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
&hdptxphy_hdmi1 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
&route_hdmi1 {
|
||||||
|
status = "okay";
|
||||||
|
connect = <&vp1_out_hdmi1>;
|
||||||
|
};
|
||||||
|
# 65 "arch/arm64/boot/dts/rockchip/rk3588/dr4-rk3588.dts" 2
|
||||||
# 90 "arch/arm64/boot/dts/rockchip/rk3588/dr4-rk3588.dts"
|
# 90 "arch/arm64/boot/dts/rockchip/rk3588/dr4-rk3588.dts"
|
||||||
/ {
|
/ {
|
||||||
model = "dr4-rk3588";
|
model = "dr4-rk3588";
|
||||||
@@ -14736,7 +14798,7 @@
|
|||||||
thermal-zone = "soc-thermal";
|
thermal-zone = "soc-thermal";
|
||||||
threshold-temp = <60000>;
|
threshold-temp = <60000>;
|
||||||
running-time = <10000>;
|
running-time = <10000>;
|
||||||
status = "disable";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
rp_power{
|
rp_power{
|
||||||
@@ -14754,13 +14816,64 @@
|
|||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
# 162 "arch/arm64/boot/dts/rockchip/rk3588/dr4-rk3588.dts"
|
|
||||||
|
rp_gpio{
|
||||||
|
status = "disabled";
|
||||||
|
compatible = "rp_gpio";
|
||||||
|
|
||||||
|
gpio3c7 {
|
||||||
|
gpio_num = <&gpio3 23 0>;
|
||||||
|
gpio_function = <0>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&uart1 {
|
||||||
|
status = "okay";
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&uart1m1_xfer>;
|
||||||
|
fifo-depth =<4096>;
|
||||||
|
rx-fifo-depth =<2048>;
|
||||||
|
tx-fifo-depth =<2048>;
|
||||||
|
dma-names = "tx", "rx";
|
||||||
|
};
|
||||||
|
|
||||||
|
&uart3 {
|
||||||
|
status = "okay";
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&uart3m0_xfer>;
|
||||||
|
fifo-depth =<4096>;
|
||||||
|
rx-fifo-depth =<2048>;
|
||||||
|
tx-fifo-depth =<2048>;
|
||||||
|
dma-names = "tx", "rx";
|
||||||
|
};
|
||||||
|
|
||||||
|
&uart4 {
|
||||||
|
status = "okay";
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&uart4m1_xfer>;
|
||||||
|
fifo-depth =<4096>;
|
||||||
|
rx-fifo-depth =<2048>;
|
||||||
|
tx-fifo-depth =<2048>;
|
||||||
|
dma-names = "tx", "rx";
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
&uart5 {
|
||||||
|
status = "okay";
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&uart5m0_xfer>;
|
||||||
|
fifo-depth =<4096>;
|
||||||
|
rx-fifo-depth =<2048>;
|
||||||
|
tx-fifo-depth =<2048>;
|
||||||
|
dma-names = "tx", "rx";
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
&uart7 {
|
&uart7 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&uart7m1_xfer>;
|
pinctrl-0 = <&uart7m0_xfer>;
|
||||||
fifo-depth =<4096>;
|
fifo-depth =<4096>;
|
||||||
rx-fifo-depth =<2048>;
|
rx-fifo-depth =<2048>;
|
||||||
tx-fifo-depth =<2048>;
|
tx-fifo-depth =<2048>;
|
||||||
@@ -14777,16 +14890,6 @@
|
|||||||
dma-names = "tx", "rx";
|
dma-names = "tx", "rx";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
&can0 {
|
|
||||||
assigned-clocks = <&cru 112>;
|
|
||||||
assigned-clock-rates = <200000000>;
|
|
||||||
status = "okay";
|
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&can0m0_pins>;
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
&can1 {
|
&can1 {
|
||||||
assigned-clocks = <&cru 114>;
|
assigned-clocks = <&cru 114>;
|
||||||
assigned-clock-rates = <200000000>;
|
assigned-clock-rates = <200000000>;
|
||||||
@@ -14794,9 +14897,22 @@
|
|||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&can1m1_pins>;
|
pinctrl-0 = <&can1m1_pins>;
|
||||||
};
|
};
|
||||||
# 225 "arch/arm64/boot/dts/rockchip/rk3588/dr4-rk3588.dts"
|
|
||||||
|
&spi3 {
|
||||||
|
status = "okay";
|
||||||
|
pinctrl-0 = <&spi3m1_pins &spi3m1_cs1>;
|
||||||
|
|
||||||
|
spi3_dev@0 {
|
||||||
|
compatible = "rockchip,spidev";
|
||||||
|
reg = <0>;
|
||||||
|
spi-max-frequency = <12000000>;
|
||||||
|
spi-lsb-first;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
&i2c4 {
|
&i2c4 {
|
||||||
status = "disable";
|
status = "disabled";
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&i2c4m1_xfer>;
|
pinctrl-0 = <&i2c4m1_xfer>;
|
||||||
|
|
||||||
@@ -14815,7 +14931,6 @@
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
&sdmmc {
|
&sdmmc {
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
@@ -14823,3 +14938,32 @@
|
|||||||
&fiq_debugger {
|
&fiq_debugger {
|
||||||
rockchip,baudrate = <115200>;
|
rockchip,baudrate = <115200>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&display_subsystem {
|
||||||
|
clocks = <&hdptxphy_hdmi_clk0>, <&hdptxphy_hdmi_clk1>;
|
||||||
|
clock-names = "hdmi0_phy_pll", "hdmi1_phy_pll";
|
||||||
|
};
|
||||||
|
|
||||||
|
&hdptxphy_hdmi_clk0 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&hdptxphy_hdmi_clk1 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&pwm0 {
|
||||||
|
status = "okay";
|
||||||
|
compatible = "rockchip,rk3588-pwm", "rockchip,rk3328-pwm";
|
||||||
|
pinctrl-names = "active";
|
||||||
|
pinctrl-0 = <&pwm0m2_pins>;
|
||||||
|
#pwm-cells = <3>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&pwm13 {
|
||||||
|
status = "okay";
|
||||||
|
compatible = "rockchip,rk3588-pwm", "rockchip,rk3328-pwm";
|
||||||
|
pinctrl-names = "active";
|
||||||
|
pinctrl-0 = <&pwm13m2_pins>;
|
||||||
|
#pwm-cells = <3>;
|
||||||
|
};
|
||||||
|
|||||||
Binary file not shown.
@@ -2,7 +2,7 @@
|
|||||||
//#include "../rk3588-evb4-lp4-v10-linux.dts"
|
//#include "../rk3588-evb4-lp4-v10-linux.dts"
|
||||||
#include "rp-rk3588-board.dtsi"
|
#include "rp-rk3588-board.dtsi"
|
||||||
|
|
||||||
// #include "rp-tp-i2c6-gt911.dtsi"
|
#include "rp-tp-i2c6-gt911.dtsi"
|
||||||
// #include "rd-rk3588-lcd-gpio.dtsi"
|
// #include "rd-rk3588-lcd-gpio.dtsi"
|
||||||
|
|
||||||
#include "rpdzkj_config.dtsi"
|
#include "rpdzkj_config.dtsi"
|
||||||
@@ -60,8 +60,8 @@
|
|||||||
//#include "rp-camera-dphy0-imx415.dtsi"
|
//#include "rp-camera-dphy0-imx415.dtsi"
|
||||||
/******************************************/
|
/******************************************/
|
||||||
|
|
||||||
//#include "rp-lcd-hdmi0.dtsi" //batch ignore
|
// #include "rp-lcd-hdmi0.dtsi" //batch ignore
|
||||||
//#include "rp-lcd-hdmi1.dtsi" //batch ignore
|
#include "rp-lcd-hdmi1.dtsi" //batch ignore
|
||||||
//#include "rp-lcd-typec-dp0.dtsi" //usb edp0, must be enable rp-usb-typec.dtsi, batch ignore
|
//#include "rp-lcd-typec-dp0.dtsi" //usb edp0, must be enable rp-usb-typec.dtsi, batch ignore
|
||||||
// #include "rp-lcd-multi-hdmi0-hdmi1-dp0.dtsi"
|
// #include "rp-lcd-multi-hdmi0-hdmi1-dp0.dtsi"
|
||||||
|
|
||||||
@@ -115,7 +115,7 @@
|
|||||||
thermal-zone = "soc-thermal";
|
thermal-zone = "soc-thermal";
|
||||||
threshold-temp = <60000>; //60C
|
threshold-temp = <60000>; //60C
|
||||||
running-time = <10000>; //10s
|
running-time = <10000>; //10s
|
||||||
status = "disable";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
rp_power{
|
rp_power{
|
||||||
@@ -150,21 +150,63 @@
|
|||||||
// };
|
// };
|
||||||
};
|
};
|
||||||
|
|
||||||
// rp_gpio{
|
rp_gpio{
|
||||||
// status = "okay";
|
status = "disabled";
|
||||||
// compatible = "rp_gpio";
|
compatible = "rp_gpio";
|
||||||
|
|
||||||
|
gpio3c7 {
|
||||||
|
gpio_num = <&gpio3 RK_PC7 GPIO_ACTIVE_HIGH>;
|
||||||
|
gpio_function = <0>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&uart1 {
|
||||||
|
status = "okay";
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&uart1m1_xfer>;
|
||||||
|
fifo-depth =<4096>;
|
||||||
|
rx-fifo-depth =<2048>;
|
||||||
|
tx-fifo-depth =<2048>;
|
||||||
|
dma-names = "tx", "rx";
|
||||||
|
};
|
||||||
|
|
||||||
|
&uart3 {
|
||||||
|
status = "okay";
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&uart3m0_xfer>;
|
||||||
|
fifo-depth =<4096>;
|
||||||
|
rx-fifo-depth =<2048>;
|
||||||
|
tx-fifo-depth =<2048>;
|
||||||
|
dma-names = "tx", "rx";
|
||||||
|
};
|
||||||
|
|
||||||
|
&uart4 {
|
||||||
|
status = "okay";
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&uart4m1_xfer>;
|
||||||
|
fifo-depth =<4096>;
|
||||||
|
rx-fifo-depth =<2048>;
|
||||||
|
tx-fifo-depth =<2048>;
|
||||||
|
dma-names = "tx", "rx";
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
&uart5 {
|
||||||
|
status = "okay";
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&uart5m0_xfer>;
|
||||||
|
fifo-depth =<4096>;
|
||||||
|
rx-fifo-depth =<2048>;
|
||||||
|
tx-fifo-depth =<2048>;
|
||||||
|
dma-names = "tx", "rx";
|
||||||
|
|
||||||
// gpio3c7 {
|
|
||||||
// gpio_num = <&gpio3 RK_PC7 GPIO_ACTIVE_HIGH>;
|
|
||||||
// gpio_function = <0>;
|
|
||||||
// };
|
|
||||||
// };
|
|
||||||
};
|
};
|
||||||
|
|
||||||
&uart7 {
|
&uart7 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&uart7m1_xfer>;
|
pinctrl-0 = <&uart7m0_xfer>;
|
||||||
fifo-depth =<4096>;
|
fifo-depth =<4096>;
|
||||||
rx-fifo-depth =<2048>;
|
rx-fifo-depth =<2048>;
|
||||||
tx-fifo-depth =<2048>;
|
tx-fifo-depth =<2048>;
|
||||||
@@ -181,16 +223,6 @@
|
|||||||
dma-names = "tx", "rx";
|
dma-names = "tx", "rx";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
&can0 {
|
|
||||||
assigned-clocks = <&cru CLK_CAN0>;
|
|
||||||
assigned-clock-rates = <200000000>;
|
|
||||||
status = "okay";
|
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&can0m0_pins>;
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
&can1 {
|
&can1 {
|
||||||
assigned-clocks = <&cru CLK_CAN1>;
|
assigned-clocks = <&cru CLK_CAN1>;
|
||||||
assigned-clock-rates = <200000000>;
|
assigned-clock-rates = <200000000>;
|
||||||
@@ -199,31 +231,21 @@
|
|||||||
pinctrl-0 = <&can1m1_pins>;
|
pinctrl-0 = <&can1m1_pins>;
|
||||||
};
|
};
|
||||||
|
|
||||||
// &can2 {
|
&spi3 {
|
||||||
// assigned-clocks = <&cru CLK_CAN2>;
|
status = "okay";
|
||||||
// assigned-clock-rates = <200000000>;
|
pinctrl-0 = <&spi3m1_pins &spi3m1_cs1>;
|
||||||
// status = "okay";
|
|
||||||
// pinctrl-names = "default";
|
|
||||||
// pinctrl-0 = <&can2m1_pins>;
|
|
||||||
// };
|
|
||||||
|
|
||||||
// &spi3 {
|
spi3_dev@0 {
|
||||||
// // status = "disabled";
|
compatible = "rockchip,spidev";
|
||||||
// status = "okay";
|
reg = <0>;
|
||||||
// max-freq = <48000000>;
|
spi-max-frequency = <12000000>;
|
||||||
// dev-port = <1>;
|
spi-lsb-first;
|
||||||
// pinctrl-0 = <&spi3m1_cs1 &spi3m1_pins>;
|
};
|
||||||
// spidev0: spidev@00 {
|
};
|
||||||
// status = "okay";
|
|
||||||
// compatible = "rockchip,spidev";
|
|
||||||
// reg = <0x00>;
|
|
||||||
// spi-max-frequency = <48000000>;
|
|
||||||
// };
|
|
||||||
// };
|
|
||||||
|
|
||||||
|
|
||||||
&i2c4 {
|
&i2c4 {
|
||||||
status = "disable";
|
status = "disabled";
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&i2c4m1_xfer>;
|
pinctrl-0 = <&i2c4m1_xfer>;
|
||||||
|
|
||||||
@@ -242,7 +264,6 @@
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
&sdmmc {
|
&sdmmc {
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
@@ -251,15 +272,31 @@
|
|||||||
rockchip,baudrate = <115200>;
|
rockchip,baudrate = <115200>;
|
||||||
};
|
};
|
||||||
|
|
||||||
// &display_subsystem {
|
&display_subsystem {
|
||||||
// clocks = <&hdptxphy_hdmi_clk0>, <&hdptxphy_hdmi_clk1>;
|
clocks = <&hdptxphy_hdmi_clk0>, <&hdptxphy_hdmi_clk1>;
|
||||||
// clock-names = "hdmi0_phy_pll", "hdmi1_phy_pll";
|
clock-names = "hdmi0_phy_pll", "hdmi1_phy_pll";
|
||||||
// };
|
};
|
||||||
|
|
||||||
// &hdptxphy_hdmi_clk0 {
|
&hdptxphy_hdmi_clk0 {
|
||||||
// status = "okay";
|
status = "okay";
|
||||||
// };
|
};
|
||||||
|
|
||||||
// &hdptxphy_hdmi_clk1 {
|
&hdptxphy_hdmi_clk1 {
|
||||||
// status = "okay";
|
status = "okay";
|
||||||
// };
|
};
|
||||||
|
|
||||||
|
&pwm0 {
|
||||||
|
status = "okay";
|
||||||
|
compatible = "rockchip,rk3588-pwm", "rockchip,rk3328-pwm";
|
||||||
|
pinctrl-names = "active";
|
||||||
|
pinctrl-0 = <&pwm0m2_pins>; // 选择 PWM1 的引脚复用
|
||||||
|
#pwm-cells = <3>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&pwm13 {
|
||||||
|
status = "okay";
|
||||||
|
compatible = "rockchip,rk3588-pwm", "rockchip,rk3328-pwm";
|
||||||
|
pinctrl-names = "active";
|
||||||
|
pinctrl-0 = <&pwm13m2_pins>; // 选择 PWM1 的引脚复用和UART1 M1引脚冲突了
|
||||||
|
#pwm-cells = <3>;
|
||||||
|
};
|
||||||
@@ -22,8 +22,8 @@
|
|||||||
&gmac0_rx_bus2
|
&gmac0_rx_bus2
|
||||||
&gmac0_rgmii_clk
|
&gmac0_rgmii_clk
|
||||||
&gmac0_rgmii_bus
|
&gmac0_rgmii_bus
|
||||||
&gmac0_clkinout
|
&gmac0_clkinout
|
||||||
ð0_pins>;
|
ð0_pins>;
|
||||||
|
|
||||||
tx_delay = <0x44>;
|
tx_delay = <0x44>;
|
||||||
// rx_delay = <0x4f>;
|
// rx_delay = <0x4f>;
|
||||||
|
|||||||
@@ -39,10 +39,27 @@
|
|||||||
|
|
||||||
|
|
||||||
&usbhost3_0 {
|
&usbhost3_0 {
|
||||||
status = "disabled";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
&usbhost_dwc3_0 {
|
&usbhost_dwc3_0 {
|
||||||
status = "disabled";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&usbdrd_dwc3_0 {
|
||||||
|
extcon=<&u2phy0>;
|
||||||
|
status="okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&u2phy0 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&usbdrd_dwc3_1 {
|
||||||
|
extcon=<&u2phy1>;
|
||||||
|
status="okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&u2phy1 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user