2020-04-27 06:52:52 +00:00
|
|
|
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
2017-02-23 07:37:50 +00:00
|
|
|
/*
|
2020-04-27 06:52:52 +00:00
|
|
|
* Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd
|
2017-02-23 07:37:50 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include <dt-bindings/clock/rk3328-cru.h>
|
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
|
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
|
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
|
|
|
#include <dt-bindings/pinctrl/rockchip.h>
|
2020-04-27 06:52:52 +00:00
|
|
|
#include <dt-bindings/power/rk3328-power.h>
|
|
|
|
#include <dt-bindings/soc/rockchip,boot-mode.h>
|
|
|
|
#include <dt-bindings/thermal/thermal.h>
|
2017-02-23 07:37:50 +00:00
|
|
|
|
|
|
|
/ {
|
|
|
|
compatible = "rockchip,rk3328";
|
|
|
|
|
|
|
|
interrupt-parent = <&gic>;
|
|
|
|
#address-cells = <2>;
|
|
|
|
#size-cells = <2>;
|
|
|
|
|
|
|
|
aliases {
|
|
|
|
serial0 = &uart0;
|
|
|
|
serial1 = &uart1;
|
|
|
|
serial2 = &uart2;
|
|
|
|
i2c0 = &i2c0;
|
|
|
|
i2c1 = &i2c1;
|
|
|
|
i2c2 = &i2c2;
|
|
|
|
i2c3 = &i2c3;
|
2020-04-27 06:52:52 +00:00
|
|
|
ethernet0 = &gmac2io;
|
|
|
|
ethernet1 = &gmac2phy;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
cpus {
|
|
|
|
#address-cells = <2>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
cpu0: cpu@0 {
|
|
|
|
device_type = "cpu";
|
2020-04-27 06:52:52 +00:00
|
|
|
compatible = "arm,cortex-a53";
|
2017-02-23 07:37:50 +00:00
|
|
|
reg = <0x0 0x0>;
|
2020-04-27 06:52:52 +00:00
|
|
|
clocks = <&cru ARMCLK>;
|
|
|
|
#cooling-cells = <2>;
|
|
|
|
cpu-idle-states = <&CPU_SLEEP>;
|
|
|
|
dynamic-power-coefficient = <120>;
|
2017-02-23 07:37:50 +00:00
|
|
|
enable-method = "psci";
|
2020-04-27 06:52:52 +00:00
|
|
|
next-level-cache = <&l2>;
|
2017-02-23 07:37:50 +00:00
|
|
|
operating-points-v2 = <&cpu0_opp_table>;
|
|
|
|
};
|
2020-04-27 06:52:52 +00:00
|
|
|
|
2017-02-23 07:37:50 +00:00
|
|
|
cpu1: cpu@1 {
|
|
|
|
device_type = "cpu";
|
2020-04-27 06:52:52 +00:00
|
|
|
compatible = "arm,cortex-a53";
|
2017-02-23 07:37:50 +00:00
|
|
|
reg = <0x0 0x1>;
|
2020-04-27 06:52:52 +00:00
|
|
|
clocks = <&cru ARMCLK>;
|
|
|
|
#cooling-cells = <2>;
|
|
|
|
cpu-idle-states = <&CPU_SLEEP>;
|
|
|
|
dynamic-power-coefficient = <120>;
|
2017-02-23 07:37:50 +00:00
|
|
|
enable-method = "psci";
|
2020-04-27 06:52:52 +00:00
|
|
|
next-level-cache = <&l2>;
|
|
|
|
operating-points-v2 = <&cpu0_opp_table>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
2020-04-27 06:52:52 +00:00
|
|
|
|
2017-02-23 07:37:50 +00:00
|
|
|
cpu2: cpu@2 {
|
|
|
|
device_type = "cpu";
|
2020-04-27 06:52:52 +00:00
|
|
|
compatible = "arm,cortex-a53";
|
2017-02-23 07:37:50 +00:00
|
|
|
reg = <0x0 0x2>;
|
2020-04-27 06:52:52 +00:00
|
|
|
clocks = <&cru ARMCLK>;
|
|
|
|
#cooling-cells = <2>;
|
|
|
|
cpu-idle-states = <&CPU_SLEEP>;
|
|
|
|
dynamic-power-coefficient = <120>;
|
2017-02-23 07:37:50 +00:00
|
|
|
enable-method = "psci";
|
2020-04-27 06:52:52 +00:00
|
|
|
next-level-cache = <&l2>;
|
|
|
|
operating-points-v2 = <&cpu0_opp_table>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
2020-04-27 06:52:52 +00:00
|
|
|
|
2017-02-23 07:37:50 +00:00
|
|
|
cpu3: cpu@3 {
|
|
|
|
device_type = "cpu";
|
2020-04-27 06:52:52 +00:00
|
|
|
compatible = "arm,cortex-a53";
|
2017-02-23 07:37:50 +00:00
|
|
|
reg = <0x0 0x3>;
|
2020-04-27 06:52:52 +00:00
|
|
|
clocks = <&cru ARMCLK>;
|
|
|
|
#cooling-cells = <2>;
|
|
|
|
cpu-idle-states = <&CPU_SLEEP>;
|
|
|
|
dynamic-power-coefficient = <120>;
|
2017-02-23 07:37:50 +00:00
|
|
|
enable-method = "psci";
|
2020-04-27 06:52:52 +00:00
|
|
|
next-level-cache = <&l2>;
|
|
|
|
operating-points-v2 = <&cpu0_opp_table>;
|
|
|
|
};
|
|
|
|
|
|
|
|
idle-states {
|
|
|
|
entry-method = "psci";
|
|
|
|
|
|
|
|
CPU_SLEEP: cpu-sleep {
|
|
|
|
compatible = "arm,idle-state";
|
|
|
|
local-timer-stop;
|
|
|
|
arm,psci-suspend-param = <0x0010000>;
|
|
|
|
entry-latency-us = <120>;
|
|
|
|
exit-latency-us = <250>;
|
|
|
|
min-residency-us = <900>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
l2: l2-cache0 {
|
|
|
|
compatible = "cache";
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
cpu0_opp_table: opp_table0 {
|
|
|
|
compatible = "operating-points-v2";
|
|
|
|
opp-shared;
|
|
|
|
|
2020-04-27 06:52:52 +00:00
|
|
|
opp-408000000 {
|
2017-02-23 07:37:50 +00:00
|
|
|
opp-hz = /bits/ 64 <408000000>;
|
|
|
|
opp-microvolt = <950000>;
|
|
|
|
clock-latency-ns = <40000>;
|
|
|
|
opp-suspend;
|
|
|
|
};
|
2020-04-27 06:52:52 +00:00
|
|
|
opp-600000000 {
|
2017-02-23 07:37:50 +00:00
|
|
|
opp-hz = /bits/ 64 <600000000>;
|
|
|
|
opp-microvolt = <950000>;
|
|
|
|
clock-latency-ns = <40000>;
|
|
|
|
};
|
2020-04-27 06:52:52 +00:00
|
|
|
opp-816000000 {
|
2017-02-23 07:37:50 +00:00
|
|
|
opp-hz = /bits/ 64 <816000000>;
|
|
|
|
opp-microvolt = <1000000>;
|
|
|
|
clock-latency-ns = <40000>;
|
|
|
|
};
|
2020-04-27 06:52:52 +00:00
|
|
|
opp-1008000000 {
|
2017-02-23 07:37:50 +00:00
|
|
|
opp-hz = /bits/ 64 <1008000000>;
|
|
|
|
opp-microvolt = <1100000>;
|
|
|
|
clock-latency-ns = <40000>;
|
|
|
|
};
|
2020-04-27 06:52:52 +00:00
|
|
|
opp-1200000000 {
|
2017-02-23 07:37:50 +00:00
|
|
|
opp-hz = /bits/ 64 <1200000000>;
|
|
|
|
opp-microvolt = <1225000>;
|
|
|
|
clock-latency-ns = <40000>;
|
|
|
|
};
|
2020-04-27 06:52:52 +00:00
|
|
|
opp-1296000000 {
|
2017-02-23 07:37:50 +00:00
|
|
|
opp-hz = /bits/ 64 <1296000000>;
|
|
|
|
opp-microvolt = <1300000>;
|
|
|
|
clock-latency-ns = <40000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2020-04-27 06:52:52 +00:00
|
|
|
analog_sound: analog-sound {
|
|
|
|
compatible = "simple-audio-card";
|
|
|
|
simple-audio-card,format = "i2s";
|
|
|
|
simple-audio-card,mclk-fs = <256>;
|
|
|
|
simple-audio-card,name = "Analog";
|
|
|
|
status = "disabled";
|
|
|
|
|
|
|
|
simple-audio-card,cpu {
|
|
|
|
sound-dai = <&i2s1>;
|
|
|
|
};
|
|
|
|
|
|
|
|
simple-audio-card,codec {
|
|
|
|
sound-dai = <&codec>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-02-23 07:37:50 +00:00
|
|
|
arm-pmu {
|
|
|
|
compatible = "arm,cortex-a53-pmu";
|
|
|
|
interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
|
|
|
|
};
|
|
|
|
|
2020-04-27 06:52:52 +00:00
|
|
|
display_subsystem: display-subsystem {
|
|
|
|
compatible = "rockchip,display-subsystem";
|
|
|
|
ports = <&vop_out>;
|
|
|
|
};
|
|
|
|
|
|
|
|
hdmi_sound: hdmi-sound {
|
|
|
|
compatible = "simple-audio-card";
|
|
|
|
simple-audio-card,format = "i2s";
|
|
|
|
simple-audio-card,mclk-fs = <128>;
|
|
|
|
simple-audio-card,name = "HDMI";
|
|
|
|
status = "disabled";
|
|
|
|
|
|
|
|
simple-audio-card,cpu {
|
|
|
|
sound-dai = <&i2s0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
simple-audio-card,codec {
|
|
|
|
sound-dai = <&hdmi>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-02-23 07:37:50 +00:00
|
|
|
psci {
|
2020-04-27 06:52:52 +00:00
|
|
|
compatible = "arm,psci-1.0", "arm,psci-0.2";
|
2017-02-23 07:37:50 +00:00
|
|
|
method = "smc";
|
|
|
|
};
|
|
|
|
|
|
|
|
timer {
|
|
|
|
compatible = "arm,armv8-timer";
|
|
|
|
interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
|
|
|
|
<GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
|
|
|
|
<GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
|
|
|
|
<GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
|
|
|
|
};
|
|
|
|
|
|
|
|
xin24m: xin24m {
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
#clock-cells = <0>;
|
|
|
|
clock-frequency = <24000000>;
|
|
|
|
clock-output-names = "xin24m";
|
|
|
|
};
|
|
|
|
|
|
|
|
i2s0: i2s@ff000000 {
|
|
|
|
compatible = "rockchip,rk3328-i2s", "rockchip,rk3066-i2s";
|
|
|
|
reg = <0x0 0xff000000 0x0 0x1000>;
|
|
|
|
interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
clocks = <&cru SCLK_I2S0>, <&cru HCLK_I2S0_8CH>;
|
|
|
|
clock-names = "i2s_clk", "i2s_hclk";
|
|
|
|
dmas = <&dmac 11>, <&dmac 12>;
|
|
|
|
dma-names = "tx", "rx";
|
2020-04-27 06:52:52 +00:00
|
|
|
#sound-dai-cells = <0>;
|
2017-02-23 07:37:50 +00:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
i2s1: i2s@ff010000 {
|
|
|
|
compatible = "rockchip,rk3328-i2s", "rockchip,rk3066-i2s";
|
|
|
|
reg = <0x0 0xff010000 0x0 0x1000>;
|
|
|
|
interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
clocks = <&cru SCLK_I2S1>, <&cru HCLK_I2S1_8CH>;
|
|
|
|
clock-names = "i2s_clk", "i2s_hclk";
|
|
|
|
dmas = <&dmac 14>, <&dmac 15>;
|
|
|
|
dma-names = "tx", "rx";
|
2020-04-27 06:52:52 +00:00
|
|
|
#sound-dai-cells = <0>;
|
2017-02-23 07:37:50 +00:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
i2s2: i2s@ff020000 {
|
|
|
|
compatible = "rockchip,rk3328-i2s", "rockchip,rk3066-i2s";
|
|
|
|
reg = <0x0 0xff020000 0x0 0x1000>;
|
|
|
|
interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
clocks = <&cru SCLK_I2S2>, <&cru HCLK_I2S2_2CH>;
|
|
|
|
clock-names = "i2s_clk", "i2s_hclk";
|
|
|
|
dmas = <&dmac 0>, <&dmac 1>;
|
|
|
|
dma-names = "tx", "rx";
|
2020-04-27 06:52:52 +00:00
|
|
|
#sound-dai-cells = <0>;
|
2017-02-23 07:37:50 +00:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
spdif: spdif@ff030000 {
|
|
|
|
compatible = "rockchip,rk3328-spdif";
|
|
|
|
reg = <0x0 0xff030000 0x0 0x1000>;
|
|
|
|
interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
clocks = <&cru SCLK_SPDIF>, <&cru HCLK_SPDIF_8CH>;
|
|
|
|
clock-names = "mclk", "hclk";
|
|
|
|
dmas = <&dmac 10>;
|
|
|
|
dma-names = "tx";
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&spdifm2_tx>;
|
2020-04-27 06:52:52 +00:00
|
|
|
#sound-dai-cells = <0>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
pdm: pdm@ff040000 {
|
|
|
|
compatible = "rockchip,pdm";
|
|
|
|
reg = <0x0 0xff040000 0x0 0x1000>;
|
|
|
|
clocks = <&cru SCLK_PDM>, <&cru HCLK_PDM>;
|
|
|
|
clock-names = "pdm_clk", "pdm_hclk";
|
|
|
|
dmas = <&dmac 16>;
|
|
|
|
dma-names = "rx";
|
|
|
|
pinctrl-names = "default", "sleep";
|
|
|
|
pinctrl-0 = <&pdmm0_clk
|
|
|
|
&pdmm0_sdi0
|
|
|
|
&pdmm0_sdi1
|
|
|
|
&pdmm0_sdi2
|
|
|
|
&pdmm0_sdi3>;
|
|
|
|
pinctrl-1 = <&pdmm0_clk_sleep
|
|
|
|
&pdmm0_sdi0_sleep
|
|
|
|
&pdmm0_sdi1_sleep
|
|
|
|
&pdmm0_sdi2_sleep
|
|
|
|
&pdmm0_sdi3_sleep>;
|
2017-02-23 07:37:50 +00:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
grf: syscon@ff100000 {
|
|
|
|
compatible = "rockchip,rk3328-grf", "syscon", "simple-mfd";
|
|
|
|
reg = <0x0 0xff100000 0x0 0x1000>;
|
|
|
|
|
|
|
|
io_domains: io-domains {
|
|
|
|
compatible = "rockchip,rk3328-io-voltage-domain";
|
|
|
|
status = "disabled";
|
|
|
|
};
|
2020-04-27 06:52:52 +00:00
|
|
|
|
2021-07-22 15:20:43 +00:00
|
|
|
grf_gpio: gpio {
|
2020-04-27 06:52:52 +00:00
|
|
|
compatible = "rockchip,rk3328-grf-gpio";
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
};
|
|
|
|
|
|
|
|
power: power-controller {
|
|
|
|
compatible = "rockchip,rk3328-power-controller";
|
|
|
|
#power-domain-cells = <1>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
2021-07-22 15:20:43 +00:00
|
|
|
power-domain@RK3328_PD_HEVC {
|
2020-04-27 06:52:52 +00:00
|
|
|
reg = <RK3328_PD_HEVC>;
|
2021-07-22 15:20:43 +00:00
|
|
|
#power-domain-cells = <0>;
|
2020-04-27 06:52:52 +00:00
|
|
|
};
|
2021-07-22 15:20:43 +00:00
|
|
|
power-domain@RK3328_PD_VIDEO {
|
2020-04-27 06:52:52 +00:00
|
|
|
reg = <RK3328_PD_VIDEO>;
|
2021-07-22 15:20:43 +00:00
|
|
|
#power-domain-cells = <0>;
|
2020-04-27 06:52:52 +00:00
|
|
|
};
|
2021-07-22 15:20:43 +00:00
|
|
|
power-domain@RK3328_PD_VPU {
|
2020-04-27 06:52:52 +00:00
|
|
|
reg = <RK3328_PD_VPU>;
|
|
|
|
clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>;
|
2021-07-22 15:20:43 +00:00
|
|
|
#power-domain-cells = <0>;
|
2020-04-27 06:52:52 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
reboot-mode {
|
|
|
|
compatible = "syscon-reboot-mode";
|
|
|
|
offset = <0x5c8>;
|
|
|
|
mode-normal = <BOOT_NORMAL>;
|
|
|
|
mode-recovery = <BOOT_RECOVERY>;
|
|
|
|
mode-bootloader = <BOOT_FASTBOOT>;
|
|
|
|
mode-loader = <BOOT_BL_DOWNLOAD>;
|
|
|
|
};
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
uart0: serial@ff110000 {
|
|
|
|
compatible = "rockchip,rk3328-uart", "snps,dw-apb-uart";
|
|
|
|
reg = <0x0 0xff110000 0x0 0x100>;
|
|
|
|
interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>;
|
|
|
|
clock-names = "baudclk", "apb_pclk";
|
|
|
|
dmas = <&dmac 2>, <&dmac 3>;
|
2020-04-27 06:52:52 +00:00
|
|
|
dma-names = "tx", "rx";
|
2017-02-23 07:37:50 +00:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
|
2020-04-27 06:52:52 +00:00
|
|
|
reg-io-width = <4>;
|
|
|
|
reg-shift = <2>;
|
2017-02-23 07:37:50 +00:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
uart1: serial@ff120000 {
|
|
|
|
compatible = "rockchip,rk3328-uart", "snps,dw-apb-uart";
|
|
|
|
reg = <0x0 0xff120000 0x0 0x100>;
|
|
|
|
interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
|
2020-04-27 06:52:52 +00:00
|
|
|
clock-names = "baudclk", "apb_pclk";
|
2017-02-23 07:37:50 +00:00
|
|
|
dmas = <&dmac 4>, <&dmac 5>;
|
2020-04-27 06:52:52 +00:00
|
|
|
dma-names = "tx", "rx";
|
2017-02-23 07:37:50 +00:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&uart1_xfer &uart1_cts &uart1_rts>;
|
2020-04-27 06:52:52 +00:00
|
|
|
reg-io-width = <4>;
|
|
|
|
reg-shift = <2>;
|
2017-02-23 07:37:50 +00:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
uart2: serial@ff130000 {
|
|
|
|
compatible = "rockchip,rk3328-uart", "snps,dw-apb-uart";
|
|
|
|
reg = <0x0 0xff130000 0x0 0x100>;
|
|
|
|
interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
|
|
|
|
clock-names = "baudclk", "apb_pclk";
|
|
|
|
dmas = <&dmac 6>, <&dmac 7>;
|
2020-04-27 06:52:52 +00:00
|
|
|
dma-names = "tx", "rx";
|
2017-02-23 07:37:50 +00:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&uart2m1_xfer>;
|
2020-04-27 06:52:52 +00:00
|
|
|
reg-io-width = <4>;
|
|
|
|
reg-shift = <2>;
|
2017-02-23 07:37:50 +00:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
i2c0: i2c@ff150000 {
|
2020-04-27 06:52:52 +00:00
|
|
|
compatible = "rockchip,rk3328-i2c", "rockchip,rk3399-i2c";
|
2017-02-23 07:37:50 +00:00
|
|
|
reg = <0x0 0xff150000 0x0 0x1000>;
|
|
|
|
interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
clocks = <&cru SCLK_I2C0>, <&cru PCLK_I2C0>;
|
|
|
|
clock-names = "i2c", "pclk";
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&i2c0_xfer>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
i2c1: i2c@ff160000 {
|
2020-04-27 06:52:52 +00:00
|
|
|
compatible = "rockchip,rk3328-i2c", "rockchip,rk3399-i2c";
|
2017-02-23 07:37:50 +00:00
|
|
|
reg = <0x0 0xff160000 0x0 0x1000>;
|
|
|
|
interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
clocks = <&cru SCLK_I2C1>, <&cru PCLK_I2C1>;
|
|
|
|
clock-names = "i2c", "pclk";
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&i2c1_xfer>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
i2c2: i2c@ff170000 {
|
2020-04-27 06:52:52 +00:00
|
|
|
compatible = "rockchip,rk3328-i2c", "rockchip,rk3399-i2c";
|
2017-02-23 07:37:50 +00:00
|
|
|
reg = <0x0 0xff170000 0x0 0x1000>;
|
|
|
|
interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
clocks = <&cru SCLK_I2C2>, <&cru PCLK_I2C2>;
|
|
|
|
clock-names = "i2c", "pclk";
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&i2c2_xfer>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
i2c3: i2c@ff180000 {
|
2020-04-27 06:52:52 +00:00
|
|
|
compatible = "rockchip,rk3328-i2c", "rockchip,rk3399-i2c";
|
2017-02-23 07:37:50 +00:00
|
|
|
reg = <0x0 0xff180000 0x0 0x1000>;
|
|
|
|
interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
clocks = <&cru SCLK_I2C3>, <&cru PCLK_I2C3>;
|
|
|
|
clock-names = "i2c", "pclk";
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&i2c3_xfer>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
spi0: spi@ff190000 {
|
|
|
|
compatible = "rockchip,rk3328-spi", "rockchip,rk3066-spi";
|
|
|
|
reg = <0x0 0xff190000 0x0 0x1000>;
|
|
|
|
interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
clocks = <&cru SCLK_SPI>, <&cru PCLK_SPI>;
|
|
|
|
clock-names = "spiclk", "apb_pclk";
|
|
|
|
dmas = <&dmac 8>, <&dmac 9>;
|
|
|
|
dma-names = "tx", "rx";
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&spi0m2_clk &spi0m2_tx &spi0m2_rx &spi0m2_cs0>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
wdt: watchdog@ff1a0000 {
|
2021-07-22 15:20:43 +00:00
|
|
|
compatible = "rockchip,rk3328-wdt", "snps,dw-wdt";
|
2017-02-23 07:37:50 +00:00
|
|
|
reg = <0x0 0xff1a0000 0x0 0x100>;
|
|
|
|
interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
|
2020-04-27 06:52:52 +00:00
|
|
|
clocks = <&cru PCLK_WDT>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pwm0: pwm@ff1b0000 {
|
|
|
|
compatible = "rockchip,rk3328-pwm";
|
|
|
|
reg = <0x0 0xff1b0000 0x0 0x10>;
|
|
|
|
clocks = <&cru SCLK_PWM>, <&cru PCLK_PWM>;
|
|
|
|
clock-names = "pwm", "pclk";
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pwm0_pin>;
|
|
|
|
#pwm-cells = <3>;
|
2017-02-23 07:37:50 +00:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2020-04-27 06:52:52 +00:00
|
|
|
pwm1: pwm@ff1b0010 {
|
|
|
|
compatible = "rockchip,rk3328-pwm";
|
|
|
|
reg = <0x0 0xff1b0010 0x0 0x10>;
|
|
|
|
clocks = <&cru SCLK_PWM>, <&cru PCLK_PWM>;
|
|
|
|
clock-names = "pwm", "pclk";
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pwm1_pin>;
|
|
|
|
#pwm-cells = <3>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
2017-02-23 07:37:50 +00:00
|
|
|
|
2020-04-27 06:52:52 +00:00
|
|
|
pwm2: pwm@ff1b0020 {
|
|
|
|
compatible = "rockchip,rk3328-pwm";
|
|
|
|
reg = <0x0 0xff1b0020 0x0 0x10>;
|
|
|
|
clocks = <&cru SCLK_PWM>, <&cru PCLK_PWM>;
|
|
|
|
clock-names = "pwm", "pclk";
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pwm2_pin>;
|
|
|
|
#pwm-cells = <3>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
pwm3: pwm@ff1b0030 {
|
|
|
|
compatible = "rockchip,rk3328-pwm";
|
|
|
|
reg = <0x0 0xff1b0030 0x0 0x10>;
|
|
|
|
interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
clocks = <&cru SCLK_PWM>, <&cru PCLK_PWM>;
|
|
|
|
clock-names = "pwm", "pclk";
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pwmir_pin>;
|
|
|
|
#pwm-cells = <3>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2021-07-22 15:20:43 +00:00
|
|
|
dmac: dmac@ff1f0000 {
|
|
|
|
compatible = "arm,pl330", "arm,primecell";
|
|
|
|
reg = <0x0 0xff1f0000 0x0 0x4000>;
|
|
|
|
interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
arm,pl330-periph-burst;
|
|
|
|
clocks = <&cru ACLK_DMAC>;
|
|
|
|
clock-names = "apb_pclk";
|
|
|
|
#dma-cells = <1>;
|
|
|
|
};
|
|
|
|
|
2020-04-27 06:52:52 +00:00
|
|
|
thermal-zones {
|
|
|
|
soc_thermal: soc-thermal {
|
|
|
|
polling-delay-passive = <20>;
|
|
|
|
polling-delay = <1000>;
|
|
|
|
sustainable-power = <1000>;
|
|
|
|
|
|
|
|
thermal-sensors = <&tsadc 0>;
|
|
|
|
|
|
|
|
trips {
|
|
|
|
threshold: trip-point0 {
|
|
|
|
temperature = <70000>;
|
|
|
|
hysteresis = <2000>;
|
|
|
|
type = "passive";
|
|
|
|
};
|
|
|
|
target: trip-point1 {
|
|
|
|
temperature = <85000>;
|
|
|
|
hysteresis = <2000>;
|
|
|
|
type = "passive";
|
|
|
|
};
|
|
|
|
soc_crit: soc-crit {
|
|
|
|
temperature = <95000>;
|
|
|
|
hysteresis = <2000>;
|
|
|
|
type = "critical";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
cooling-maps {
|
|
|
|
map0 {
|
|
|
|
trip = <&target>;
|
|
|
|
cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
|
|
|
<&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
|
|
|
<&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
|
|
|
<&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
|
|
|
|
contribution = <4096>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
tsadc: tsadc@ff250000 {
|
|
|
|
compatible = "rockchip,rk3328-tsadc";
|
|
|
|
reg = <0x0 0xff250000 0x0 0x100>;
|
|
|
|
interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
assigned-clocks = <&cru SCLK_TSADC>;
|
|
|
|
assigned-clock-rates = <50000>;
|
|
|
|
clocks = <&cru SCLK_TSADC>, <&cru PCLK_TSADC>;
|
|
|
|
clock-names = "tsadc", "apb_pclk";
|
|
|
|
pinctrl-names = "init", "default", "sleep";
|
2021-07-22 15:20:43 +00:00
|
|
|
pinctrl-0 = <&otp_pin>;
|
2020-04-27 06:52:52 +00:00
|
|
|
pinctrl-1 = <&otp_out>;
|
2021-07-22 15:20:43 +00:00
|
|
|
pinctrl-2 = <&otp_pin>;
|
2020-04-27 06:52:52 +00:00
|
|
|
resets = <&cru SRST_TSADC>;
|
|
|
|
reset-names = "tsadc-apb";
|
|
|
|
rockchip,grf = <&grf>;
|
|
|
|
rockchip,hw-tshut-temp = <100000>;
|
|
|
|
#thermal-sensor-cells = <1>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
efuse: efuse@ff260000 {
|
|
|
|
compatible = "rockchip,rk3328-efuse";
|
|
|
|
reg = <0x0 0xff260000 0x0 0x50>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
clocks = <&cru SCLK_EFUSE>;
|
|
|
|
clock-names = "pclk_efuse";
|
|
|
|
rockchip,efuse-size = <0x20>;
|
|
|
|
|
|
|
|
/* Data cells */
|
|
|
|
efuse_id: id@7 {
|
|
|
|
reg = <0x07 0x10>;
|
|
|
|
};
|
|
|
|
cpu_leakage: cpu-leakage@17 {
|
|
|
|
reg = <0x17 0x1>;
|
|
|
|
};
|
|
|
|
logic_leakage: logic-leakage@19 {
|
|
|
|
reg = <0x19 0x1>;
|
|
|
|
};
|
|
|
|
efuse_cpu_version: cpu-version@1a {
|
|
|
|
reg = <0x1a 0x1>;
|
|
|
|
bits = <3 3>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2020-04-27 06:52:52 +00:00
|
|
|
saradc: adc@ff280000 {
|
|
|
|
compatible = "rockchip,rk3328-saradc", "rockchip,rk3399-saradc";
|
2017-02-23 07:37:50 +00:00
|
|
|
reg = <0x0 0xff280000 0x0 0x100>;
|
|
|
|
interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
#io-channel-cells = <1>;
|
|
|
|
clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>;
|
|
|
|
clock-names = "saradc", "apb_pclk";
|
|
|
|
resets = <&cru SRST_SARADC_P>;
|
|
|
|
reset-names = "saradc-apb";
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2020-04-27 06:52:52 +00:00
|
|
|
gpu: gpu@ff300000 {
|
|
|
|
compatible = "rockchip,rk3328-mali", "arm,mali-450";
|
|
|
|
reg = <0x0 0xff300000 0x0 0x40000>;
|
|
|
|
interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
interrupt-names = "gp",
|
|
|
|
"gpmmu",
|
|
|
|
"pp",
|
|
|
|
"pp0",
|
|
|
|
"ppmmu0",
|
|
|
|
"pp1",
|
|
|
|
"ppmmu1";
|
|
|
|
clocks = <&cru ACLK_GPU>, <&cru ACLK_GPU>;
|
|
|
|
clock-names = "bus", "core";
|
|
|
|
resets = <&cru SRST_GPU_A>;
|
|
|
|
};
|
|
|
|
|
|
|
|
h265e_mmu: iommu@ff330200 {
|
|
|
|
compatible = "rockchip,iommu";
|
|
|
|
reg = <0x0 0xff330200 0 0x100>;
|
|
|
|
interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
interrupt-names = "h265e_mmu";
|
|
|
|
clocks = <&cru ACLK_H265>, <&cru PCLK_H265>;
|
|
|
|
clock-names = "aclk", "iface";
|
|
|
|
#iommu-cells = <0>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
vepu_mmu: iommu@ff340800 {
|
|
|
|
compatible = "rockchip,iommu";
|
|
|
|
reg = <0x0 0xff340800 0x0 0x40>;
|
|
|
|
interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
interrupt-names = "vepu_mmu";
|
|
|
|
clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>;
|
|
|
|
clock-names = "aclk", "iface";
|
|
|
|
#iommu-cells = <0>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
vpu: video-codec@ff350000 {
|
|
|
|
compatible = "rockchip,rk3328-vpu";
|
|
|
|
reg = <0x0 0xff350000 0x0 0x800>;
|
|
|
|
interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
interrupt-names = "vdpu";
|
|
|
|
clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>;
|
|
|
|
clock-names = "aclk", "hclk";
|
|
|
|
iommus = <&vpu_mmu>;
|
|
|
|
power-domains = <&power RK3328_PD_VPU>;
|
|
|
|
};
|
|
|
|
|
|
|
|
vpu_mmu: iommu@ff350800 {
|
|
|
|
compatible = "rockchip,iommu";
|
|
|
|
reg = <0x0 0xff350800 0x0 0x40>;
|
|
|
|
interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
interrupt-names = "vpu_mmu";
|
|
|
|
clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>;
|
|
|
|
clock-names = "aclk", "iface";
|
|
|
|
#iommu-cells = <0>;
|
|
|
|
power-domains = <&power RK3328_PD_VPU>;
|
|
|
|
};
|
|
|
|
|
|
|
|
rkvdec_mmu: iommu@ff360480 {
|
|
|
|
compatible = "rockchip,iommu";
|
|
|
|
reg = <0x0 0xff360480 0x0 0x40>, <0x0 0xff3604c0 0x0 0x40>;
|
|
|
|
interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
interrupt-names = "rkvdec_mmu";
|
|
|
|
clocks = <&cru ACLK_RKVDEC>, <&cru HCLK_RKVDEC>;
|
|
|
|
clock-names = "aclk", "iface";
|
|
|
|
#iommu-cells = <0>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
vop: vop@ff370000 {
|
|
|
|
compatible = "rockchip,rk3328-vop";
|
|
|
|
reg = <0x0 0xff370000 0x0 0x3efc>;
|
|
|
|
interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
clocks = <&cru ACLK_VOP>, <&cru DCLK_LCDC>, <&cru HCLK_VOP>;
|
|
|
|
clock-names = "aclk_vop", "dclk_vop", "hclk_vop";
|
|
|
|
resets = <&cru SRST_VOP_A>, <&cru SRST_VOP_H>, <&cru SRST_VOP_D>;
|
|
|
|
reset-names = "axi", "ahb", "dclk";
|
|
|
|
iommus = <&vop_mmu>;
|
|
|
|
status = "disabled";
|
|
|
|
|
|
|
|
vop_out: port {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
vop_out_hdmi: endpoint@0 {
|
|
|
|
reg = <0>;
|
|
|
|
remote-endpoint = <&hdmi_in_vop>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
vop_mmu: iommu@ff373f00 {
|
|
|
|
compatible = "rockchip,iommu";
|
|
|
|
reg = <0x0 0xff373f00 0x0 0x100>;
|
|
|
|
interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
interrupt-names = "vop_mmu";
|
|
|
|
clocks = <&cru ACLK_VOP>, <&cru HCLK_VOP>;
|
|
|
|
clock-names = "aclk", "iface";
|
|
|
|
#iommu-cells = <0>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
hdmi: hdmi@ff3c0000 {
|
|
|
|
compatible = "rockchip,rk3328-dw-hdmi";
|
|
|
|
reg = <0x0 0xff3c0000 0x0 0x20000>;
|
|
|
|
reg-io-width = <4>;
|
|
|
|
interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
clocks = <&cru PCLK_HDMI>,
|
|
|
|
<&cru SCLK_HDMI_SFC>,
|
|
|
|
<&cru SCLK_RTC32K>;
|
|
|
|
clock-names = "iahb",
|
|
|
|
"isfr",
|
|
|
|
"cec";
|
|
|
|
phys = <&hdmiphy>;
|
|
|
|
phy-names = "hdmi";
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&hdmi_cec &hdmii2c_xfer &hdmi_hpd>;
|
|
|
|
rockchip,grf = <&grf>;
|
|
|
|
#sound-dai-cells = <0>;
|
|
|
|
status = "disabled";
|
|
|
|
|
|
|
|
ports {
|
|
|
|
hdmi_in: port {
|
|
|
|
hdmi_in_vop: endpoint {
|
|
|
|
remote-endpoint = <&vop_out_hdmi>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
codec: codec@ff410000 {
|
|
|
|
compatible = "rockchip,rk3328-codec";
|
|
|
|
reg = <0x0 0xff410000 0x0 0x1000>;
|
|
|
|
clocks = <&cru PCLK_ACODECPHY>, <&cru SCLK_I2S1>;
|
|
|
|
clock-names = "pclk", "mclk";
|
|
|
|
rockchip,grf = <&grf>;
|
|
|
|
#sound-dai-cells = <0>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
hdmiphy: phy@ff430000 {
|
|
|
|
compatible = "rockchip,rk3328-hdmi-phy";
|
|
|
|
reg = <0x0 0xff430000 0x0 0x10000>;
|
|
|
|
interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
clocks = <&cru PCLK_HDMIPHY>, <&xin24m>, <&cru DCLK_HDMIPHY>;
|
|
|
|
clock-names = "sysclk", "refoclk", "refpclk";
|
|
|
|
clock-output-names = "hdmi_phy";
|
|
|
|
#clock-cells = <0>;
|
|
|
|
nvmem-cells = <&efuse_cpu_version>;
|
|
|
|
nvmem-cell-names = "cpu-version";
|
|
|
|
#phy-cells = <0>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2017-02-23 07:37:50 +00:00
|
|
|
cru: clock-controller@ff440000 {
|
|
|
|
compatible = "rockchip,rk3328-cru", "rockchip,cru", "syscon";
|
|
|
|
reg = <0x0 0xff440000 0x0 0x1000>;
|
|
|
|
rockchip,grf = <&grf>;
|
|
|
|
#clock-cells = <1>;
|
|
|
|
#reset-cells = <1>;
|
|
|
|
assigned-clocks =
|
2020-04-27 06:52:52 +00:00
|
|
|
/*
|
|
|
|
* CPLL should run at 1200, but that is to high for
|
|
|
|
* the initial dividers of most of its children.
|
|
|
|
* We need set cpll child clk div first,
|
|
|
|
* and then set the cpll frequency.
|
|
|
|
*/
|
2017-02-23 07:37:50 +00:00
|
|
|
<&cru DCLK_LCDC>, <&cru SCLK_PDM>,
|
|
|
|
<&cru SCLK_RTC32K>, <&cru SCLK_UART0>,
|
|
|
|
<&cru SCLK_UART1>, <&cru SCLK_UART2>,
|
|
|
|
<&cru ACLK_BUS_PRE>, <&cru ACLK_PERI_PRE>,
|
|
|
|
<&cru ACLK_VIO_PRE>, <&cru ACLK_RGA_PRE>,
|
|
|
|
<&cru ACLK_VOP_PRE>, <&cru ACLK_RKVDEC_PRE>,
|
|
|
|
<&cru ACLK_RKVENC>, <&cru ACLK_VPU_PRE>,
|
|
|
|
<&cru SCLK_VDEC_CABAC>, <&cru SCLK_VDEC_CORE>,
|
|
|
|
<&cru SCLK_VENC_CORE>, <&cru SCLK_VENC_DSP>,
|
|
|
|
<&cru SCLK_SDIO>, <&cru SCLK_TSP>,
|
|
|
|
<&cru SCLK_WIFI>, <&cru ARMCLK>,
|
|
|
|
<&cru PLL_GPLL>, <&cru PLL_CPLL>,
|
|
|
|
<&cru ACLK_BUS_PRE>, <&cru HCLK_BUS_PRE>,
|
|
|
|
<&cru PCLK_BUS_PRE>, <&cru ACLK_PERI_PRE>,
|
|
|
|
<&cru HCLK_PERI>, <&cru PCLK_PERI>,
|
2020-04-27 06:52:52 +00:00
|
|
|
<&cru SCLK_RTC32K>;
|
2017-02-23 07:37:50 +00:00
|
|
|
assigned-clock-parents =
|
|
|
|
<&cru HDMIPHY>, <&cru PLL_APLL>,
|
|
|
|
<&cru PLL_GPLL>, <&xin24m>,
|
|
|
|
<&xin24m>, <&xin24m>;
|
|
|
|
assigned-clock-rates =
|
|
|
|
<0>, <61440000>,
|
|
|
|
<0>, <24000000>,
|
|
|
|
<24000000>, <24000000>,
|
|
|
|
<15000000>, <15000000>,
|
|
|
|
<100000000>, <100000000>,
|
|
|
|
<100000000>, <100000000>,
|
|
|
|
<50000000>, <100000000>,
|
|
|
|
<100000000>, <100000000>,
|
|
|
|
<50000000>, <50000000>,
|
|
|
|
<50000000>, <50000000>,
|
|
|
|
<24000000>, <600000000>,
|
|
|
|
<491520000>, <1200000000>,
|
|
|
|
<150000000>, <75000000>,
|
|
|
|
<75000000>, <150000000>,
|
|
|
|
<75000000>, <75000000>,
|
2020-04-27 06:52:52 +00:00
|
|
|
<32768>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
2020-04-27 06:52:52 +00:00
|
|
|
usb2phy_grf: syscon@ff450000 {
|
|
|
|
compatible = "rockchip,rk3328-usb2phy-grf", "syscon",
|
|
|
|
"simple-mfd";
|
|
|
|
reg = <0x0 0xff450000 0x0 0x10000>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
2021-07-22 15:20:43 +00:00
|
|
|
u2phy: usb2phy@100 {
|
2020-04-27 06:52:52 +00:00
|
|
|
compatible = "rockchip,rk3328-usb2phy";
|
|
|
|
reg = <0x100 0x10>;
|
|
|
|
clocks = <&xin24m>;
|
|
|
|
clock-names = "phyclk";
|
|
|
|
clock-output-names = "usb480m_phy";
|
|
|
|
#clock-cells = <0>;
|
|
|
|
assigned-clocks = <&cru USB480M>;
|
|
|
|
assigned-clock-parents = <&u2phy>;
|
|
|
|
status = "disabled";
|
|
|
|
|
|
|
|
u2phy_otg: otg-port {
|
|
|
|
#phy-cells = <0>;
|
|
|
|
interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
interrupt-names = "otg-bvalid", "otg-id",
|
|
|
|
"linestate";
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
u2phy_host: host-port {
|
|
|
|
#phy-cells = <0>;
|
|
|
|
interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
interrupt-names = "linestate";
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
sdmmc: mmc@ff500000 {
|
2017-02-23 07:37:50 +00:00
|
|
|
compatible = "rockchip,rk3328-dw-mshc", "rockchip,rk3288-dw-mshc";
|
|
|
|
reg = <0x0 0xff500000 0x0 0x4000>;
|
|
|
|
interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
|
2020-04-27 06:52:52 +00:00
|
|
|
clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>,
|
|
|
|
<&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>;
|
|
|
|
clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
|
|
|
|
fifo-depth = <0x100>;
|
|
|
|
max-frequency = <150000000>;
|
2017-02-23 07:37:50 +00:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2020-04-27 06:52:52 +00:00
|
|
|
sdio: mmc@ff510000 {
|
2017-02-23 07:37:50 +00:00
|
|
|
compatible = "rockchip,rk3328-dw-mshc", "rockchip,rk3288-dw-mshc";
|
|
|
|
reg = <0x0 0xff510000 0x0 0x4000>;
|
2020-04-27 06:52:52 +00:00
|
|
|
interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
|
2017-02-23 07:37:50 +00:00
|
|
|
clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>,
|
|
|
|
<&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>;
|
2020-04-27 06:52:52 +00:00
|
|
|
clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
|
2017-02-23 07:37:50 +00:00
|
|
|
fifo-depth = <0x100>;
|
2020-04-27 06:52:52 +00:00
|
|
|
max-frequency = <150000000>;
|
2017-02-23 07:37:50 +00:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2020-04-27 06:52:52 +00:00
|
|
|
emmc: mmc@ff520000 {
|
2017-02-23 07:37:50 +00:00
|
|
|
compatible = "rockchip,rk3328-dw-mshc", "rockchip,rk3288-dw-mshc";
|
|
|
|
reg = <0x0 0xff520000 0x0 0x4000>;
|
|
|
|
interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
|
2020-04-27 06:52:52 +00:00
|
|
|
clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>,
|
|
|
|
<&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>;
|
|
|
|
clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
|
|
|
|
fifo-depth = <0x100>;
|
|
|
|
max-frequency = <150000000>;
|
2017-02-23 07:37:50 +00:00
|
|
|
status = "disabled";
|
2017-05-17 10:21:46 +00:00
|
|
|
};
|
|
|
|
|
2018-01-13 06:03:56 +00:00
|
|
|
gmac2io: ethernet@ff540000 {
|
|
|
|
compatible = "rockchip,rk3328-gmac";
|
|
|
|
reg = <0x0 0xff540000 0x0 0x10000>;
|
|
|
|
interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
interrupt-names = "macirq";
|
|
|
|
clocks = <&cru SCLK_MAC2IO>, <&cru SCLK_MAC2IO_RX>,
|
|
|
|
<&cru SCLK_MAC2IO_TX>, <&cru SCLK_MAC2IO_REF>,
|
|
|
|
<&cru SCLK_MAC2IO_REFOUT>, <&cru ACLK_MAC2IO>,
|
|
|
|
<&cru PCLK_MAC2IO>;
|
|
|
|
clock-names = "stmmaceth", "mac_clk_rx",
|
|
|
|
"mac_clk_tx", "clk_mac_ref",
|
|
|
|
"clk_mac_refout", "aclk_mac",
|
|
|
|
"pclk_mac";
|
|
|
|
resets = <&cru SRST_GMAC2IO_A>;
|
|
|
|
reset-names = "stmmaceth";
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,grf = <&grf>;
|
|
|
|
snps,txpbl = <0x4>;
|
2018-01-13 06:03:56 +00:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2020-04-27 06:52:52 +00:00
|
|
|
gmac2phy: ethernet@ff550000 {
|
|
|
|
compatible = "rockchip,rk3328-gmac";
|
|
|
|
reg = <0x0 0xff550000 0x0 0x10000>;
|
|
|
|
rockchip,grf = <&grf>;
|
|
|
|
interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
interrupt-names = "macirq";
|
|
|
|
clocks = <&cru SCLK_MAC2PHY_SRC>, <&cru SCLK_MAC2PHY_RXTX>,
|
|
|
|
<&cru SCLK_MAC2PHY_RXTX>, <&cru SCLK_MAC2PHY_REF>,
|
|
|
|
<&cru ACLK_MAC2PHY>, <&cru PCLK_MAC2PHY>,
|
|
|
|
<&cru SCLK_MAC2PHY_OUT>;
|
|
|
|
clock-names = "stmmaceth", "mac_clk_rx",
|
|
|
|
"mac_clk_tx", "clk_mac_ref",
|
|
|
|
"aclk_mac", "pclk_mac",
|
|
|
|
"clk_macphy";
|
2021-07-22 15:20:43 +00:00
|
|
|
resets = <&cru SRST_GMAC2PHY_A>;
|
|
|
|
reset-names = "stmmaceth";
|
2020-04-27 06:52:52 +00:00
|
|
|
phy-mode = "rmii";
|
|
|
|
phy-handle = <&phy>;
|
|
|
|
snps,txpbl = <0x4>;
|
2021-07-22 15:20:43 +00:00
|
|
|
clock_in_out = "output";
|
2020-04-27 06:52:52 +00:00
|
|
|
status = "disabled";
|
|
|
|
|
|
|
|
mdio {
|
|
|
|
compatible = "snps,dwmac-mdio";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
2021-07-22 15:20:43 +00:00
|
|
|
phy: ethernet-phy@0 {
|
2020-04-27 06:52:52 +00:00
|
|
|
compatible = "ethernet-phy-id1234.d400", "ethernet-phy-ieee802.3-c22";
|
|
|
|
reg = <0>;
|
|
|
|
clocks = <&cru SCLK_MAC2PHY_OUT>;
|
|
|
|
resets = <&cru SRST_MACPHY>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&fephyled_rxm1 &fephyled_linkm1>;
|
|
|
|
phy-is-integrated;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-05-17 10:21:46 +00:00
|
|
|
usb_host0_ehci: usb@ff5c0000 {
|
|
|
|
compatible = "generic-ehci";
|
|
|
|
reg = <0x0 0xff5c0000 0x0 0x10000>;
|
|
|
|
interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
|
2020-04-27 06:52:52 +00:00
|
|
|
clocks = <&cru HCLK_HOST0>, <&u2phy>;
|
|
|
|
phys = <&u2phy_host>;
|
|
|
|
phy-names = "usb";
|
2017-05-17 10:21:46 +00:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
usb_host0_ohci: usb@ff5d0000 {
|
|
|
|
compatible = "generic-ohci";
|
|
|
|
reg = <0x0 0xff5d0000 0x0 0x10000>;
|
|
|
|
interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
|
2020-04-27 06:52:52 +00:00
|
|
|
clocks = <&cru HCLK_HOST0>, <&u2phy>;
|
|
|
|
phys = <&u2phy_host>;
|
|
|
|
phy-names = "usb";
|
2017-05-17 10:21:46 +00:00
|
|
|
status = "disabled";
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
2021-07-22 15:20:43 +00:00
|
|
|
usbdrd3: usb@ff600000 {
|
|
|
|
compatible = "rockchip,rk3328-dwc3", "snps,dwc3";
|
|
|
|
reg = <0x0 0xff600000 0x0 0x100000>;
|
|
|
|
interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
clocks = <&cru SCLK_USB3OTG_REF>, <&cru SCLK_USB3OTG_SUSPEND>,
|
|
|
|
<&cru ACLK_USB3OTG>;
|
|
|
|
clock-names = "ref_clk", "suspend_clk",
|
|
|
|
"bus_clk";
|
|
|
|
dr_mode = "otg";
|
|
|
|
phy_type = "utmi_wide";
|
|
|
|
snps,dis-del-phy-power-chg-quirk;
|
|
|
|
snps,dis_enblslpm_quirk;
|
|
|
|
snps,dis-tx-ipgap-linecheck-quirk;
|
|
|
|
snps,dis-u2-freeclk-exists-quirk;
|
|
|
|
snps,dis_u2_susphy_quirk;
|
|
|
|
snps,dis_u3_susphy_quirk;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2020-04-27 06:52:52 +00:00
|
|
|
/*
|
2023-05-17 07:17:16 +00:00
|
|
|
* U-Boot Specific Change
|
2020-04-27 06:52:52 +00:00
|
|
|
*
|
|
|
|
* The OTG controller must come after the USB host pair for it
|
|
|
|
* to work. This is likely due to lack of support for the USB
|
|
|
|
* PHYs. This must be manually changed after each device tree
|
|
|
|
* sync. There is no clean way to handle this in -u-boot.dtsi
|
|
|
|
* files.
|
|
|
|
*/
|
2017-06-28 11:22:45 +00:00
|
|
|
usb20_otg: usb@ff580000 {
|
|
|
|
compatible = "rockchip,rk3328-usb", "rockchip,rk3066-usb",
|
|
|
|
"snps,dwc2";
|
|
|
|
reg = <0x0 0xff580000 0x0 0x40000>;
|
|
|
|
interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
|
2020-04-27 06:52:52 +00:00
|
|
|
clocks = <&cru HCLK_OTG>;
|
|
|
|
clock-names = "otg";
|
2017-06-28 11:22:45 +00:00
|
|
|
dr_mode = "otg";
|
2020-04-27 06:52:52 +00:00
|
|
|
g-np-tx-fifo-size = <16>;
|
|
|
|
g-rx-fifo-size = <280>;
|
|
|
|
g-tx-fifo-size = <256 128 128 64 32 16>;
|
|
|
|
phys = <&u2phy_otg>;
|
|
|
|
phy-names = "usb2-phy";
|
2017-06-28 11:22:45 +00:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2020-04-27 06:52:52 +00:00
|
|
|
gic: interrupt-controller@ff811000 {
|
2017-02-23 07:37:50 +00:00
|
|
|
compatible = "arm,gic-400";
|
|
|
|
#interrupt-cells = <3>;
|
|
|
|
#address-cells = <0>;
|
|
|
|
interrupt-controller;
|
|
|
|
reg = <0x0 0xff811000 0 0x1000>,
|
|
|
|
<0x0 0xff812000 0 0x2000>,
|
|
|
|
<0x0 0xff814000 0 0x2000>,
|
|
|
|
<0x0 0xff816000 0 0x2000>;
|
|
|
|
interrupts = <GIC_PPI 9
|
|
|
|
(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pinctrl: pinctrl {
|
|
|
|
compatible = "rockchip,rk3328-pinctrl";
|
|
|
|
rockchip,grf = <&grf>;
|
|
|
|
#address-cells = <2>;
|
|
|
|
#size-cells = <2>;
|
|
|
|
ranges;
|
|
|
|
|
|
|
|
gpio0: gpio0@ff210000 {
|
|
|
|
compatible = "rockchip,gpio-bank";
|
|
|
|
reg = <0x0 0xff210000 0x0 0x100>;
|
|
|
|
interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
clocks = <&cru PCLK_GPIO0>;
|
|
|
|
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <2>;
|
|
|
|
};
|
|
|
|
|
|
|
|
gpio1: gpio1@ff220000 {
|
|
|
|
compatible = "rockchip,gpio-bank";
|
|
|
|
reg = <0x0 0xff220000 0x0 0x100>;
|
|
|
|
interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
clocks = <&cru PCLK_GPIO1>;
|
|
|
|
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <2>;
|
|
|
|
};
|
|
|
|
|
|
|
|
gpio2: gpio2@ff230000 {
|
|
|
|
compatible = "rockchip,gpio-bank";
|
|
|
|
reg = <0x0 0xff230000 0x0 0x100>;
|
|
|
|
interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
clocks = <&cru PCLK_GPIO2>;
|
|
|
|
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <2>;
|
|
|
|
};
|
|
|
|
|
|
|
|
gpio3: gpio3@ff240000 {
|
|
|
|
compatible = "rockchip,gpio-bank";
|
|
|
|
reg = <0x0 0xff240000 0x0 0x100>;
|
|
|
|
interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
clocks = <&cru PCLK_GPIO3>;
|
|
|
|
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <2>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pcfg_pull_up: pcfg-pull-up {
|
|
|
|
bias-pull-up;
|
|
|
|
};
|
|
|
|
|
|
|
|
pcfg_pull_down: pcfg-pull-down {
|
|
|
|
bias-pull-down;
|
|
|
|
};
|
|
|
|
|
|
|
|
pcfg_pull_none: pcfg-pull-none {
|
|
|
|
bias-disable;
|
|
|
|
};
|
|
|
|
|
|
|
|
pcfg_pull_none_2ma: pcfg-pull-none-2ma {
|
|
|
|
bias-disable;
|
|
|
|
drive-strength = <2>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pcfg_pull_up_2ma: pcfg-pull-up-2ma {
|
|
|
|
bias-pull-up;
|
|
|
|
drive-strength = <2>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pcfg_pull_up_4ma: pcfg-pull-up-4ma {
|
|
|
|
bias-pull-up;
|
|
|
|
drive-strength = <4>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pcfg_pull_none_4ma: pcfg-pull-none-4ma {
|
|
|
|
bias-disable;
|
|
|
|
drive-strength = <4>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pcfg_pull_down_4ma: pcfg-pull-down-4ma {
|
|
|
|
bias-pull-down;
|
|
|
|
drive-strength = <4>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pcfg_pull_none_8ma: pcfg-pull-none-8ma {
|
|
|
|
bias-disable;
|
|
|
|
drive-strength = <8>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pcfg_pull_up_8ma: pcfg-pull-up-8ma {
|
|
|
|
bias-pull-up;
|
|
|
|
drive-strength = <8>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pcfg_pull_none_12ma: pcfg-pull-none-12ma {
|
|
|
|
bias-disable;
|
|
|
|
drive-strength = <12>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pcfg_pull_up_12ma: pcfg-pull-up-12ma {
|
|
|
|
bias-pull-up;
|
|
|
|
drive-strength = <12>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pcfg_output_high: pcfg-output-high {
|
|
|
|
output-high;
|
|
|
|
};
|
|
|
|
|
|
|
|
pcfg_output_low: pcfg-output-low {
|
|
|
|
output-low;
|
|
|
|
};
|
|
|
|
|
|
|
|
pcfg_input_high: pcfg-input-high {
|
|
|
|
bias-pull-up;
|
|
|
|
input-enable;
|
|
|
|
};
|
|
|
|
|
|
|
|
pcfg_input: pcfg-input {
|
|
|
|
input-enable;
|
|
|
|
};
|
|
|
|
|
|
|
|
i2c0 {
|
|
|
|
i2c0_xfer: i2c0-xfer {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <2 RK_PD0 1 &pcfg_pull_none>,
|
|
|
|
<2 RK_PD1 1 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
i2c1 {
|
|
|
|
i2c1_xfer: i2c1-xfer {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <2 RK_PA4 2 &pcfg_pull_none>,
|
|
|
|
<2 RK_PA5 2 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
i2c2 {
|
|
|
|
i2c2_xfer: i2c2-xfer {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <2 RK_PB5 1 &pcfg_pull_none>,
|
|
|
|
<2 RK_PB6 1 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
i2c3 {
|
|
|
|
i2c3_xfer: i2c3-xfer {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <0 RK_PA5 2 &pcfg_pull_none>,
|
|
|
|
<0 RK_PA6 2 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
2021-07-22 15:20:43 +00:00
|
|
|
i2c3_pins: i2c3-pins {
|
2017-02-23 07:37:50 +00:00
|
|
|
rockchip,pins =
|
2020-04-27 06:52:52 +00:00
|
|
|
<0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>,
|
|
|
|
<0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
hdmi_i2c {
|
|
|
|
hdmii2c_xfer: hdmii2c-xfer {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <0 RK_PA5 1 &pcfg_pull_none>,
|
|
|
|
<0 RK_PA6 1 &pcfg_pull_none>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
pdm-0 {
|
|
|
|
pdmm0_clk: pdmm0-clk {
|
|
|
|
rockchip,pins = <2 RK_PC2 2 &pcfg_pull_none>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pdmm0_fsync: pdmm0-fsync {
|
|
|
|
rockchip,pins = <2 RK_PC7 2 &pcfg_pull_none>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pdmm0_sdi0: pdmm0-sdi0 {
|
|
|
|
rockchip,pins = <2 RK_PC3 2 &pcfg_pull_none>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pdmm0_sdi1: pdmm0-sdi1 {
|
|
|
|
rockchip,pins = <2 RK_PC4 2 &pcfg_pull_none>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pdmm0_sdi2: pdmm0-sdi2 {
|
|
|
|
rockchip,pins = <2 RK_PC5 2 &pcfg_pull_none>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pdmm0_sdi3: pdmm0-sdi3 {
|
|
|
|
rockchip,pins = <2 RK_PC6 2 &pcfg_pull_none>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pdmm0_clk_sleep: pdmm0-clk-sleep {
|
|
|
|
rockchip,pins =
|
|
|
|
<2 RK_PC2 RK_FUNC_GPIO &pcfg_input_high>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pdmm0_sdi0_sleep: pdmm0-sdi0-sleep {
|
|
|
|
rockchip,pins =
|
|
|
|
<2 RK_PC3 RK_FUNC_GPIO &pcfg_input_high>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pdmm0_sdi1_sleep: pdmm0-sdi1-sleep {
|
|
|
|
rockchip,pins =
|
|
|
|
<2 RK_PC4 RK_FUNC_GPIO &pcfg_input_high>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pdmm0_sdi2_sleep: pdmm0-sdi2-sleep {
|
|
|
|
rockchip,pins =
|
|
|
|
<2 RK_PC5 RK_FUNC_GPIO &pcfg_input_high>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pdmm0_sdi3_sleep: pdmm0-sdi3-sleep {
|
|
|
|
rockchip,pins =
|
|
|
|
<2 RK_PC6 RK_FUNC_GPIO &pcfg_input_high>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pdmm0_fsync_sleep: pdmm0-fsync-sleep {
|
2017-02-23 07:37:50 +00:00
|
|
|
rockchip,pins =
|
2020-04-27 06:52:52 +00:00
|
|
|
<2 RK_PC7 RK_FUNC_GPIO &pcfg_input_high>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
tsadc {
|
2021-07-22 15:20:43 +00:00
|
|
|
otp_pin: otp-pin {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <2 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>;
|
|
|
|
};
|
|
|
|
|
|
|
|
otp_out: otp-out {
|
|
|
|
rockchip,pins = <2 RK_PB5 1 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
uart0 {
|
|
|
|
uart0_xfer: uart0-xfer {
|
2021-07-22 15:20:43 +00:00
|
|
|
rockchip,pins = <1 RK_PB1 1 &pcfg_pull_none>,
|
|
|
|
<1 RK_PB0 1 &pcfg_pull_up>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
uart0_cts: uart0-cts {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <1 RK_PB3 1 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
uart0_rts: uart0-rts {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <1 RK_PB2 1 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
2021-07-22 15:20:43 +00:00
|
|
|
uart0_rts_pin: uart0-rts-pin {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <1 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
uart1 {
|
|
|
|
uart1_xfer: uart1-xfer {
|
2021-07-22 15:20:43 +00:00
|
|
|
rockchip,pins = <3 RK_PA4 4 &pcfg_pull_none>,
|
|
|
|
<3 RK_PA6 4 &pcfg_pull_up>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
uart1_cts: uart1-cts {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <3 RK_PA7 4 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
uart1_rts: uart1-rts {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <3 RK_PA5 4 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
2021-07-22 15:20:43 +00:00
|
|
|
uart1_rts_pin: uart1-rts-pin {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <3 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
uart2-0 {
|
|
|
|
uart2m0_xfer: uart2m0-xfer {
|
2021-07-22 15:20:43 +00:00
|
|
|
rockchip,pins = <1 RK_PA0 2 &pcfg_pull_none>,
|
|
|
|
<1 RK_PA1 2 &pcfg_pull_up>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
uart2-1 {
|
|
|
|
uart2m1_xfer: uart2m1-xfer {
|
2021-07-22 15:20:43 +00:00
|
|
|
rockchip,pins = <2 RK_PA0 1 &pcfg_pull_none>,
|
|
|
|
<2 RK_PA1 1 &pcfg_pull_up>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
spi0-0 {
|
|
|
|
spi0m0_clk: spi0m0-clk {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <2 RK_PB0 1 &pcfg_pull_up>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
spi0m0_cs0: spi0m0-cs0 {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <2 RK_PB3 1 &pcfg_pull_up>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
spi0m0_tx: spi0m0-tx {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <2 RK_PB1 1 &pcfg_pull_up>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
spi0m0_rx: spi0m0-rx {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <2 RK_PB2 1 &pcfg_pull_up>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
spi0m0_cs1: spi0m0-cs1 {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <2 RK_PB4 1 &pcfg_pull_up>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
spi0-1 {
|
|
|
|
spi0m1_clk: spi0m1-clk {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <3 RK_PC7 2 &pcfg_pull_up>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
spi0m1_cs0: spi0m1-cs0 {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <3 RK_PD2 2 &pcfg_pull_up>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
spi0m1_tx: spi0m1-tx {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <3 RK_PD1 2 &pcfg_pull_up>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
spi0m1_rx: spi0m1-rx {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <3 RK_PD0 2 &pcfg_pull_up>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
spi0m1_cs1: spi0m1-cs1 {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <3 RK_PD3 2 &pcfg_pull_up>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
spi0-2 {
|
|
|
|
spi0m2_clk: spi0m2-clk {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <3 RK_PA0 4 &pcfg_pull_up>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
spi0m2_cs0: spi0m2-cs0 {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <3 RK_PB0 3 &pcfg_pull_up>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
spi0m2_tx: spi0m2-tx {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <3 RK_PA1 4 &pcfg_pull_up>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
spi0m2_rx: spi0m2-rx {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <3 RK_PA2 4 &pcfg_pull_up>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
i2s1 {
|
|
|
|
i2s1_mclk: i2s1-mclk {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <2 RK_PB7 1 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
i2s1_sclk: i2s1-sclk {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <2 RK_PC2 1 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
i2s1_lrckrx: i2s1-lrckrx {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <2 RK_PC0 1 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
i2s1_lrcktx: i2s1-lrcktx {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <2 RK_PC1 1 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
i2s1_sdi: i2s1-sdi {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <2 RK_PC3 1 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
i2s1_sdo: i2s1-sdo {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <2 RK_PC7 1 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
i2s1_sdio1: i2s1-sdio1 {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <2 RK_PC4 1 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
i2s1_sdio2: i2s1-sdio2 {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <2 RK_PC5 1 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
i2s1_sdio3: i2s1-sdio3 {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <2 RK_PC6 1 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
i2s1_sleep: i2s1-sleep {
|
|
|
|
rockchip,pins =
|
2020-04-27 06:52:52 +00:00
|
|
|
<2 RK_PB7 RK_FUNC_GPIO &pcfg_input_high>,
|
|
|
|
<2 RK_PC0 RK_FUNC_GPIO &pcfg_input_high>,
|
|
|
|
<2 RK_PC1 RK_FUNC_GPIO &pcfg_input_high>,
|
|
|
|
<2 RK_PC2 RK_FUNC_GPIO &pcfg_input_high>,
|
|
|
|
<2 RK_PC3 RK_FUNC_GPIO &pcfg_input_high>,
|
|
|
|
<2 RK_PC4 RK_FUNC_GPIO &pcfg_input_high>,
|
|
|
|
<2 RK_PC5 RK_FUNC_GPIO &pcfg_input_high>,
|
|
|
|
<2 RK_PC6 RK_FUNC_GPIO &pcfg_input_high>,
|
|
|
|
<2 RK_PC7 RK_FUNC_GPIO &pcfg_input_high>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
i2s2-0 {
|
|
|
|
i2s2m0_mclk: i2s2m0-mclk {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <1 RK_PC5 1 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
i2s2m0_sclk: i2s2m0-sclk {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <1 RK_PC6 1 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
i2s2m0_lrckrx: i2s2m0-lrckrx {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <1 RK_PD2 1 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
i2s2m0_lrcktx: i2s2m0-lrcktx {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <1 RK_PC7 1 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
i2s2m0_sdi: i2s2m0-sdi {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <1 RK_PD0 1 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
i2s2m0_sdo: i2s2m0-sdo {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <1 RK_PD1 1 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
i2s2m0_sleep: i2s2m0-sleep {
|
|
|
|
rockchip,pins =
|
2020-04-27 06:52:52 +00:00
|
|
|
<1 RK_PC5 RK_FUNC_GPIO &pcfg_input_high>,
|
|
|
|
<1 RK_PC6 RK_FUNC_GPIO &pcfg_input_high>,
|
|
|
|
<1 RK_PD2 RK_FUNC_GPIO &pcfg_input_high>,
|
|
|
|
<1 RK_PC7 RK_FUNC_GPIO &pcfg_input_high>,
|
|
|
|
<1 RK_PD0 RK_FUNC_GPIO &pcfg_input_high>,
|
|
|
|
<1 RK_PD1 RK_FUNC_GPIO &pcfg_input_high>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
i2s2-1 {
|
|
|
|
i2s2m1_mclk: i2s2m1-mclk {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <1 RK_PC5 1 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
i2s2m1_sclk: i2s2m1-sclk {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <3 RK_PA0 6 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
i2s2m1_lrckrx: i2sm1-lrckrx {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <3 RK_PB0 6 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
i2s2m1_lrcktx: i2s2m1-lrcktx {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <3 RK_PB0 4 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
i2s2m1_sdi: i2s2m1-sdi {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <3 RK_PA2 6 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
i2s2m1_sdo: i2s2m1-sdo {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <3 RK_PA1 6 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
i2s2m1_sleep: i2s2m1-sleep {
|
|
|
|
rockchip,pins =
|
2020-04-27 06:52:52 +00:00
|
|
|
<1 RK_PC5 RK_FUNC_GPIO &pcfg_input_high>,
|
|
|
|
<3 RK_PA0 RK_FUNC_GPIO &pcfg_input_high>,
|
|
|
|
<3 RK_PB0 RK_FUNC_GPIO &pcfg_input_high>,
|
|
|
|
<3 RK_PA2 RK_FUNC_GPIO &pcfg_input_high>,
|
|
|
|
<3 RK_PA1 RK_FUNC_GPIO &pcfg_input_high>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
spdif-0 {
|
|
|
|
spdifm0_tx: spdifm0-tx {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <0 RK_PD3 1 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
spdif-1 {
|
|
|
|
spdifm1_tx: spdifm1-tx {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <2 RK_PC1 2 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
spdif-2 {
|
|
|
|
spdifm2_tx: spdifm2-tx {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <0 RK_PA2 2 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
sdmmc0-0 {
|
|
|
|
sdmmc0m0_pwren: sdmmc0m0-pwren {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <2 RK_PA7 1 &pcfg_pull_up_4ma>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
2021-07-22 15:20:43 +00:00
|
|
|
sdmmc0m0_pin: sdmmc0m0-pin {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <2 RK_PA7 RK_FUNC_GPIO &pcfg_pull_up_4ma>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
sdmmc0-1 {
|
|
|
|
sdmmc0m1_pwren: sdmmc0m1-pwren {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <0 RK_PD6 3 &pcfg_pull_up_4ma>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
2021-07-22 15:20:43 +00:00
|
|
|
sdmmc0m1_pin: sdmmc0m1-pin {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <0 RK_PD6 RK_FUNC_GPIO &pcfg_pull_up_4ma>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
sdmmc0 {
|
|
|
|
sdmmc0_clk: sdmmc0-clk {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <1 RK_PA6 1 &pcfg_pull_none_8ma>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
sdmmc0_cmd: sdmmc0-cmd {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <1 RK_PA4 1 &pcfg_pull_up_8ma>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
sdmmc0_dectn: sdmmc0-dectn {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <1 RK_PA5 1 &pcfg_pull_up_4ma>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
sdmmc0_wrprt: sdmmc0-wrprt {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <1 RK_PA7 1 &pcfg_pull_up_4ma>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
sdmmc0_bus1: sdmmc0-bus1 {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <1 RK_PA0 1 &pcfg_pull_up_8ma>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
sdmmc0_bus4: sdmmc0-bus4 {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <1 RK_PA0 1 &pcfg_pull_up_8ma>,
|
|
|
|
<1 RK_PA1 1 &pcfg_pull_up_8ma>,
|
|
|
|
<1 RK_PA2 1 &pcfg_pull_up_8ma>,
|
|
|
|
<1 RK_PA3 1 &pcfg_pull_up_8ma>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
2021-07-22 15:20:43 +00:00
|
|
|
sdmmc0_pins: sdmmc0-pins {
|
2017-02-23 07:37:50 +00:00
|
|
|
rockchip,pins =
|
2020-04-27 06:52:52 +00:00
|
|
|
<1 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
|
|
|
|
<1 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
|
|
|
|
<1 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
|
|
|
|
<1 RK_PA7 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
|
|
|
|
<1 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
|
|
|
|
<1 RK_PA2 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
|
|
|
|
<1 RK_PA1 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
|
|
|
|
<1 RK_PA0 RK_FUNC_GPIO &pcfg_pull_up_4ma>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
sdmmc0ext {
|
|
|
|
sdmmc0ext_clk: sdmmc0ext-clk {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <3 RK_PA2 3 &pcfg_pull_none_4ma>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
sdmmc0ext_cmd: sdmmc0ext-cmd {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <3 RK_PA0 3 &pcfg_pull_up_4ma>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
sdmmc0ext_wrprt: sdmmc0ext-wrprt {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <3 RK_PA3 3 &pcfg_pull_up_4ma>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
sdmmc0ext_dectn: sdmmc0ext-dectn {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <3 RK_PA1 3 &pcfg_pull_up_4ma>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
sdmmc0ext_bus1: sdmmc0ext-bus1 {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <3 RK_PA4 3 &pcfg_pull_up_4ma>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
sdmmc0ext_bus4: sdmmc0ext-bus4 {
|
|
|
|
rockchip,pins =
|
2020-04-27 06:52:52 +00:00
|
|
|
<3 RK_PA4 3 &pcfg_pull_up_4ma>,
|
|
|
|
<3 RK_PA5 3 &pcfg_pull_up_4ma>,
|
|
|
|
<3 RK_PA6 3 &pcfg_pull_up_4ma>,
|
|
|
|
<3 RK_PA7 3 &pcfg_pull_up_4ma>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
2021-07-22 15:20:43 +00:00
|
|
|
sdmmc0ext_pins: sdmmc0ext-pins {
|
2017-02-23 07:37:50 +00:00
|
|
|
rockchip,pins =
|
2020-04-27 06:52:52 +00:00
|
|
|
<3 RK_PA0 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
|
|
|
|
<3 RK_PA1 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
|
|
|
|
<3 RK_PA2 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
|
|
|
|
<3 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
|
|
|
|
<3 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
|
|
|
|
<3 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
|
|
|
|
<3 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
|
|
|
|
<3 RK_PA7 RK_FUNC_GPIO &pcfg_pull_up_4ma>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
sdmmc1 {
|
|
|
|
sdmmc1_clk: sdmmc1-clk {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <1 RK_PB4 1 &pcfg_pull_none_8ma>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
sdmmc1_cmd: sdmmc1-cmd {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <1 RK_PB5 1 &pcfg_pull_up_8ma>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
sdmmc1_pwren: sdmmc1-pwren {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <1 RK_PC2 1 &pcfg_pull_up_8ma>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
sdmmc1_wrprt: sdmmc1-wrprt {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <1 RK_PC4 1 &pcfg_pull_up_8ma>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
sdmmc1_dectn: sdmmc1-dectn {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <1 RK_PC3 1 &pcfg_pull_up_8ma>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
sdmmc1_bus1: sdmmc1-bus1 {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <1 RK_PB6 1 &pcfg_pull_up_8ma>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
sdmmc1_bus4: sdmmc1-bus4 {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <1 RK_PB6 1 &pcfg_pull_up_8ma>,
|
|
|
|
<1 RK_PB7 1 &pcfg_pull_up_8ma>,
|
|
|
|
<1 RK_PC0 1 &pcfg_pull_up_8ma>,
|
|
|
|
<1 RK_PC1 1 &pcfg_pull_up_8ma>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
2021-07-22 15:20:43 +00:00
|
|
|
sdmmc1_pins: sdmmc1-pins {
|
2017-02-23 07:37:50 +00:00
|
|
|
rockchip,pins =
|
2020-04-27 06:52:52 +00:00
|
|
|
<1 RK_PB4 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
|
|
|
|
<1 RK_PB5 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
|
|
|
|
<1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
|
|
|
|
<1 RK_PB7 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
|
|
|
|
<1 RK_PC0 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
|
|
|
|
<1 RK_PC1 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
|
|
|
|
<1 RK_PC2 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
|
|
|
|
<1 RK_PC3 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
|
|
|
|
<1 RK_PC4 RK_FUNC_GPIO &pcfg_pull_up_4ma>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
emmc {
|
|
|
|
emmc_clk: emmc-clk {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <3 RK_PC5 2 &pcfg_pull_none_12ma>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
emmc_cmd: emmc-cmd {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <3 RK_PC3 2 &pcfg_pull_up_12ma>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
emmc_pwren: emmc-pwren {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <3 RK_PC6 2 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
emmc_rstnout: emmc-rstnout {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <3 RK_PC4 2 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
emmc_bus1: emmc-bus1 {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <0 RK_PA7 2 &pcfg_pull_up_12ma>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
emmc_bus4: emmc-bus4 {
|
|
|
|
rockchip,pins =
|
2020-04-27 06:52:52 +00:00
|
|
|
<0 RK_PA7 2 &pcfg_pull_up_12ma>,
|
|
|
|
<2 RK_PD4 2 &pcfg_pull_up_12ma>,
|
|
|
|
<2 RK_PD5 2 &pcfg_pull_up_12ma>,
|
|
|
|
<2 RK_PD6 2 &pcfg_pull_up_12ma>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
emmc_bus8: emmc-bus8 {
|
|
|
|
rockchip,pins =
|
2020-04-27 06:52:52 +00:00
|
|
|
<0 RK_PA7 2 &pcfg_pull_up_12ma>,
|
|
|
|
<2 RK_PD4 2 &pcfg_pull_up_12ma>,
|
|
|
|
<2 RK_PD5 2 &pcfg_pull_up_12ma>,
|
|
|
|
<2 RK_PD6 2 &pcfg_pull_up_12ma>,
|
|
|
|
<2 RK_PD7 2 &pcfg_pull_up_12ma>,
|
|
|
|
<3 RK_PC0 2 &pcfg_pull_up_12ma>,
|
|
|
|
<3 RK_PC1 2 &pcfg_pull_up_12ma>,
|
|
|
|
<3 RK_PC2 2 &pcfg_pull_up_12ma>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
pwm0 {
|
|
|
|
pwm0_pin: pwm0-pin {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <2 RK_PA4 1 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
pwm1 {
|
|
|
|
pwm1_pin: pwm1-pin {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <2 RK_PA5 1 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
pwm2 {
|
|
|
|
pwm2_pin: pwm2-pin {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <2 RK_PA6 1 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
pwmir {
|
|
|
|
pwmir_pin: pwmir-pin {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <2 RK_PA2 1 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
gmac-1 {
|
|
|
|
rgmiim1_pins: rgmiim1-pins {
|
|
|
|
rockchip,pins =
|
|
|
|
/* mac_txclk */
|
2020-04-27 06:52:52 +00:00
|
|
|
<1 RK_PB4 2 &pcfg_pull_none_8ma>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* mac_rxclk */
|
2020-04-27 06:52:52 +00:00
|
|
|
<1 RK_PB5 2 &pcfg_pull_none_4ma>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* mac_mdio */
|
2020-04-27 06:52:52 +00:00
|
|
|
<1 RK_PC3 2 &pcfg_pull_none_4ma>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* mac_txen */
|
2020-04-27 06:52:52 +00:00
|
|
|
<1 RK_PD1 2 &pcfg_pull_none_8ma>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* mac_clk */
|
2020-04-27 06:52:52 +00:00
|
|
|
<1 RK_PC5 2 &pcfg_pull_none_4ma>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* mac_rxdv */
|
2020-04-27 06:52:52 +00:00
|
|
|
<1 RK_PC6 2 &pcfg_pull_none_4ma>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* mac_mdc */
|
2020-04-27 06:52:52 +00:00
|
|
|
<1 RK_PC7 2 &pcfg_pull_none_4ma>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* mac_rxd1 */
|
2020-04-27 06:52:52 +00:00
|
|
|
<1 RK_PB2 2 &pcfg_pull_none_4ma>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* mac_rxd0 */
|
2020-04-27 06:52:52 +00:00
|
|
|
<1 RK_PB3 2 &pcfg_pull_none_4ma>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* mac_txd1 */
|
2020-04-27 06:52:52 +00:00
|
|
|
<1 RK_PB0 2 &pcfg_pull_none_8ma>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* mac_txd0 */
|
2020-04-27 06:52:52 +00:00
|
|
|
<1 RK_PB1 2 &pcfg_pull_none_8ma>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* mac_rxd3 */
|
2020-04-27 06:52:52 +00:00
|
|
|
<1 RK_PB6 2 &pcfg_pull_none_4ma>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* mac_rxd2 */
|
2020-04-27 06:52:52 +00:00
|
|
|
<1 RK_PB7 2 &pcfg_pull_none_4ma>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* mac_txd3 */
|
2020-04-27 06:52:52 +00:00
|
|
|
<1 RK_PC0 2 &pcfg_pull_none_8ma>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* mac_txd2 */
|
2020-04-27 06:52:52 +00:00
|
|
|
<1 RK_PC1 2 &pcfg_pull_none_8ma>,
|
2017-02-23 07:37:50 +00:00
|
|
|
|
|
|
|
/* mac_txclk */
|
2020-04-27 06:52:52 +00:00
|
|
|
<0 RK_PB0 1 &pcfg_pull_none_8ma>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* mac_txen */
|
2020-04-27 06:52:52 +00:00
|
|
|
<0 RK_PB4 1 &pcfg_pull_none_8ma>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* mac_clk */
|
2020-04-27 06:52:52 +00:00
|
|
|
<0 RK_PD0 1 &pcfg_pull_none_4ma>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* mac_txd1 */
|
2020-04-27 06:52:52 +00:00
|
|
|
<0 RK_PC0 1 &pcfg_pull_none_8ma>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* mac_txd0 */
|
2020-04-27 06:52:52 +00:00
|
|
|
<0 RK_PC1 1 &pcfg_pull_none_8ma>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* mac_txd3 */
|
2020-04-27 06:52:52 +00:00
|
|
|
<0 RK_PC7 1 &pcfg_pull_none_8ma>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* mac_txd2 */
|
2020-04-27 06:52:52 +00:00
|
|
|
<0 RK_PC6 1 &pcfg_pull_none_8ma>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
rmiim1_pins: rmiim1-pins {
|
|
|
|
rockchip,pins =
|
|
|
|
/* mac_mdio */
|
2020-04-27 06:52:52 +00:00
|
|
|
<1 RK_PC3 2 &pcfg_pull_none_2ma>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* mac_txen */
|
2020-04-27 06:52:52 +00:00
|
|
|
<1 RK_PD1 2 &pcfg_pull_none_12ma>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* mac_clk */
|
2020-04-27 06:52:52 +00:00
|
|
|
<1 RK_PC5 2 &pcfg_pull_none_2ma>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* mac_rxer */
|
2020-04-27 06:52:52 +00:00
|
|
|
<1 RK_PD0 2 &pcfg_pull_none_2ma>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* mac_rxdv */
|
2020-04-27 06:52:52 +00:00
|
|
|
<1 RK_PC6 2 &pcfg_pull_none_2ma>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* mac_mdc */
|
2020-04-27 06:52:52 +00:00
|
|
|
<1 RK_PC7 2 &pcfg_pull_none_2ma>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* mac_rxd1 */
|
2020-04-27 06:52:52 +00:00
|
|
|
<1 RK_PB2 2 &pcfg_pull_none_2ma>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* mac_rxd0 */
|
2020-04-27 06:52:52 +00:00
|
|
|
<1 RK_PB3 2 &pcfg_pull_none_2ma>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* mac_txd1 */
|
2020-04-27 06:52:52 +00:00
|
|
|
<1 RK_PB0 2 &pcfg_pull_none_12ma>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* mac_txd0 */
|
2020-04-27 06:52:52 +00:00
|
|
|
<1 RK_PB1 2 &pcfg_pull_none_12ma>,
|
2017-02-23 07:37:50 +00:00
|
|
|
|
|
|
|
/* mac_mdio */
|
2020-04-27 06:52:52 +00:00
|
|
|
<0 RK_PB3 1 &pcfg_pull_none>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* mac_txen */
|
2020-04-27 06:52:52 +00:00
|
|
|
<0 RK_PB4 1 &pcfg_pull_none>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* mac_clk */
|
2020-04-27 06:52:52 +00:00
|
|
|
<0 RK_PD0 1 &pcfg_pull_none>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* mac_mdc */
|
2020-04-27 06:52:52 +00:00
|
|
|
<0 RK_PC3 1 &pcfg_pull_none>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* mac_txd1 */
|
2020-04-27 06:52:52 +00:00
|
|
|
<0 RK_PC0 1 &pcfg_pull_none>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* mac_txd0 */
|
2020-04-27 06:52:52 +00:00
|
|
|
<0 RK_PC1 1 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
gmac2phy {
|
|
|
|
fephyled_speed10: fephyled-speed10 {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <0 RK_PD6 1 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
fephyled_duplex: fephyled-duplex {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <0 RK_PD6 2 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
fephyled_rxm1: fephyled-rxm1 {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <2 RK_PD1 2 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
fephyled_txm1: fephyled-txm1 {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <2 RK_PD1 3 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
fephyled_linkm1: fephyled-linkm1 {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <2 RK_PD0 2 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
tsadc_pin {
|
|
|
|
tsadc_int: tsadc-int {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <2 RK_PB5 2 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
2021-07-22 15:20:43 +00:00
|
|
|
tsadc_pin: tsadc-pin {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <2 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
hdmi_pin {
|
|
|
|
hdmi_cec: hdmi-cec {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <0 RK_PA3 1 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
hdmi_hpd: hdmi-hpd {
|
2020-04-27 06:52:52 +00:00
|
|
|
rockchip,pins = <0 RK_PA4 1 &pcfg_pull_down>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
cif-0 {
|
|
|
|
dvp_d2d9_m0:dvp-d2d9-m0 {
|
|
|
|
rockchip,pins =
|
|
|
|
/* cif_d0 */
|
2020-04-27 06:52:52 +00:00
|
|
|
<3 RK_PA4 2 &pcfg_pull_none>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* cif_d1 */
|
2020-04-27 06:52:52 +00:00
|
|
|
<3 RK_PA5 2 &pcfg_pull_none>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* cif_d2 */
|
2020-04-27 06:52:52 +00:00
|
|
|
<3 RK_PA6 2 &pcfg_pull_none>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* cif_d3 */
|
2020-04-27 06:52:52 +00:00
|
|
|
<3 RK_PA7 2 &pcfg_pull_none>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* cif_d4 */
|
2020-04-27 06:52:52 +00:00
|
|
|
<3 RK_PB0 2 &pcfg_pull_none>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* cif_d5m0 */
|
2020-04-27 06:52:52 +00:00
|
|
|
<3 RK_PB1 2 &pcfg_pull_none>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* cif_d6m0 */
|
2020-04-27 06:52:52 +00:00
|
|
|
<3 RK_PB2 2 &pcfg_pull_none>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* cif_d7m0 */
|
2020-04-27 06:52:52 +00:00
|
|
|
<3 RK_PB3 2 &pcfg_pull_none>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* cif_href */
|
2020-04-27 06:52:52 +00:00
|
|
|
<3 RK_PA1 2 &pcfg_pull_none>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* cif_vsync */
|
2020-04-27 06:52:52 +00:00
|
|
|
<3 RK_PA0 2 &pcfg_pull_none>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* cif_clkoutm0 */
|
2020-04-27 06:52:52 +00:00
|
|
|
<3 RK_PA3 2 &pcfg_pull_none>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* cif_clkin */
|
2020-04-27 06:52:52 +00:00
|
|
|
<3 RK_PA2 2 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
cif-1 {
|
|
|
|
dvp_d2d9_m1:dvp-d2d9-m1 {
|
|
|
|
rockchip,pins =
|
|
|
|
/* cif_d0 */
|
2020-04-27 06:52:52 +00:00
|
|
|
<3 RK_PA4 2 &pcfg_pull_none>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* cif_d1 */
|
2020-04-27 06:52:52 +00:00
|
|
|
<3 RK_PA5 2 &pcfg_pull_none>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* cif_d2 */
|
2020-04-27 06:52:52 +00:00
|
|
|
<3 RK_PA6 2 &pcfg_pull_none>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* cif_d3 */
|
2020-04-27 06:52:52 +00:00
|
|
|
<3 RK_PA7 2 &pcfg_pull_none>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* cif_d4 */
|
2020-04-27 06:52:52 +00:00
|
|
|
<3 RK_PB0 2 &pcfg_pull_none>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* cif_d5m1 */
|
2020-04-27 06:52:52 +00:00
|
|
|
<2 RK_PC0 4 &pcfg_pull_none>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* cif_d6m1 */
|
2020-04-27 06:52:52 +00:00
|
|
|
<2 RK_PC1 4 &pcfg_pull_none>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* cif_d7m1 */
|
2020-04-27 06:52:52 +00:00
|
|
|
<2 RK_PC2 4 &pcfg_pull_none>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* cif_href */
|
2020-04-27 06:52:52 +00:00
|
|
|
<3 RK_PA1 2 &pcfg_pull_none>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* cif_vsync */
|
2020-04-27 06:52:52 +00:00
|
|
|
<3 RK_PA0 2 &pcfg_pull_none>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* cif_clkoutm1 */
|
2020-04-27 06:52:52 +00:00
|
|
|
<2 RK_PB7 4 &pcfg_pull_none>,
|
2017-02-23 07:37:50 +00:00
|
|
|
/* cif_clkin */
|
2020-04-27 06:52:52 +00:00
|
|
|
<3 RK_PA2 2 &pcfg_pull_none>;
|
2017-02-23 07:37:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|