ARM: dts: rockchip: remove unused rk3188 dts

Change-Id: I0c4571467fd1c66bd0a4ef0db43464cf0c66a658
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
Tao Huang
2018-11-02 18:53:23 +08:00
parent 25f66ed504
commit b38f9d297e
3 changed files with 0 additions and 2240 deletions

View File

@@ -1,516 +0,0 @@
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/dts-v1/;
#include "rk3188.dtsi"
#include "lcd-LP097Qx1.dtsi"
/ {
memory {
device_type = "memory";
reg = <0x60000000 0x80000000>;
};
chosen {
bootargs = "clk_ignore_unused";
};
fiq-debugger {
status = "okay";
};
wireless-wlan {
compatible = "wlan-platdata";
wifi_chip_type = "";
sdio_vref = <28000>;
//power_ctrl_by_pmu;
pmu_regulator = "act_ldo3";
pmu_enable_level = <1>; //1->HIGH, 0->LOW
WIFI,poweren_gpio = <&gpio3 GPIO_D0 GPIO_ACTIVE_HIGH>;
WIFI,host_wake_irq = <&gpio3 GPIO_D2 GPIO_ACTIVE_HIGH>;
//WIFI,reset_gpio = <&gpio0 GPIO_A2 GPIO_ACTIVE_LOW>;
status = "okay";
};
wireless-bluetooth {
compatible = "bluetooth-platdata";
support_uart_rts_ctrl;
uart_rts_gpios = <&gpio1 GPIO_A3 GPIO_ACTIVE_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&uart0_rts>;
BT,power_gpio = <&gpio3 GPIO_C7 GPIO_ACTIVE_HIGH>;
BT,reset_gpio = <&gpio3 GPIO_D1 GPIO_ACTIVE_HIGH>;
BT,wake_gpio = <&gpio3 GPIO_C6 GPIO_ACTIVE_HIGH>;
BT,wake_host_irq = <&gpio0 GPIO_A5 GPIO_ACTIVE_LOW>;
status = "okay";
};
backlight {
compatible = "pwm-backlight";
pwms = <&pwm3 0 25000>;
brightness-levels = <0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 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 = <128>;
enable-gpios = <&gpio0 GPIO_A2 GPIO_ACTIVE_HIGH>;
};
codec_hdmi_i2s: codec-hdmi-i2s {
compatible = "hdmi-i2s";
};
codec_hdmi_spdif: codec-hdmi-spdif {
compatible = "hdmi-spdif";
};
rockchip-rt5631 {
compatible = "rockchip-rt5631";
dais {
dai0 {
audio-codec = <&rt5631>;
audio-controller = <&i2s0>;
format = "i2s";
//continuous-clock;
//bitclock-inversion;
//frame-inversion;
//bitclock-master;
//frame-master;
};
};
};
rockchip-rk610 {
compatible = "rockchip-rk610";
dais {
dai0 {
audio-codec = <&rk610_codec>;
audio-controller = <&i2s0>;
format = "i2s";
//continuous-clock;
//bitclock-inversion;
//frame-inversion;
//bitclock-master;
//frame-master;
};
};
};
rockchip-hdmi-i2s {
compatible = "rockchip-hdmi-i2s";
dais {
dai0 {
audio-codec = <&codec_hdmi_i2s>;
audio-controller = <&i2s0>;
format = "i2s";
//continuous-clock;
//bitclock-inversion;
//frame-inversion;
//bitclock-master;
//frame-master;
};
};
};
rockchip-hdmi-spdif {
compatible = "rockchip-hdmi-spdif";
};
vmac-phy {
compatible = "rockchip,vmac-phy";
power-gpios = <&gpio0 GPIO_C0 GPIO_ACTIVE_HIGH>;
};
};
&uart0 {
status = "okay";
dma-names = "!tx", "!rx";
};
&uart3 {
status = "okay";
dma-names = "!tx", "!rx";
};
&watchdog {
rockchip,timeout = <50>;
rockchip,debug = <1>;
status = "disabled";
};
&i2c0 {
status = "okay";
rt5631: rt5631@1a {
compatible = "rt5631";
reg = <0x1a>;
};
rk610ctl@40 {
compatible = "rk610_ctl";
reg = <0x40>;
rk610-reset-io = <&gpio3 GPIO_B2 GPIO_ACTIVE_HIGH>;
clocks = <&clk_i2s>;
clock-names = "i2s_clk";
};
rk610_codec: rk610codec@60 {//RK610_CODEC addr from 0x60 to 0x80 (0x60~0x80)
compatible = "rk610_codec";
reg = <0x60>;
spk_ctl_io = <&gpio2 GPIO_D7 GPIO_ACTIVE_HIGH>;
boot_depop = <1>;
pa_enable_time = <1000>;
};
sensor@1d {
compatible = "gs_mma8452";
reg = <0x1d>;
type = <SENSOR_TYPE_ACCEL>;
irq-gpio = <&gpio0 GPIO_B7 IRQ_TYPE_EDGE_FALLING>;
irq_enable = <1>;
poll_delay_ms = <30>;
layout = <1>;
};
};
&i2c1 {
status = "okay";
rtc@51 {
compatible = "nxp,pcf8563";
reg = <0x51>;
};
act8846: act8846@5a {
reg = <0x5a>;
status = "okay";
};
rk808: rk808@1b {
reg = <0x1b>;
status = "okay";
};
};
&i2c2 {
status = "okay";
edp@39 {
compatible = "analogix,anx6345";
reg = <0x39>;
dvdd33-gpio = <&gpio0 GPIO_B0 GPIO_ACTIVE_LOW>;
dvdd18-gpio = <&gpio3 GPIO_D4 GPIO_ACTIVE_HIGH>;
reset-gpio = <&gpio0 GPIO_B4 GPIO_ACTIVE_LOW>;
};
ts@01 {
compatible = "ct,ct36x";
reg = <0x01>;
ct-model = <363>;
touch-gpio = <&gpio1 GPIO_B7 IRQ_TYPE_LEVEL_LOW>;
reset-gpio = <&gpio0 GPIO_B6 GPIO_ACTIVE_HIGH>;
max-x = <2048>;
max-y = <1536>;
orientation=<1 0 0 1>;
};
};
&i2c3 {
status = "okay";
};
&fb {
rockchip,disp-mode = <DUAL>;
};
&rk_screen {
display-timings = <&disp_timings>;
};
&lcdc0 {
status = "okay";
};
&lcdc1 {
status = "okay";
};
&adc {
status = "okay";
key {
compatible = "rockchip,key";
io-channels = <&adc 1>;
vol-up-key {
linux,code = <115>;
label = "volume up";
rockchip,adc_value = <1>;
};
vol-down-key {
linux,code = <114>;
label = "volume down";
rockchip,adc_value = <145>;
};
power-key {
gpios = <&gpio0 GPIO_A4 GPIO_ACTIVE_LOW>;
linux,code = <116>;
label = "power";
gpio-key,wakeup;
};
home-key {
linux,code = <102>;
label = "home";
rockchip,adc_value = <355>;
};
};
};
&pwm3 {
status = "okay";
};
&clk_core_dvfs_table {
operating-points = <
/* KHz uV */
312000 1100000
504000 1100000
816000 1100000
1008000 1100000
1200000 1200000
1416000 1300000
1608000 1350000
>;
};
&clk_gpu_dvfs_table {
operating-points = <
/* KHz uV */
200000 1200000
300000 1200000
400000 1200000
>;
};
&clk_ddr_dvfs_table {
operating-points = <
/* KHz uV */
200000 1200000
300000 1200000
400000 1200000
>;
freq_table = <
/*status freq(KHz)*/
SYS_STATUS_NORMAL 400000
SYS_STATUS_SUSPEND 200000
SYS_STATUS_VIDEO 300000
SYS_STATUS_DUALVIEW 500000
>;
};
/include/ "act8846.dtsi"
&act8846 {
gpios =<&gpio3 GPIO_D3 GPIO_ACTIVE_LOW>;
regulators {
dcdc1_reg: regulator@0{
regulator-name= "act_dcdc1";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
regulator-always-on;
regulator-boot-on;
};
dcdc2_reg: regulator@1 {
regulator-name= "vdd_logic";
regulator-always-on;
regulator-boot-on;
};
dcdc3_reg: regulator@2 {
regulator-name= "vdd_arm";
regulator-always-on;
regulator-boot-on;
};
dcdc4_reg: regulator@3 {
regulator-name= "vccio";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
};
ldo1_reg: regulator@4 {
regulator-name= "act_ldo1";
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1000000>;
regulator-always-on;
regulator-boot-on;
};
ldo2_reg: regulator@5 {
regulator-name= "act_ldo2";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
regulator-always-on;
regulator-boot-on;
};
ldo3_reg: regulator@6 {
regulator-name= "act_ldo3";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
regulator-boot-on;
};
ldo4_reg:regulator@7 {
regulator-name= "act_ldo4";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
};
ldo5_reg: regulator@8 {
regulator-name= "act_ldo5";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
};
ldo6_reg: regulator@9 {
regulator-name= "act_ldo6";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
};
ldo7_reg: regulator@10 {
regulator-name= "act_ldo7";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
regulator-boot-on;
};
ldo8_reg: regulator@11 {
regulator-name= "act_ldo8";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>;
regulator-always-on;
regulator-boot-on;
};
};
};
/include/ "rk808.dtsi"
&rk808{
gpios =<&gpio0 GPIO_B3 GPIO_ACTIVE_HIGH>,<&gpio0 GPIO_A1 GPIO_ACTIVE_LOW>;
regulators {
rk808_dcdc1_reg: regulator@0{
regulator-name= "vdd_arm";
regulator-always-on;
regulator-boot-on;
};
rk808_dcdc2_reg: regulator@1 {
regulator-name= "vdd_logic";
regulator-always-on;
regulator-boot-on;
};
rk808_dcdc3_reg: regulator@2 {
regulator-name= "rk_dcdc3";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
regulator-always-on;
regulator-boot-on;
};
rk808_dcdc4_reg: regulator@3 {
regulator-name= "vccio";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
};
rk808_ldo1_reg: regulator@4 {
regulator-name= "rk_ldo1";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
};
rk808_ldo2_reg: regulator@5 {
regulator-name= "rk_ldo2";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
};
rk808_ldo3_reg: regulator@6 {
regulator-name= "rk_ldo3";
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1000000>;
regulator-always-on;
regulator-boot-on;
};
rk808_ldo4_reg:regulator@7 {
regulator-name= "rk_ldo4";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
regulator-boot-on;
};
rk808_ldo5_reg: regulator@8 {
regulator-name= "rk_ldo5";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>;
regulator-always-on;
regulator-boot-on;
};
rk808_ldo6_reg: regulator@9 {
regulator-name= "rk_ldo6";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
regulator-always-on;
regulator-boot-on;
};
rk808_ldo7_reg: regulator@10 {
regulator-name= "rk_ldo7";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
regulator-boot-on;
};
rk808_ldo8_reg: regulator@11 {
regulator-name= "rk_ldo8";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
regulator-boot-on;
};
};
};

