829 lines
18 KiB
Plaintext
829 lines
18 KiB
Plaintext
/*
|
|
* Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd
|
|
*
|
|
* This file is dual-licensed: you can use it either under the terms
|
|
* of the GPL or the X11 license, at your option. Note that this dual
|
|
* licensing only applies to this file, and not this project as a
|
|
* whole.
|
|
*
|
|
* a) This file is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License as
|
|
* published by the Free Software Foundation; either version 2 of the
|
|
* License, or (at your option) any later version.
|
|
*
|
|
* This file is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* Or, alternatively,
|
|
*
|
|
* b) Permission is hereby granted, free of charge, to any person
|
|
* obtaining a copy of this software and associated documentation
|
|
* files (the "Software"), to deal in the Software without
|
|
* restriction, including without limitation the rights to use,
|
|
* copy, modify, merge, publish, distribute, sublicense, and/or
|
|
* sell copies of the Software, and to permit persons to whom the
|
|
* Software is furnished to do so, subject to the following
|
|
* conditions:
|
|
*
|
|
* The above copyright notice and this permission notice shall be
|
|
* included in all copies or substantial portions of the Software.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
* OTHER DEALINGS IN THE SOFTWARE.
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include <dt-bindings/display/media-bus-format.h>
|
|
#include <dt-bindings/input/input.h>
|
|
#include <dt-bindings/pwm/pwm.h>
|
|
#include "rk3288.dtsi"
|
|
#include "rk3288-linux.dtsi"
|
|
|
|
/ {
|
|
compatible = "rockchip,rk3288-evb-rk1608", "rockchip,rk3288";
|
|
|
|
backlight: backlight {
|
|
compatible = "pwm-backlight";
|
|
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 = <&gpio7 2 GPIO_ACTIVE_HIGH>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&bl_en>;
|
|
pwms = <&pwm0 0 1000000 PWM_POLARITY_INVERTED>;
|
|
};
|
|
|
|
ext_gmac: external-gmac-clock {
|
|
compatible = "fixed-clock";
|
|
clock-frequency = <125000000>;
|
|
clock-output-names = "ext_gmac";
|
|
#clock-cells = <0>;
|
|
};
|
|
|
|
sdio_pwrseq: sdio-pwrseq {
|
|
compatible = "mmc-pwrseq-simple";
|
|
clocks = <&hym8563>;
|
|
clock-names = "ext_clock";
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&wifi_enable_h>;
|
|
|
|
/*
|
|
* On the module itself this is one of these (depending
|
|
* on the actual card populated):
|
|
* - SDIO_RESET_L_WL_REG_ON
|
|
* - PDN (power down when low)
|
|
*/
|
|
reset-gpios = <&gpio4 28 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
/* This turns on USB vbus for both host0 (ehci) and host1 (dwc2) */
|
|
vcc_host: vcc-host-regulator {
|
|
compatible = "regulator-fixed";
|
|
enable-active-high;
|
|
gpio = <&gpio0 14 GPIO_ACTIVE_HIGH>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&host_vbus_drv>;
|
|
regulator-name = "vcc_host";
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
vcc_lcd: vcc-lcd {
|
|
compatible = "regulator-fixed";
|
|
enable-active-high;
|
|
gpio = <&gpio7 3 GPIO_ACTIVE_HIGH>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&lcd_en>;
|
|
regulator-name = "vcc_lcd";
|
|
vin-supply = <&vcc_io>;
|
|
};
|
|
|
|
vcc_sys: vsys-regulator {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "vcc_sys";
|
|
regulator-min-microvolt = <5000000>;
|
|
regulator-max-microvolt = <5000000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
/*
|
|
* NOTE: vcc_sd isn't hooked up on v1.0 boards where power comes from
|
|
* vcc_io directly. Those boards won't be able to power cycle SD cards
|
|
* but it shouldn't hurt to toggle this pin there anyway.
|
|
*/
|
|
vcc_sd: sdmmc-regulator {
|
|
compatible = "regulator-fixed";
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&sdmmc_pwr>;
|
|
regulator-name = "vcc_sd";
|
|
regulator-min-microvolt = <3300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
startup-delay-us = <100000>;
|
|
vin-supply = <&vcc_io>;
|
|
};
|
|
|
|
wireless-bluetooth {
|
|
compatible = "bluetooth-platdata";
|
|
uart_rts_gpios = <&gpio4 19 GPIO_ACTIVE_LOW>;
|
|
pinctrl-names = "default", "rts_gpio";
|
|
pinctrl-0 = <&uart0_rts>;
|
|
pinctrl-1 = <&uart0_gpios>;
|
|
BT,reset_gpio = <&gpio4 29 GPIO_ACTIVE_HIGH>;
|
|
BT,wake_gpio = <&gpio4 26 GPIO_ACTIVE_HIGH>;
|
|
BT,wake_host_irq = <&gpio4 31 GPIO_ACTIVE_HIGH>;
|
|
status = "okay";
|
|
};
|
|
|
|
wireless-wlan {
|
|
compatible = "wlan-platdata";
|
|
rockchip,grf = <&grf>;
|
|
wifi_chip_type = "ap6335";
|
|
sdio_vref = <1800>;
|
|
WIFI,host_wake_irq = <&gpio4 30 GPIO_ACTIVE_HIGH>;
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
&cpu0 {
|
|
cpu0-supply = <&vdd_cpu>;
|
|
};
|
|
|
|
&dsi0 {
|
|
status = "okay";
|
|
|
|
panel: panel {
|
|
status = "okay";
|
|
compatible = "simple-panel-dsi";
|
|
reg = <0>;
|
|
backlight = <&backlight>;
|
|
enable-gpios = <&gpio7 6 GPIO_ACTIVE_HIGH>;
|
|
supply = <&vcc_lcd>;
|
|
bus-format = <MEDIA_BUS_FMT_RGB888_1X24>;
|
|
dsi,flags = <(MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST)>;
|
|
dsi,format = <MIPI_DSI_FMT_RGB888>;
|
|
dsi,lanes = <4>;
|
|
delay,prepare = <120>;
|
|
delay,enable = <100>;
|
|
delay,reset = <100>;
|
|
delay,init = <1>;
|
|
panel-init-sequence = [
|
|
15 00 02 FF 05
|
|
15 00 02 FB 01
|
|
15 78 02 C5 01
|
|
15 00 02 FF EE
|
|
15 00 02 FB 01
|
|
15 00 02 1F 45
|
|
15 00 02 24 45
|
|
15 00 02 38 C8
|
|
15 00 02 39 27
|
|
15 00 02 1E 77
|
|
15 00 02 1D 0F
|
|
15 00 02 7E 71
|
|
15 00 02 7C 03
|
|
15 00 02 FF 01
|
|
15 00 02 FB 01
|
|
15 00 02 00 01
|
|
15 00 02 01 55
|
|
15 00 02 02 40
|
|
15 00 02 05 40
|
|
15 00 02 06 4A
|
|
15 00 02 07 24
|
|
15 00 02 08 0C
|
|
15 00 02 0B 7D
|
|
15 00 02 0C 7D
|
|
15 00 02 0E B0
|
|
15 00 02 0F AE
|
|
15 00 02 11 10
|
|
15 00 02 12 10
|
|
15 00 02 13 03
|
|
15 00 02 14 4A
|
|
15 00 02 15 12
|
|
15 00 02 16 12
|
|
15 00 02 18 00
|
|
15 00 02 19 77
|
|
15 00 02 1A 55
|
|
15 00 02 1B 13
|
|
15 00 02 1C 00
|
|
15 00 02 1D 00
|
|
15 00 02 1E 13
|
|
15 00 02 1F 00
|
|
15 00 02 23 00
|
|
15 00 02 24 00
|
|
15 00 02 25 00
|
|
15 00 02 26 00
|
|
15 00 02 27 00
|
|
15 00 02 28 00
|
|
15 00 02 35 00
|
|
15 00 02 66 00
|
|
15 00 02 58 82
|
|
15 00 02 59 02
|
|
15 00 02 5A 02
|
|
15 00 02 5B 02
|
|
15 00 02 5C 82
|
|
15 00 02 5D 82
|
|
15 00 02 5E 02
|
|
15 00 02 5F 02
|
|
15 00 02 72 31
|
|
15 00 02 FF 05
|
|
15 00 02 FB 01
|
|
15 00 02 00 01
|
|
15 00 02 01 0B
|
|
15 00 02 02 0C
|
|
15 00 02 03 09
|
|
15 00 02 04 0A
|
|
15 00 02 05 00
|
|
15 00 02 06 0F
|
|
15 00 02 07 10
|
|
15 00 02 08 00
|
|
15 00 02 09 00
|
|
15 00 02 0A 00
|
|
15 00 02 0B 00
|
|
15 00 02 0C 00
|
|
15 00 02 0D 13
|
|
15 00 02 0E 15
|
|
15 00 02 0F 17
|
|
15 00 02 10 01
|
|
15 00 02 11 0B
|
|
15 00 02 12 0C
|
|
15 00 02 13 09
|
|
15 00 02 14 0A
|
|
15 00 02 15 00
|
|
15 00 02 16 0F
|
|
15 00 02 17 10
|
|
15 00 02 18 00
|
|
15 00 02 19 00
|
|
15 00 02 1A 00
|
|
15 00 02 1B 00
|
|
15 00 02 1C 00
|
|
15 00 02 1D 13
|
|
15 00 02 1E 15
|
|
15 00 02 1F 17
|
|
15 00 02 20 00
|
|
15 00 02 21 03
|
|
15 00 02 22 01
|
|
15 00 02 23 40
|
|
15 00 02 24 40
|
|
15 00 02 25 ED
|
|
15 00 02 29 58
|
|
15 00 02 2A 12
|
|
15 00 02 2B 01
|
|
15 00 02 4B 06
|
|
15 00 02 4C 11
|
|
15 00 02 4D 20
|
|
15 00 02 4E 02
|
|
15 00 02 4F 02
|
|
15 00 02 50 20
|
|
15 00 02 51 61
|
|
15 00 02 52 01
|
|
15 00 02 53 63
|
|
15 00 02 54 77
|
|
15 00 02 55 ED
|
|
15 00 02 5B 00
|
|
15 00 02 5C 00
|
|
15 00 02 5D 00
|
|
15 00 02 5E 00
|
|
15 00 02 5F 15
|
|
15 00 02 60 75
|
|
15 00 02 61 00
|
|
15 00 02 62 00
|
|
15 00 02 63 00
|
|
15 00 02 64 00
|
|
15 00 02 65 00
|
|
15 00 02 66 00
|
|
15 00 02 67 00
|
|
15 00 02 68 04
|
|
15 00 02 69 00
|
|
15 00 02 6A 00
|
|
15 00 02 6C 40
|
|
15 00 02 68 04
|
|
15 00 02 69 00
|
|
15 00 02 6A 00
|
|
15 00 02 6C 40
|
|
15 00 02 75 01
|
|
15 00 02 76 01
|
|
15 00 02 7A 80
|
|
15 00 02 7B A3
|
|
15 00 02 7C D8
|
|
15 00 02 7D 60
|
|
15 00 02 7F 15
|
|
15 00 02 80 81
|
|
15 00 02 83 05
|
|
15 00 02 93 08
|
|
15 00 02 94 10
|
|
15 00 02 8A 00
|
|
15 00 02 9B 0F
|
|
15 00 02 FF 01
|
|
15 00 02 FB 01
|
|
15 00 02 FF 02
|
|
15 00 02 FB 01
|
|
15 00 02 FF 04
|
|
15 00 02 FB 01
|
|
15 00 02 FF 00
|
|
15 00 02 D3 06
|
|
15 00 02 D4 04
|
|
05 78 01 11
|
|
15 00 02 FF 00
|
|
15 00 02 35 00
|
|
05 00 01 29
|
|
15 78 02 FF 00
|
|
];
|
|
|
|
panel-exit-sequence = [
|
|
05 00 01 28
|
|
05 78 01 10
|
|
];
|
|
|
|
display-timings {
|
|
native-mode = <&timing0>;
|
|
compatible = "rockchip,display-timings";
|
|
timing0: timing0 {
|
|
clock-frequency = <130000000>;
|
|
hactive = <1080>;
|
|
vactive = <1920>;
|
|
|
|
hsync-len = <10>;
|
|
hback-porch = <8>;
|
|
hfront-porch = <40>;
|
|
|
|
vsync-len = <3>;
|
|
vback-porch = <2>;
|
|
vfront-porch = <4>;
|
|
|
|
hsync-active = <0>;
|
|
vsync-active = <0>;
|
|
de-active = <0>;
|
|
pixelclk-active = <0>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&dsi0_in_vopl {
|
|
status = "okay";
|
|
};
|
|
|
|
&dsi0_in_vopb {
|
|
status = "disabled";
|
|
};
|
|
|
|
&emmc {
|
|
bus-width = <8>;
|
|
cap-mmc-highspeed;
|
|
disable-wp;
|
|
non-removable;
|
|
num-slots = <1>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_pwr &emmc_bus8>;
|
|
max-frequency = <100000000>;
|
|
mmc-hs200-1_8v;
|
|
mmc-ddr-1_8v;
|
|
status = "okay";
|
|
};
|
|
|
|
&gmac {
|
|
phy-supply = <&vccio_pmu>;
|
|
phy-mode = "rgmii";
|
|
clock_in_out = "output";
|
|
assigned-clocks = <&cru SCLK_MAC>;
|
|
assigned-clock-parents = <&cru PLL_NPLL>;
|
|
assigned-clock-rates = <125000000>;
|
|
snps,reset-gpio = <&gpio4 7 0>;
|
|
snps,reset-active-low;
|
|
snps,reset-delays-us = <0 10000 50000>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&rgmii_pins>;
|
|
tx_delay = <0x30>;
|
|
rx_delay = <0x10>;
|
|
max-speed = <100>;
|
|
status = "okay";
|
|
};
|
|
|
|
&gpu {
|
|
status = "okay";
|
|
mali-supply = <&vdd_gpu>;
|
|
};
|
|
|
|
&hevc_service {
|
|
status = "okay";
|
|
};
|
|
|
|
&i2c0 {
|
|
status = "okay";
|
|
clock-frequency = <400000>;
|
|
|
|
vdd_cpu: syr827@40 {
|
|
compatible = "silergy,syr827";
|
|
fcs,suspend-voltage-selector = <1>;
|
|
reg = <0x40>;
|
|
regulator-name = "vdd_cpu";
|
|
regulator-min-microvolt = <850000>;
|
|
regulator-max-microvolt = <1350000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
regulator-enable-ramp-delay = <300>;
|
|
regulator-ramp-delay = <8000>;
|
|
vin-supply = <&vcc_sys>;
|
|
regulator-state-mem {
|
|
regulator-off-in-suspend;
|
|
};
|
|
};
|
|
|
|
vdd_gpu: syr828@41 {
|
|
compatible = "silergy,syr828";
|
|
fcs,suspend-voltage-selector = <1>;
|
|
reg = <0x41>;
|
|
regulator-name = "vdd_gpu";
|
|
regulator-min-microvolt = <850000>;
|
|
regulator-max-microvolt = <1350000>;
|
|
regulator-always-on;
|
|
regulator-ramp-delay = <6000>;
|
|
vin-supply = <&vcc_sys>;
|
|
regulator-state-mem {
|
|
regulator-off-in-suspend;
|
|
};
|
|
};
|
|
|
|
hym8563: hym8563@51 {
|
|
compatible = "haoyu,hym8563";
|
|
reg = <0x51>;
|
|
|
|
interrupt-parent = <&gpio0>;
|
|
interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
|
|
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pmic_int>;
|
|
|
|
#clock-cells = <0>;
|
|
clock-output-names = "xin32k";
|
|
};
|
|
|
|
act8846: act8846@5a {
|
|
compatible = "active-semi,act8846";
|
|
reg = <0x5a>;
|
|
system-power-controller;
|
|
status = "okay";
|
|
|
|
vp1-supply = <&vcc_sys>;
|
|
vp2-supply = <&vcc_sys>;
|
|
vp3-supply = <&vcc_sys>;
|
|
vp4-supply = <&vcc_sys>;
|
|
inl1-supply = <&vcc_io>;
|
|
inl2-supply = <&vcc_sys>;
|
|
inl3-supply = <&vcc_20>;
|
|
|
|
regulators {
|
|
vcc_ddr: REG1 {
|
|
regulator-name = "VCC_DDR";
|
|
regulator-min-microvolt = <1200000>;
|
|
regulator-max-microvolt = <1200000>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
vcc_io: REG2 {
|
|
regulator-name = "VCC_IO";
|
|
regulator-min-microvolt = <3300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
vdd_log: REG3 {
|
|
regulator-name = "VDD_LOG";
|
|
regulator-min-microvolt = <1150000>;
|
|
regulator-max-microvolt = <1150000>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
vcc_20: REG4 {
|
|
regulator-name = "VCC_20";
|
|
regulator-min-microvolt = <2000000>;
|
|
regulator-max-microvolt = <2000000>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
vccio_sd: REG5 {
|
|
regulator-name = "VCCIO_SD";
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
vdd10_lcd: REG6 {
|
|
regulator-name = "VDD10_LCD";
|
|
regulator-min-microvolt = <1000000>;
|
|
regulator-max-microvolt = <1000000>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
vcca_codec: REG7 {
|
|
regulator-name = "VCCA_CODEC";
|
|
regulator-min-microvolt = <3300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
vcca_tp: REG8 {
|
|
regulator-name = "VCCA_TP";
|
|
regulator-min-microvolt = <3300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
vccio_pmu: REG9 {
|
|
regulator-name = "VCCIO_PMU";
|
|
regulator-min-microvolt = <3300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
vdd_10: REG10 {
|
|
regulator-name = "VDD_10";
|
|
regulator-min-microvolt = <1000000>;
|
|
regulator-max-microvolt = <1000000>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
vcc_18: REG11 {
|
|
regulator-name = "VCC_18";
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
vcc18_lcd: REG12 {
|
|
regulator-name = "VCC18_LCD";
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
regulator-always-on;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&i2c4 {
|
|
status = "okay";
|
|
clock-frequency = <100000>;
|
|
|
|
vdd_core_rk1608: syr827_rk1608@40 {
|
|
compatible = "silergy,syr827";
|
|
fcs,suspend-voltage-selector = <1>;
|
|
reg = <0x40>;
|
|
regulator-name = "vdd_core_rk1608";
|
|
regulator-min-microvolt = <712500>;
|
|
regulator-max-microvolt = <1500000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
vin-supply = <&vcc_sys>;
|
|
regulator-state-mem {
|
|
regulator-off-in-suspend;
|
|
};
|
|
};
|
|
};
|
|
|
|
&io_domains {
|
|
status = "okay";
|
|
|
|
bb-supply = <&vcc_18>;
|
|
sdcard-supply = <&vccio_sd>;
|
|
wifi-supply = <&vcc_18>;
|
|
};
|
|
|
|
&isp {
|
|
status = "okay";
|
|
};
|
|
|
|
&isp_mmu {
|
|
status = "okay";
|
|
};
|
|
|
|
&pinctrl {
|
|
pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma {
|
|
drive-strength = <8>;
|
|
};
|
|
|
|
pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma {
|
|
bias-pull-up;
|
|
drive-strength = <8>;
|
|
};
|
|
|
|
backlight {
|
|
bl_en: bl-en {
|
|
rockchip,pins = <7 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
|
|
};
|
|
};
|
|
|
|
lcd {
|
|
lcd_en: lcd-en {
|
|
rockchip,pins = <7 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
|
|
};
|
|
};
|
|
|
|
pmic {
|
|
pmic_int: pmic-int {
|
|
rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up>;
|
|
};
|
|
};
|
|
|
|
sdio-pwrseq {
|
|
wifi_enable_h: wifi-enable-h {
|
|
rockchip,pins = <4 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>;
|
|
};
|
|
};
|
|
|
|
sdmmc {
|
|
/*
|
|
* Default drive strength isn't enough to achieve even
|
|
* high-speed mode on EVB board so bump up to 8ma.
|
|
*/
|
|
sdmmc_bus4: sdmmc-bus4 {
|
|
rockchip,pins = <6 RK_PC0 1 &pcfg_pull_up_drv_8ma>,
|
|
<6 RK_PC1 1 &pcfg_pull_up_drv_8ma>,
|
|
<6 RK_PC2 1 &pcfg_pull_up_drv_8ma>,
|
|
<6 RK_PC3 1 &pcfg_pull_up_drv_8ma>;
|
|
};
|
|
|
|
sdmmc_clk: sdmmc-clk {
|
|
rockchip,pins = <6 RK_PC4 1 &pcfg_pull_none_drv_8ma>;
|
|
};
|
|
|
|
sdmmc_cmd: sdmmc-cmd {
|
|
rockchip,pins = <6 RK_PC5 1 &pcfg_pull_up_drv_8ma>;
|
|
};
|
|
|
|
sdmmc_pwr: sdmmc-pwr {
|
|
rockchip,pins = <7 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
|
|
};
|
|
};
|
|
|
|
usb {
|
|
host_vbus_drv: host-vbus-drv {
|
|
rockchip,pins = <0 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>;
|
|
};
|
|
};
|
|
|
|
wireless-bluetooth {
|
|
uart0_gpios: uart0-gpios {
|
|
rockchip,pins = <4 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&pwm0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&rga {
|
|
status = "okay";
|
|
};
|
|
|
|
&route_dsi0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&saradc {
|
|
vref-supply = <&vcc_18>;
|
|
status = "okay";
|
|
};
|
|
|
|
&sdio0 {
|
|
status = "okay";
|
|
|
|
clock-frequency = <50000000>;
|
|
clock-freq-min-max = <200000 50000000>;
|
|
|
|
bus-width = <4>;
|
|
cap-sd-highspeed;
|
|
cap-sdio-irq;
|
|
disable-wp;
|
|
keep-power-in-suspend;
|
|
mmc-pwrseq = <&sdio_pwrseq>;
|
|
non-removable;
|
|
num-slots = <1>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk &sdio0_int>;
|
|
sd-uhs-sdr104;
|
|
no-sd;
|
|
no-mmc;
|
|
};
|
|
|
|
&sdmmc {
|
|
no-sdio;
|
|
no-mmc;
|
|
bus-width = <4>;
|
|
cap-mmc-highspeed;
|
|
sd-uhs-sdr12;
|
|
sd-uhs-sdr25;
|
|
sd-uhs-sdr50;
|
|
sd-uhs-sdr104;
|
|
cap-sd-highspeed;
|
|
card-detect-delay = <200>;
|
|
disable-wp; /* wp not hooked up */
|
|
num-slots = <1>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
|
|
status = "okay";
|
|
vmmc-supply = <&vcc_sd>;
|
|
vqmmc-supply = <&vccio_sd>;
|
|
no-sdio;
|
|
no-mmc;
|
|
};
|
|
|
|
&tsadc {
|
|
rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
|
|
status = "okay";
|
|
};
|
|
|
|
&uart0 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&uart0_xfer &uart0_cts>;
|
|
status = "okay";
|
|
};
|
|
|
|
&uart2 {
|
|
status = "okay";
|
|
};
|
|
|
|
&usbphy {
|
|
status = "okay";
|
|
};
|
|
|
|
&usb_host0_ehci {
|
|
rockchip-relinquish-port;
|
|
status = "okay";
|
|
};
|
|
|
|
&usb_host0_ohci {
|
|
status = "okay";
|
|
};
|
|
|
|
&usb_host1 {
|
|
status = "okay";
|
|
};
|
|
|
|
&usb_otg {
|
|
status = "okay";
|
|
};
|
|
|
|
&vopb {
|
|
status = "okay";
|
|
};
|
|
|
|
&vopb_mmu {
|
|
status = "okay";
|
|
};
|
|
|
|
&vopl {
|
|
status = "okay";
|
|
};
|
|
|
|
&vopl_mmu {
|
|
status = "okay";
|
|
};
|
|
|
|
&vpu_service {
|
|
status = "okay";
|
|
};
|
|
|
|
&wdt {
|
|
status = "okay";
|
|
};
|