View File

@@ -1,918 +0,0 @@
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/pinctrl/rockchip.h>
#include <dt-bindings/pinctrl/rockchip-rk3188.h>
/ {
pinctrl: pinctrl@20008000 {
compatible = "rockchip,rk3188-pinctrl";
reg = <0x20008000 0x60>,
<0x20008060 0x40>,
<0x20008164 0x40>,
<0x200080f4 0x10>;
reg-names = "base", "mux", "pull", "drv";
#address-cells = <1>;
#size-cells = <1>;
ranges;
gpio0: gpio0@0x2000a000 {
compatible = "rockchip,rk3188-gpio-bank0";
reg = <0x2000a000 0x100>,
<0x20004064 0x8>;
reg-names = "base", "pull_bank0";
interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk_gates8 9>;
gpio-controller;
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;
};
gpio1: gpio1@0x2003c000 {
compatible = "rockchip,gpio-bank";
reg = <0x2003c000 0x100>;
interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk_gates8 10>;
gpio-controller;
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;
};
gpio2: gpio2@2003e000 {
compatible = "rockchip,gpio-bank";
reg = <0x2003e000 0x100>;
interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk_gates8 11>;
gpio-controller;
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;
};
gpio3: gpio3@20080000 {
compatible = "rockchip,gpio-bank";
reg = <0x20080000 0x100>;
interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk_gates8 12>;
gpio-controller;
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;
};
gpio15: gpio15@20082000 {
compatible = "rockchip,gpio-bank";
reg = <0x20082000 0x100>;
interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;//127 = 160-32-1
clocks = <&clk_gates8 12>;
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;
};
gpio1_uart0 {
uart0_xfer: uart0-xfer {
rockchip,pins = <UART0_SIN>,
<UART0_SOUT>;
rockchip,pull = <VALUE_PULL_DISABLE>;
rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
uart0_cts: uart0-cts {
rockchip,pins = <UART0_CTSN>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
uart0_rts: uart0-rts {
rockchip,pins = <UART0_RTSN>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
uart0_rts_gpio: uart0-rts-gpio {
rockchip,pins = <FUNC_TO_GPIO(UART0_RTSN)>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
};
};
gpio1_uart1 {
uart1_xfer: uart1-xfer {
rockchip,pins = <UART1_SIN>,
<UART1_SOUT>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
uart1_cts: uart1-cts {
rockchip,pins = <UART1_CTSN>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
uart1_rts: uart1-rts {
rockchip,pins = <UART1_RTSN>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
uart1_rts_gpio: uart1-rts-gpio {
rockchip,pins = <FUNC_TO_GPIO(UART1_RTSN)>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
};
};
gpio1_uart2 {
uart2_xfer: uart2-xfer {
rockchip,pins = <UART2_SIN>,
<UART2_SOUT>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
/* no rts / cts for uart2 */
};
gpio1_uart3 {
uart3_xfer: uart3-xfer {
rockchip,pins = <UART3_SIN>,
<UART3_SOUT>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
uart3_cts: uart3-cts {
rockchip,pins = <UART3_CTSN>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
uart3_rts: uart3-rts {
rockchip,pins = <UART3_RTSN>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
uart3_rts_gpio: uart3-rts-gpio {
rockchip,pins = <FUNC_TO_GPIO(UART3_RTSN)>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
};
};
gpio1_i2c0 {
i2c0_sda:i2c0-sda {
rockchip,pins = <I2C0_SDA>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
i2c0_scl:i2c0-scl {
rockchip,pins = <I2C0_SCL>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
i2c0_gpio: i2c0-gpio {
rockchip,pins = <FUNC_TO_GPIO(I2C0_SDA)>, <FUNC_TO_GPIO(I2C0_SCL)>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
};
};
gpio1_i2c1 {
i2c1_sda:i2c1-sda {
rockchip,pins = <I2C1_SDA>;
rockchip,pull = <VALUE_PULL_DISABLE>;
rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
i2c1_scl:i2c1-scl {
rockchip,pins = <I2C1_SCL>;
rockchip,pull = <VALUE_PULL_DISABLE>;
rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
i2c1_gpio: i2c1-gpio {
rockchip,pins = <FUNC_TO_GPIO(I2C1_SDA)>, <FUNC_TO_GPIO(I2C1_SCL)>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
};
};
gpio1_i2c2 {
i2c2_sda:i2c2-sda {
rockchip,pins = <I2C2_SDA>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
i2c2_scl:i2c2-scl {
rockchip,pins = <I2C2_SCL>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
i2c2_gpio: i2c2-gpio {
rockchip,pins = <FUNC_TO_GPIO(I2C2_SDA)>, <FUNC_TO_GPIO(I2C2_SCL)>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
};
};
gpio3_i2c3 {
i2c3_sda:i2c3-sda {
rockchip,pins = <I2C3_SDA>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
i2c3_scl:i2c3-scl {
rockchip,pins = <I2C3_SCL>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
i2c3_gpio: i2c3-gpio {
rockchip,pins = <FUNC_TO_GPIO(I2C3_SDA)>, <FUNC_TO_GPIO(I2C3_SCL)>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
};
};
gpio1_i2c4 {
i2c4_sda:i2c4-sda {
rockchip,pins = <I2C4_SDA>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
i2c4_scl:i2c4-scl {
rockchip,pins = <I2C4_SCL>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
i2c4_gpio: i2c4-gpio {
rockchip,pins = <FUNC_TO_GPIO(I2C4_SDA)>, <FUNC_TO_GPIO(I2C4_SCL)>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
};
};
gpio1_spi0 {
spi0_txd:spi0-txd {
rockchip,pins = <SPI0_TXD>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
spi0_rxd:spi0-rxd {
rockchip,pins = <SPI0_RXD>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
spi0_clk:spi0-clk {
rockchip,pins = <SPI0_CLK>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
spi0_cs0:spi0-cs0 {
rockchip,pins = <SPI0_CS0>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
spi0_cs1:spi0-cs1 {
rockchip,pins = <SPI0_CS1>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
};
gpio1_spi1 {
spi1_txd:spi1-txd {
rockchip,pins = <SPI1_TXD>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
spi1_rxd:spi1-rxd {
rockchip,pins = <SPI1_RXD>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
spi1_clk:spi1-clk {
rockchip,pins = <SPI1_CLK>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
spi1_cs0:spi1-cs0 {
rockchip,pins = <SPI1_CS0>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
spi1_cs1:spi1-cs1 {
rockchip,pins = <SPI1_CS1>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
};
gpio1_i2s0 {
i2s0_mclk:i2s0-mclk {
rockchip,pins = <I2S0_MCLK>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_8MA>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
i2s0_sclk:i2s0-sclk {
rockchip,pins = <I2S0_SCLK>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_8MA>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
i2s0_lrckrx:i2s0-lrckrx {
rockchip,pins = <I2S0_LRCKRX>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_8MA>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
i2s0_lrcktx:i2s0-lrcktx {
rockchip,pins = <I2S0_LRCKTX>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_8MA>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
i2s0_sdo:i2s0-sdo {
rockchip,pins = <I2S0_SDO>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_8MA>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
i2s0_sdi:i2s0-sdi {
rockchip,pins = <I2S0_SDI>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_8MA>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
i2s0_gpio: i2s0-gpio {
rockchip,pins = <FUNC_TO_GPIO(I2S0_MCLK)>,
<FUNC_TO_GPIO(I2S0_SCLK)>,
<FUNC_TO_GPIO(I2S0_LRCKRX)>,
<FUNC_TO_GPIO(I2S0_LRCKTX)>,
<FUNC_TO_GPIO(I2S0_SDO)>,
<FUNC_TO_GPIO(I2S0_SDI)>;
rockchip,drive = <VALUE_DRV_8MA>;
};
};
gpio2_lcdc1 {
lcdc1_lcdc:lcdc1-lcdc {
rockchip,pins = <LCDC1_D0>,
<LCDC1_D1>,
<LCDC1_D2>,
<LCDC1_D3>,
<LCDC1_D4>,
<LCDC1_D5>,
<LCDC1_D6>,
<LCDC1_D7>,
<LCDC1_D8>,
<LCDC1_D9>,
<LCDC1_D10>,
<LCDC1_D11>,
<LCDC1_D12>,
<LCDC1_D13>,
<LCDC1_D14>,
<LCDC1_D15>,
<LCDC1_D16>,
<LCDC1_D17>,
<LCDC1_D18>,
<LCDC1_D19>,
<LCDC1_D20>,
<LCDC1_D21>,
<LCDC1_D22>,
<LCDC1_D23>,
<LCDC1_DCLK>,
<LCDC1_DEN>,
<LCDC1_HSYNC>,
<LCDC1_VSYNC>;
rockchip,pull = <VALUE_PULL_DISABLE>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
};
lcdc1_gpio:lcdc1-gpio {
rockchip,pins = <FUNC_TO_GPIO(LCDC1_D0)>,
<FUNC_TO_GPIO(LCDC1_D1)>,
<FUNC_TO_GPIO(LCDC1_D2)>,
<FUNC_TO_GPIO(LCDC1_D3)>,
<FUNC_TO_GPIO(LCDC1_D4)>,
<FUNC_TO_GPIO(LCDC1_D5)>,
<FUNC_TO_GPIO(LCDC1_D6)>,
<FUNC_TO_GPIO(LCDC1_D7)>,
<FUNC_TO_GPIO(LCDC1_D8)>,
<FUNC_TO_GPIO(LCDC1_D9)>,
<FUNC_TO_GPIO(LCDC1_D10)>,
<FUNC_TO_GPIO(LCDC1_D11)>,
<FUNC_TO_GPIO(LCDC1_D12)>,
<FUNC_TO_GPIO(LCDC1_D13)>,
<FUNC_TO_GPIO(LCDC1_D14)>,
<FUNC_TO_GPIO(LCDC1_D15)>,
<FUNC_TO_GPIO(LCDC1_D16)>,
<FUNC_TO_GPIO(LCDC1_D17)>,
<FUNC_TO_GPIO(LCDC1_D18)>,
<FUNC_TO_GPIO(LCDC1_D19)>,
<FUNC_TO_GPIO(LCDC1_D20)>,
<FUNC_TO_GPIO(LCDC1_D21)>,
<FUNC_TO_GPIO(LCDC1_D22)>,
<FUNC_TO_GPIO(LCDC1_D23)>,
<FUNC_TO_GPIO(LCDC1_DCLK)>,
<FUNC_TO_GPIO(LCDC1_DEN)>,
<FUNC_TO_GPIO(LCDC1_HSYNC)>,
<FUNC_TO_GPIO(LCDC1_VSYNC)>;
rockchip,pull = <VALUE_PULL_DISABLE>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
};
};
gpio1_spdif {
spdif_tx: spdif-tx {
rockchip,pins = <SPDIF_TX>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
};
gpio3_pwm {
pwm0_pin:pwm0 {
rockchip,pins = <PWM0>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
pwm1_pin:pwm1 {
rockchip,pins = <PWM1>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
pwm2_pin:pwm2 {
rockchip,pins = <PWM2>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
pwm3_pin:pwm3 {
rockchip,pins = <PWM3>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
};
gpio3_sdio {
sd0_clk: sd0-clk {
rockchip,pins = <MMC0_CLKOUT>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
sd0_cmd: sd0-cmd {
rockchip,pins = <MMC0_CMD>;
rockchip,pull = <VALUE_PULL_UP>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
sd0_cd: sd0-cd {
rockchip,pins = <MMC0_DETN>;
rockchip,pull = <VALUE_PULL_UP>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
sd0_cd_gpio:sd0_cd_gpio{
rockchip,pins = <FUNC_TO_GPIO(MMC0_DETN)>;
rockchip,pull = <VALUE_PULL_DISABLE>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
};
sd0_wp: sd0-wp {
rockchip,pins = <MMC0_WRPRT>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
sd0_pwr: sd0-pwr {
rockchip,pins = <MMC0_PWREN>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
sd0_bus1: sd0-bus-width1 {
rockchip,pins = <MMC0_D0>;
rockchip,pull = <VALUE_PULL_UP>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
sd0_bus4: sd0-bus-width4 {
rockchip,pins = <MMC0_D0>,
<MMC0_D1>,
<MMC0_D2 >,
<MMC0_D3>;
rockchip,pull = <VALUE_PULL_UP>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
};
gpio3_sdmmc {
sd1_clk: sd1-clk {
rockchip,pins = <MMC1_CLKOUT>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
sd1_cmd: sd1-cmd {
rockchip,pins = <MMC1_CMD>;
rockchip,pull = <VALUE_PULL_UP>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
sd1_cd: sd1-cd {
rockchip,pins = <MMC1_DETN>;
rockchip,pull = <VALUE_PULL_UP>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
sd1_wp: sd1-wp {
rockchip,pins = <MMC1_WRPRT>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
sd1_bus1: sd1-bus-width1 {
rockchip,pins = <MMC1_D0>;
rockchip,pull = <VALUE_PULL_UP>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
sd1_bus4: sd1-bus-width4 {
rockchip,pins = <MMC1_D0>,
<MMC1_D1>,
<MMC1_D2>,
<MMC1_D3>;
rockchip,pull = <VALUE_PULL_UP>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
};
gpio3_rmii {
rmii_clkoutpin: rmii-clkoutpin {
rockchip,pins = <RMII_CLKOUT>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
rmii_clkinpin: rmii-clkinpin {
rockchip,pins = <RMII_CLKIN>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
rmii_txpins: rmii-txpins {
rockchip,pins = <RMII_TXEN>, <RMII_TXD1>, <RMII_TXD0>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
rmii_rxpins: rmii-rxpins {
rockchip,pins = <RMII_RXD0>, <RMII_RXD1>, <RMII_RXERR>, <RMII_CRS>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
rmii_mdpins: rmii-mdpins {
rockchip,pins = <RMII_MD>, <RMII_MDCLK>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
};
gpio1_gps {
gps_mag:gps-mag {
rockchip,pins = <GPS_MAG>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
gps_sig:gps-sig {
rockchip,pins = <GPS_SIG>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
gps_rfclk:gps-rfclk {
rockchip,pins = <GPS_RFCLK>;
rockchip,pull = <VALUE_PULL_DISABLE>;
//rockchip,voltage = <VALUE_VOL_DEFAULT>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
};
vol_domain {
ap0_vcc:ap0-vcc {
rockchip,pins = <VIRTUAL_PIN_FOR_AP0_VCC>;
rockchip,voltage = <VALUE_VOL_DEFAULT>;
};
ap1_vcc:ap1-vcc {
rockchip,pins = <VIRTUAL_PIN_FOR_AP1_VCC>;
rockchip,voltage = <VALUE_VOL_DEFAULT>;
};
cif_vcc:cif-vcc {
rockchip,pins = <VIRTUAL_PIN_FOR_CIF_VCC>;
rockchip,voltage = <VALUE_VOL_DEFAULT>;
};
flash_vcc:flash-vcc {
rockchip,pins = <VIRTUAL_PIN_FOR_FLASH_VCC>;
rockchip,voltage = <VALUE_VOL_DEFAULT>;
};
vccio0_vcc:vccio0-vcc {
rockchip,pins = <VIRTUAL_PIN_FOR_VCCIO0_VCC>;
rockchip,voltage = <VALUE_VOL_DEFAULT>;
};
vccio1_vcc:vccio1-vcc {
rockchip,pins = <VIRTUAL_PIN_FOR_VCCIO1_VCC>;
rockchip,voltage = <VALUE_VOL_DEFAULT>;
};
lcdc0_vcc:lcdc0-vcc {
rockchip,pins = <VIRTUAL_PIN_FOR_LCDC0_VCC>;
rockchip,voltage = <VALUE_VOL_DEFAULT>;
};
lcdc1_vcc:lcdc1-vcc {
rockchip,pins = <VIRTUAL_PIN_FOR_LCDC1_VCC>;
rockchip,voltage = <VALUE_VOL_DEFAULT>;
};
ap0_vcc_18:ap0-vcc-18 {
rockchip,pins = <VIRTUAL_PIN_FOR_AP0_VCC>;
rockchip,voltage = <VALUE_VOL_1V8>;
};
ap1_vcc_18:ap1-vcc-18 {
rockchip,pins = <VIRTUAL_PIN_FOR_AP1_VCC>;
rockchip,voltage = <VALUE_VOL_1V8>;
};
cif_vcc_18:cif-vcc-18 {
rockchip,pins = <VIRTUAL_PIN_FOR_CIF_VCC>;
rockchip,voltage = <VALUE_VOL_1V8>;
};
flash_vcc_18:flash-vcc-18 {
rockchip,pins = <VIRTUAL_PIN_FOR_FLASH_VCC>;
rockchip,voltage = <VALUE_VOL_1V8>;
};
vccio0_vcc_18:vccio0-vcc-18 {
rockchip,pins = <VIRTUAL_PIN_FOR_VCCIO0_VCC>;
rockchip,voltage = <VALUE_VOL_1V8>;
};
vccio1_vcc_18:vccio1-vcc-18 {
rockchip,pins = <VIRTUAL_PIN_FOR_VCCIO1_VCC>;
rockchip,voltage = <VALUE_VOL_1V8>;
};
lcdc0_vcc_18:lcdc0-vcc-18 {
rockchip,pins = <VIRTUAL_PIN_FOR_LCDC0_VCC>;
rockchip,voltage = <VALUE_VOL_1V8>;
};
lcdc1_vcc_18:lcdc1-vcc-18 {
rockchip,pins = <VIRTUAL_PIN_FOR_LCDC1_VCC>;
rockchip,voltage = <VALUE_VOL_1V8>;
};
ap0_vcc_33:ap0-vcc-33 {
rockchip,pins = <VIRTUAL_PIN_FOR_AP0_VCC>;
rockchip,voltage = <VALUE_VOL_3V3>;
};
ap1_vcc_33:ap1-vcc-33 {
rockchip,pins = <VIRTUAL_PIN_FOR_AP1_VCC>;
rockchip,voltage = <VALUE_VOL_3V3>;
};
cif_vcc_33:cif-vcc-33 {
rockchip,pins = <VIRTUAL_PIN_FOR_CIF_VCC>;
rockchip,voltage = <VALUE_VOL_3V3>;
};
flash_vcc_33:flash-vcc-33 {
rockchip,pins = <VIRTUAL_PIN_FOR_FLASH_VCC>;
rockchip,voltage = <VALUE_VOL_3V3>;
};
vccio0_vcc_33:vccio0-vcc-33 {
rockchip,pins = <VIRTUAL_PIN_FOR_VCCIO0_VCC>;
rockchip,voltage = <VALUE_VOL_3V3>;
};
vccio1_vcc_33:vccio1-vcc-33 {
rockchip,pins = <VIRTUAL_PIN_FOR_VCCIO1_VCC>;
rockchip,voltage = <VALUE_VOL_3V3>;
};
lcdc0_vcc_33:lcdc0-vcc-33 {
rockchip,pins = <VIRTUAL_PIN_FOR_LCDC0_VCC>;
rockchip,voltage = <VALUE_VOL_3V3>;
};
lcdc1_vcc_33:lcdc1-vcc-33 {
rockchip,pins = <VIRTUAL_PIN_FOR_LCDC1_VCC>;
rockchip,voltage = <VALUE_VOL_3V3>;
};
};
//to add
};
};

View File

@@ -1,806 +0,0 @@
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/dts-v1/;
#include "rk3188.dtsi"
#include "lcd-b101ew05.dtsi"
/ {
memory {
device_type = "memory";
reg = <0x60000000 0x40000000>;
};
chosen {
bootargs = "clk_ignore_unused";
};
fiq-debugger {
status = "okay";
};
wireless-wlan {
compatible = "wlan-platdata";
wifi_chip_type = "";
sdio_vref = <28000>;
//power_ctrl_by_pmu;
pmu_regulator = "act_ldo3";
pmu_enable_level = <1>; //1->HIGH, 0->LOW
WIFI,poweren_gpio = <&gpio3 GPIO_D0 GPIO_ACTIVE_HIGH>;
WIFI,host_wake_irq = <&gpio3 GPIO_D2 GPIO_ACTIVE_HIGH>;
//WIFI,reset_gpio = <&gpio0 GPIO_A2 GPIO_ACTIVE_LOW>;
status = "okay";
};
wireless-bluetooth {
compatible = "bluetooth-platdata";
uart_rts_gpios = <&gpio1 GPIO_A3 GPIO_ACTIVE_LOW>;
pinctrl-names = "default","rts_gpio";
pinctrl-0 = <&uart0_rts>;
pinctrl-1 = <&uart0_rts_gpio>;
BT,power_gpio = <&gpio3 GPIO_C7 GPIO_ACTIVE_HIGH>;
BT,reset_gpio = <&gpio3 GPIO_D1 GPIO_ACTIVE_HIGH>;
BT,wake_gpio = <&gpio3 GPIO_C6 GPIO_ACTIVE_HIGH>;
BT,wake_host_irq = <&gpio0 GPIO_A5 GPIO_ACTIVE_LOW>;
status = "okay";
};
backlight {
compatible = "pwm-backlight";
pwms = <&pwm3 0 25000>;
brightness-levels = <0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 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 = <128>;
enable-gpios = <&gpio0 GPIO_A2 GPIO_ACTIVE_HIGH>;
};
pwm_regulator {
compatible = "rockchip_pwm_regulator";
pwms = <&pwm0 0 25000>;
rockchip,pwm_id= <0>;
rockchip,pwm_voltage_map= <925000 950000 975000 1000000 1025000 1050000 1075000 1100000 1125000 1150000 1175000 1200000 1225000 1250000 1275000 1300000 1325000 1350000 1375000 1400000>;
rockchip,pwm_voltage= <1000000>;
rockchip,pwm_min_voltage= <925000>;
rockchip,pwm_max_voltage= <1400000>;
rockchip,pwm_suspend_voltage= <950000>;
rockchip,pwm_coefficient= <475>;
regulators {
#address-cells = <1>;
#size-cells = <0>;
pwm_reg0: regulator@0{
regulator-compatible = "pwm_dcdc1";
regulator-name= "vdd_gpu";
regulator-min-microvolt = <925000>;
regulator-max-microvolt = <1400000>;
regulator-always-on;
regulator-boot-on;
};
};
};
codec_hdmi_i2s: codec-hdmi-i2s {
compatible = "hdmi-i2s";
};
codec_hdmi_spdif: codec-hdmi-spdif {
compatible = "hdmi-spdif";
};
rockchip-rt5631 {
compatible = "rockchip-rt5631";
dais {
dai0 {
audio-codec = <&rt5631>;
audio-controller = <&i2s0>;
format = "i2s";
//continuous-clock;
//bitclock-inversion;
//frame-inversion;
//bitclock-master;
//frame-master;
};
};
};
rockchip-rk610 {
compatible = "rockchip-rk610";
dais {
dai0 {
audio-codec = <&rk610_codec>;
audio-controller = <&i2s0>;
format = "i2s";
//continuous-clock;
//bitclock-inversion;
//frame-inversion;
//bitclock-master;
//frame-master;
};
};
};
rockchip-hdmi-i2s {
compatible = "rockchip-hdmi-i2s";
dais {
dai0 {
audio-codec = <&codec_hdmi_i2s>;
audio-controller = <&i2s0>;
format = "i2s";
//continuous-clock;
//bitclock-inversion;
//frame-inversion;
//bitclock-master;
//frame-master;
};
};
};
rockchip-hdmi-spdif {
compatible = "rockchip-hdmi-spdif";
dais {
dai0 {
audio-codec = <&codec_hdmi_spdif>;
audio-controller = <&spdif>;
};
};
};
vmac-phy {
compatible = "rockchip,vmac-phy";
power-gpios = <&gpio0 GPIO_C0 GPIO_ACTIVE_HIGH>;
};
};
&pinctrl {
gpio1_gpio {
gpio1_a2: gpio1-a2 {
rockchip,pins = <GPIO1_A2>;
rockchip,pull = <VALUE_PULL_UP>;
};
//to add
};
//could add other pinctrl definition such as gpio
};
&emmc {
clock-frequency = <50000000>;
clock-freq-min-max = <400000 50000000>;
supports-highspeed;
supports-emmc;
bootpart-no-access;
status = "okay";
};
&sdmmc {
clock-frequency = <50000000>;
lock-freq-min-max = <400000 50000000>;
supports-highspeed;
supports-sd;
broken-cd;
card-detect-delay = <200>;
pwr-gpios = <&gpio3 GPIO_A1 GPIO_ACTIVE_LOW>; /*pwr_en = GPIO3_A1*/
status = "okay";
};
&sdio {
clock-frequency = <50000000>;
clock-freq-min-max = <200000 50000000>;
supports-highspeed;
supports-sdio;
cap-sdio-irq;
status = "okay";
};
&uart0 {
status = "okay";
dma-names = "!tx", "!rx";
pinctrl-0 = <&uart0_xfer &uart0_cts>;
};
&uart3 {
status = "okay";
dma-names = "!tx", "!rx";
};
&watchdog {
rockchip,timeout = <50>;
rockchip,debug = <1>;
status = "disabled";
};
&spi0 {
status = "okay";
max-freq = <48000000>;
/*
spi_test@00 {
compatible = "rockchip,spi_test_bus0_cs0";
reg = <0>;
spi-max-frequency = <24000000>;
poll_mode = <0>;
type = <0>;
enable_dma = <0>;
};
spi_test@01 {
compatible = "rockchip,spi_test_bus0_cs1";
reg = <1>;
spi-max-frequency = <24000000>;
poll_mode = <0>;
type = <0>;
enable_dma = <0>;
};
*/
};
&spi1 {
status = "okay";
max-freq = <48000000>;
/*
spi_test@10 {
compatible = "rockchip,spi_test_bus1_cs0";
reg = <0>;
spi-max-frequency = <24000000>;
poll_mode = <0>;
type = <0>;
enable_dma = <0>;
};
spi_test@11 {
compatible = "rockchip,spi_test_bus1_cs1";
reg = <1>;
spi-max-frequency = <24000000>;
poll_mode = <0>;
type = <0>;
enable_dma = <0>;
};
*/
};
&i2c0 {
status = "okay";
rt5631: rt5631@1a {
compatible = "rt5631";
reg = <0x1a>;
};
rk610ctl@40 {
compatible = "rk610_ctl";
reg = <0x40>;
rk610-reset-io = <&gpio3 GPIO_B2 GPIO_ACTIVE_HIGH>;
clocks = <&clk_i2s>;
clock-names = "i2s_clk";
};
rk610_codec: rk610codec@60 {//RK610_CODEC addr from 0x60 to 0x80 (0x60~0x80)
compatible = "rk610_codec";
reg = <0x60>;
spk_ctl_io = <&gpio2 GPIO_D7 GPIO_ACTIVE_HIGH>;
boot_depop = <1>;
pa_enable_time = <1000>;
};
sensor@1d {
compatible = "gs_mma8452";
reg = <0x1d>;
type = <SENSOR_TYPE_ACCEL>;
irq-gpio = <&gpio0 GPIO_B7 IRQ_TYPE_EDGE_FALLING>;
irq_enable = <1>;
poll_delay_ms = <30>;
layout = <1>;
};
};
&i2c1 {
status = "okay";
rtc@51 {
compatible = "nxp,pcf8563";
reg = <0x51>;
};
act8846: act8846@5a {
reg = <0x5a>;
status = "okay";
};
rk808: rk808@1b {
reg = <0x1b>;
status = "okay";
};
bq24296: bq24296@6b {
compatible = "ti,bq24296";
reg = <0x6b>;
/* gpios = <&gpio0 GPIO_A7 GPIO_ACTIVE_HIGH>; */
bq24296,chg_current = <1000 500 2000>;
status = "disable";
};
bq27320: bq27320@55 {
compatible = "ti,bq27320";
reg = <0x55>;
/* gpios = <&gpio0 GPIO_A7 GPIO_ACTIVE_HIGH>; */
status = "disable";
};
};
&i2c2 {
status = "okay";
ts@55 {
compatible = "goodix,gt8xx";
reg = <0x55>;
touch-gpio = <&gpio1 GPIO_B7 IRQ_TYPE_LEVEL_LOW>;
reset-gpio = <&gpio0 GPIO_B6 GPIO_ACTIVE_LOW>;
power-gpio = <&gpio0 GPIO_C5 GPIO_ACTIVE_LOW>;
max-x = <1280>;
max-y = <800>;
};
ts@01 {
compatible = "ct,ct36x";
reg = <0x01>;
ct-model = <365>;
touch-gpio = <&gpio1 GPIO_B7 IRQ_TYPE_LEVEL_LOW>;
reset-gpio = <&gpio0 GPIO_B6 GPIO_ACTIVE_HIGH>;
max-x = <1280>;
max-y = <800>;
orientation=<1 0 0 1>;
};
};
&i2c3 {
status = "okay";
};
&fb {
rockchip,disp-mode = <DUAL>;
};
&rk_screen {
display-timings = <&disp_timings>;
};
&lcdc0 {
status = "okay";
power_ctr: power_ctr {
rockchip,debug = <0>;
lcd_en:lcd_en {
rockchip,power_type = <GPIO>;
gpios = <&gpio0 GPIO_B0 GPIO_ACTIVE_HIGH>;
rockchip,delay = <10>;
};
/*lcd_cs:lcd_cs {
rockchip,power_type = <GPIO>;
gpios = <&gpio3 GPIO_D6 GPIO_ACTIVE_HIGH>;
rockchip,delay = <10>;
};
lcd_rst:lcd_rst {
rockchip,power_type = <REGULATOR>;
rockchip,delay = <5>;
};*/
};
};
&lcdc1 {
status = "okay";
};
&adc {
status = "okay";
key {
compatible = "rockchip,key";
io-channels = <&adc 1>;
vol-up-key {
linux,code = <115>;
label = "volume up";
rockchip,adc_value = <1>;
};
vol-down-key {
linux,code = <114>;
label = "volume down";
rockchip,adc_value = <170>;
};
power-key {
gpios = <&gpio0 GPIO_A4 GPIO_ACTIVE_LOW>;
linux,code = <116>;
label = "power";
gpio-key,wakeup;
};
menu-key {
linux,code = <139>;
label = "menu";
rockchip,adc_value = <355>;
};
home-key {
linux,code = <102>;
label = "home";
rockchip,adc_value = <746>;
};
back-key {
linux,code = <158>;
label = "back";
rockchip,adc_value = <560>;
};
camera-key {
linux,code = <212>;
label = "camera";
rockchip,adc_value = <450>;
};
};
};
&pwm3 {
status = "okay";
};
&pwm0 {
status = "disable";
};
&clk_core_dvfs_table {
operating-points = <
/* KHz uV */
312000 1100000
504000 1100000
816000 1100000
1008000 1100000
1200000 1200000
1416000 1300000
1608000 1350000
>;
};
&clk_gpu_dvfs_table {
operating-points = <
/* KHz uV */
200000 1200000
300000 1200000
400000 1200000
>;
};
&clk_ddr_dvfs_table {
operating-points = <
/* KHz uV */
200000 1200000
300000 1200000
400000 1200000
>;
freq_table = <
/*status freq(KHz)*/
SYS_STATUS_NORMAL 400000
SYS_STATUS_SUSPEND 200000
SYS_STATUS_VIDEO 300000
SYS_STATUS_DUALVIEW 500000
>;
};
/include/ "act8846.dtsi"
&act8846 {
gpios =<&gpio3 GPIO_D3 GPIO_ACTIVE_LOW>;
regulators {
dcdc1_reg: regulator@0{
regulator-name= "act_dcdc1";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
regulator-always-on;
regulator-boot-on;
};
dcdc2_reg: regulator@1 {
regulator-name= "vdd_logic";
regulator-min-microvolt = <700000>;
regulator-max-microvolt = <1500000>;
regulator-initial-state = <3>;
regulator-state-mem {
regulator-state-enabled;
regulator-state-uv = <1200000>;
};
};
dcdc3_reg: regulator@2 {
regulator-name= "vdd_arm";
regulator-min-microvolt = <700000>;
regulator-max-microvolt = <1500000>;
regulator-initial-state = <3>;
regulator-state-mem {
regulator-state-enabled;
regulator-state-uv = <1200000>;
};
};
dcdc4_reg: regulator@3 {
regulator-name= "vccio";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
regulator-initial-state = <3>;
regulator-state-mem {
regulator-state-enabled;
regulator-state-uv = <3300000>;
};
};
ldo1_reg: regulator@4 {
regulator-name= "act_ldo1";
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1000000>;
};
ldo2_reg: regulator@5 {
regulator-name= "act_ldo2";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
};
ldo3_reg: regulator@6 {
regulator-name= "act_ldo3";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};
ldo4_reg:regulator@7 {
regulator-name= "act_ldo4";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
};
ldo5_reg: regulator@8 {
regulator-name= "act_ldo5";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
};
ldo6_reg: regulator@9 {
regulator-name= "act_ldo6";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
};
ldo7_reg: regulator@10 {
regulator-name= "act_ldo7";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};
ldo8_reg: regulator@11 {
regulator-name= "act_ldo8";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>;
};
};
};
/include/ "rk808.dtsi"
&rk808 {
gpios =<&gpio0 GPIO_B3 GPIO_ACTIVE_HIGH>,<&gpio0 GPIO_A1 GPIO_ACTIVE_LOW>;
regulators {
rk808_dcdc1_reg: regulator@0{
regulator-name= "vdd_arm";
regulator-min-microvolt = <700000>;
regulator-max-microvolt = <1500000>;
regulator-always-on;
regulator-boot-on;
regulator-initial-mode = <0x2>;
regulator-initial-state = <3>;
regulator-state-mem {
regulator-state-mode = <0x2>;
regulator-state-enabled;
regulator-state-uv = <900000>;
};
};
rk808_dcdc2_reg: regulator@1 {
regulator-name= "vdd_logic";
regulator-min-microvolt = <700000>;
regulator-max-microvolt = <1500000>;
regulator-always-on;
regulator-boot-on;
regulator-initial-mode = <0x2>;
regulator-initial-state = <3>;
regulator-state-mem {
regulator-state-mode = <0x2>;
regulator-state-enabled;
regulator-state-uv = <900000>;
};
};
rk808_dcdc3_reg: regulator@2 {
regulator-name= "rk_dcdc3";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
regulator-always-on;
regulator-boot-on;
regulator-initial-mode = <0x2>;
regulator-initial-state = <3>;
regulator-state-mem {
regulator-state-mode = <0x2>;
regulator-state-enabled;
regulator-state-uv = <1200000>;
};
};
rk808_dcdc4_reg: regulator@3 {
regulator-name= "vccio";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
regulator-initial-mode = <0x2>;
regulator-initial-state = <3>;
regulator-state-mem {
regulator-state-mode = <0x2>;
regulator-state-enabled;
regulator-state-uv = <2800000>;
};
};
rk808_ldo1_reg: regulator@4 {
regulator-name= "rk_ldo1";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
regulator-initial-state = <3>;
regulator-state-mem {
regulator-state-enabled;
regulator-state-uv = <3300000>;
};
};
rk808_ldo2_reg: regulator@5 {
regulator-name= "rk_ldo2";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
regulator-initial-state = <3>;
regulator-state-mem {
regulator-state-enabled;
regulator-state-uv = <3300000>;
};
};
rk808_ldo3_reg: regulator@6 {
regulator-name= "rk_ldo3";
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1000000>;
regulator-always-on;
regulator-boot-on;
regulator-initial-state = <3>;
regulator-state-mem {
regulator-state-enabled;
regulator-state-uv = <1000000>;
};
};
rk808_ldo4_reg:regulator@7 {
regulator-name= "rk_ldo4";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
regulator-boot-on;
regulator-initial-state = <3>;
regulator-state-mem {
regulator-state-disabled;
regulator-state-uv = <1800000>;
};
};
rk808_ldo5_reg: regulator@8 {
regulator-name= "rk_ldo5";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>;
regulator-always-on;
regulator-boot-on;
regulator-initial-state = <3>;
regulator-state-mem {
regulator-state-enabled;
regulator-state-uv = <2800000>;
};
};
rk808_ldo6_reg: regulator@9 {
regulator-name= "rk_ldo6";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
regulator-always-on;
regulator-boot-on;
regulator-initial-state = <3>;
regulator-state-mem {
regulator-state-disabled;
regulator-state-uv = <1200000>;
};
};
rk808_ldo7_reg: regulator@10 {
regulator-name= "rk_ldo7";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
regulator-boot-on;
regulator-initial-state = <3>;
regulator-state-mem {
regulator-state-enabled;
regulator-state-uv = <1800000>;
};
};
rk808_ldo8_reg: regulator@11 {
regulator-name= "rk_ldo8";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
regulator-boot-on;
regulator-initial-state = <3>;
regulator-state-mem {
regulator-state-enabled;
regulator-state-uv = <1800000>;
};
};
};
};
&ap0_vcc_domain{
regulator-name= "vccio_wl";
};
&ap1_vcc_domain{
regulator-name= "vccio";
};
&cif_vcc_domain{
regulator-name= "vcc18_cif";
};
&flash_vcc_domain{
regulator-name= "vcc_flash";
};
&vccio0_vcc_domain{
regulator-name= "vccio";
};
&vccio1_vcc_domain{
regulator-name= "vccio";
};
&lcdc0_vcc_domain{
regulator-name= "vcc_lcd";
};
&lcdc1_vcc_domain{
regulator-name= "vccio";
};