2020-04-28 10:00:17 +00:00
|
|
|
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
2017-03-28 16:48:51 +00:00
|
|
|
/*
|
2020-04-28 10:00:17 +00:00
|
|
|
* Copyright (c) 2017 Theobroma Systems Design und Consulting GmbH
|
2017-03-28 16:48:51 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include <dt-bindings/pwm/pwm.h>
|
|
|
|
#include "rk3399.dtsi"
|
2020-04-28 10:00:17 +00:00
|
|
|
#include "rk3399-opp.dtsi"
|
2017-03-28 16:48:51 +00:00
|
|
|
|
|
|
|
/ {
|
2021-07-22 15:20:42 +00:00
|
|
|
aliases {
|
|
|
|
mmc0 = &sdhci;
|
|
|
|
};
|
|
|
|
|
2017-06-06 13:42:32 +00:00
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
pinctrl-names = "default";
|
2021-07-22 15:20:42 +00:00
|
|
|
pinctrl-0 = <&module_led_pin>;
|
2017-06-06 13:42:32 +00:00
|
|
|
|
2021-07-22 15:20:42 +00:00
|
|
|
module_led: led-0 {
|
2017-06-06 13:42:32 +00:00
|
|
|
label = "module_led";
|
2017-11-06 22:02:54 +00:00
|
|
|
gpios = <&gpio2 RK_PD1 GPIO_ACTIVE_HIGH>;
|
2017-06-06 13:42:32 +00:00
|
|
|
linux,default-trigger = "heartbeat";
|
2020-04-28 10:00:17 +00:00
|
|
|
panic-indicator;
|
2017-06-06 13:42:32 +00:00
|
|
|
};
|
2020-04-28 10:00:17 +00:00
|
|
|
};
|
2017-06-06 13:42:32 +00:00
|
|
|
|
|
|
|
clkin_gmac: external-gmac-clock {
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
clock-frequency = <125000000>;
|
|
|
|
clock-output-names = "clkin_gmac";
|
|
|
|
#clock-cells = <0>;
|
|
|
|
};
|
|
|
|
|
2020-04-28 10:00:17 +00:00
|
|
|
vcc1v2_phy: vcc1v2-phy {
|
2017-09-12 15:30:57 +00:00
|
|
|
compatible = "regulator-fixed";
|
2020-04-28 10:00:17 +00:00
|
|
|
regulator-name = "vcc1v2_phy";
|
2017-09-29 17:28:01 +00:00
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
2020-04-28 10:00:17 +00:00
|
|
|
regulator-min-microvolt = <1200000>;
|
|
|
|
regulator-max-microvolt = <1200000>;
|
|
|
|
vin-supply = <&vcc5v0_sys>;
|
2017-03-28 16:48:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
vcc3v3_sys: vcc3v3-sys {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "vcc3v3_sys";
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
2020-04-28 10:00:17 +00:00
|
|
|
vin-supply = <&vcc5v0_sys>;
|
2017-03-28 16:48:51 +00:00
|
|
|
};
|
|
|
|
|
2020-04-28 10:00:17 +00:00
|
|
|
vcc5v0_host: vcc5v0-host-regulator {
|
2017-03-28 16:48:51 +00:00
|
|
|
compatible = "regulator-fixed";
|
2020-06-05 10:06:37 +00:00
|
|
|
gpio = <&gpio4 RK_PA3 GPIO_ACTIVE_LOW>;
|
2020-04-28 10:00:17 +00:00
|
|
|
enable-active-low;
|
2017-06-06 13:42:32 +00:00
|
|
|
pinctrl-names = "default";
|
2020-04-28 10:00:17 +00:00
|
|
|
pinctrl-0 = <&vcc5v0_host_en>;
|
|
|
|
regulator-name = "vcc5v0_host";
|
2017-03-28 16:48:51 +00:00
|
|
|
regulator-always-on;
|
2020-04-28 10:00:17 +00:00
|
|
|
vin-supply = <&vcc5v0_sys>;
|
2017-03-28 16:48:51 +00:00
|
|
|
};
|
|
|
|
|
2017-06-06 13:42:32 +00:00
|
|
|
vcc5v0_sys: vcc5v0-sys {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "vcc5v0_sys";
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-min-microvolt = <5000000>;
|
|
|
|
regulator-max-microvolt = <5000000>;
|
2017-03-28 16:48:51 +00:00
|
|
|
};
|
2020-04-28 10:00:17 +00:00
|
|
|
};
|
2017-03-28 16:48:51 +00:00
|
|
|
|
2020-04-28 10:00:17 +00:00
|
|
|
&cpu_b0 {
|
|
|
|
cpu-supply = <&vdd_cpu_b>;
|
|
|
|
};
|
2017-06-06 13:42:32 +00:00
|
|
|
|
2020-04-28 10:00:17 +00:00
|
|
|
&cpu_b1 {
|
|
|
|
cpu-supply = <&vdd_cpu_b>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&cpu_l0 {
|
|
|
|
cpu-supply = <&vdd_cpu_l>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&cpu_l1 {
|
|
|
|
cpu-supply = <&vdd_cpu_l>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&cpu_l2 {
|
|
|
|
cpu-supply = <&vdd_cpu_l>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&cpu_l3 {
|
|
|
|
cpu-supply = <&vdd_cpu_l>;
|
2017-03-28 16:48:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&emmc_phy {
|
|
|
|
status = "okay";
|
2020-04-28 10:00:17 +00:00
|
|
|
drive-impedance-ohm = <33>;
|
2017-03-28 16:48:51 +00:00
|
|
|
};
|
|
|
|
|
2017-06-06 13:42:32 +00:00
|
|
|
&gmac {
|
|
|
|
assigned-clocks = <&cru SCLK_RMII_SRC>;
|
|
|
|
assigned-clock-parents = <&clkin_gmac>;
|
2020-04-28 10:00:17 +00:00
|
|
|
clock_in_out = "input";
|
|
|
|
phy-supply = <&vcc1v2_phy>;
|
|
|
|
phy-mode = "rgmii";
|
2017-06-06 13:42:32 +00:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&rgmii_pins>;
|
2020-06-05 10:06:36 +00:00
|
|
|
snps,reset-gpio = <&gpio3 RK_PC0 GPIO_ACTIVE_LOW>;
|
2020-04-28 10:00:17 +00:00
|
|
|
snps,reset-active-low;
|
|
|
|
snps,reset-delays-us = <0 10000 50000>;
|
2017-06-06 13:42:32 +00:00
|
|
|
tx_delay = <0x10>;
|
|
|
|
rx_delay = <0x10>;
|
2017-03-28 16:48:51 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2020-04-28 10:00:17 +00:00
|
|
|
&gpu {
|
|
|
|
mali-supply = <&vdd_gpu>;
|
2017-03-28 16:48:51 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2017-06-06 13:42:32 +00:00
|
|
|
&i2c0 {
|
2017-03-28 16:48:51 +00:00
|
|
|
status = "okay";
|
2017-06-06 13:42:32 +00:00
|
|
|
i2c-scl-rising-time-ns = <168>;
|
|
|
|
i2c-scl-falling-time-ns = <4>;
|
|
|
|
clock-frequency = <400000>;
|
|
|
|
|
|
|
|
rk808: pmic@1b {
|
|
|
|
compatible = "rockchip,rk808";
|
|
|
|
reg = <0x1b>;
|
|
|
|
interrupt-parent = <&gpio1>;
|
2020-04-28 10:00:17 +00:00
|
|
|
interrupts = <22 IRQ_TYPE_LEVEL_LOW>;
|
|
|
|
#clock-cells = <1>;
|
|
|
|
clock-output-names = "xin32k", "rk808-clkout2";
|
2017-06-06 13:42:32 +00:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pmic_int_l>;
|
|
|
|
rockchip,system-power-controller;
|
|
|
|
wakeup-source;
|
|
|
|
|
|
|
|
vcc1-supply = <&vcc5v0_sys>;
|
|
|
|
vcc2-supply = <&vcc5v0_sys>;
|
|
|
|
vcc3-supply = <&vcc5v0_sys>;
|
|
|
|
vcc4-supply = <&vcc5v0_sys>;
|
|
|
|
vcc6-supply = <&vcc5v0_sys>;
|
|
|
|
vcc7-supply = <&vcc5v0_sys>;
|
|
|
|
vcc8-supply = <&vcc3v3_sys>;
|
|
|
|
vcc9-supply = <&vcc5v0_sys>;
|
|
|
|
vcc10-supply = <&vcc5v0_sys>;
|
|
|
|
vcc11-supply = <&vcc5v0_sys>;
|
|
|
|
vcc12-supply = <&vcc3v3_sys>;
|
|
|
|
vddio-supply = <&vcc1v8_pmu>;
|
|
|
|
|
|
|
|
regulators {
|
|
|
|
vdd_center: DCDC_REG1 {
|
2020-04-28 10:00:17 +00:00
|
|
|
regulator-name = "vdd_center";
|
2017-06-06 13:42:32 +00:00
|
|
|
regulator-min-microvolt = <750000>;
|
|
|
|
regulator-max-microvolt = <1350000>;
|
|
|
|
regulator-ramp-delay = <6001>;
|
2020-04-28 10:00:17 +00:00
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
2017-06-06 13:42:32 +00:00
|
|
|
regulator-state-mem {
|
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
vdd_cpu_l: DCDC_REG2 {
|
2020-04-28 10:00:17 +00:00
|
|
|
regulator-name = "vdd_cpu_l";
|
2017-06-06 13:42:32 +00:00
|
|
|
regulator-min-microvolt = <750000>;
|
|
|
|
regulator-max-microvolt = <1350000>;
|
|
|
|
regulator-ramp-delay = <6001>;
|
2020-04-28 10:00:17 +00:00
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
2017-06-06 13:42:32 +00:00
|
|
|
regulator-state-mem {
|
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
vcc_ddr: DCDC_REG3 {
|
2020-04-28 10:00:17 +00:00
|
|
|
regulator-name = "vcc_ddr";
|
2017-06-06 13:42:32 +00:00
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-state-mem {
|
|
|
|
regulator-on-in-suspend;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
vcc_1v8: DCDC_REG4 {
|
2020-04-28 10:00:17 +00:00
|
|
|
regulator-name = "vcc_1v8";
|
2017-06-06 13:42:32 +00:00
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
2020-04-28 10:00:17 +00:00
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
2017-06-06 13:42:32 +00:00
|
|
|
regulator-state-mem {
|
|
|
|
regulator-on-in-suspend;
|
|
|
|
regulator-suspend-microvolt = <1800000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
vcc_ldo1: LDO_REG1 {
|
2020-04-28 10:00:17 +00:00
|
|
|
regulator-name = "vcc_ldo1";
|
2017-06-06 13:42:32 +00:00
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
2020-04-28 10:00:17 +00:00
|
|
|
regulator-boot-on;
|
2017-06-06 13:42:32 +00:00
|
|
|
regulator-state-mem {
|
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
vcc1v8_hdmi: LDO_REG2 {
|
2020-04-28 10:00:17 +00:00
|
|
|
regulator-name = "vcc1v8_hdmi";
|
2017-06-06 13:42:32 +00:00
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
2020-04-28 10:00:17 +00:00
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
2017-06-06 13:42:32 +00:00
|
|
|
regulator-state-mem {
|
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
vcc1v8_pmu: LDO_REG3 {
|
2020-04-28 10:00:17 +00:00
|
|
|
regulator-name = "vcc1v8_pmu";
|
2017-06-06 13:42:32 +00:00
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
2020-04-28 10:00:17 +00:00
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
2017-06-06 13:42:32 +00:00
|
|
|
regulator-state-mem {
|
|
|
|
regulator-on-in-suspend;
|
|
|
|
regulator-suspend-microvolt = <1800000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
vcc_sd: LDO_REG4 {
|
2020-04-28 10:00:17 +00:00
|
|
|
regulator-name = "vcc_sd";
|
2017-06-06 13:42:32 +00:00
|
|
|
regulator-min-microvolt = <1800000>;
|
2017-11-06 22:02:55 +00:00
|
|
|
regulator-max-microvolt = <3000000>;
|
2020-04-28 10:00:17 +00:00
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
2017-06-06 13:42:32 +00:00
|
|
|
regulator-state-mem {
|
|
|
|
regulator-on-in-suspend;
|
2017-11-06 22:02:55 +00:00
|
|
|
regulator-suspend-microvolt = <3000000>;
|
2017-06-06 13:42:32 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
vcc_ldo5: LDO_REG5 {
|
2020-04-28 10:00:17 +00:00
|
|
|
regulator-name = "vcc_ldo5";
|
2017-06-06 13:42:32 +00:00
|
|
|
regulator-min-microvolt = <3000000>;
|
|
|
|
regulator-max-microvolt = <3000000>;
|
2020-04-28 10:00:17 +00:00
|
|
|
regulator-boot-on;
|
2017-06-06 13:42:32 +00:00
|
|
|
regulator-state-mem {
|
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
vcc_ldo6: LDO_REG6 {
|
2020-04-28 10:00:17 +00:00
|
|
|
regulator-name = "vcc_ldo6";
|
2017-06-06 13:42:32 +00:00
|
|
|
regulator-min-microvolt = <1500000>;
|
|
|
|
regulator-max-microvolt = <1500000>;
|
2020-04-28 10:00:17 +00:00
|
|
|
regulator-boot-on;
|
2017-06-06 13:42:32 +00:00
|
|
|
regulator-state-mem {
|
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
vcc0v9_hdmi: LDO_REG7 {
|
2020-04-28 10:00:17 +00:00
|
|
|
regulator-name = "vcc0v9_hdmi";
|
2017-06-06 13:42:32 +00:00
|
|
|
regulator-min-microvolt = <900000>;
|
|
|
|
regulator-max-microvolt = <900000>;
|
2020-04-28 10:00:17 +00:00
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
2017-06-06 13:42:32 +00:00
|
|
|
regulator-state-mem {
|
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
vcc_efuse: LDO_REG8 {
|
2020-04-28 10:00:17 +00:00
|
|
|
regulator-name = "vcc_efuse";
|
2017-06-06 13:42:32 +00:00
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
2020-04-28 10:00:17 +00:00
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
2017-06-06 13:42:32 +00:00
|
|
|
regulator-state-mem {
|
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
vcc3v3_s3: SWITCH_REG1 {
|
2020-04-28 10:00:17 +00:00
|
|
|
regulator-name = "vcc3v3_s3";
|
2017-06-06 13:42:32 +00:00
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-state-mem {
|
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
vcc3v3_s0: SWITCH_REG2 {
|
2020-04-28 10:00:17 +00:00
|
|
|
regulator-name = "vcc3v3_s0";
|
2017-06-06 13:42:32 +00:00
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-state-mem {
|
|
|
|
regulator-off-in-suspend;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2020-04-28 10:00:17 +00:00
|
|
|
|
|
|
|
vdd_gpu: regulator@60 {
|
|
|
|
compatible = "fcs,fan53555";
|
|
|
|
reg = <0x60>;
|
|
|
|
fcs,suspend-voltage-selector = <1>;
|
|
|
|
regulator-name = "vdd_gpu";
|
|
|
|
regulator-min-microvolt = <600000>;
|
|
|
|
regulator-max-microvolt = <1230000>;
|
|
|
|
regulator-ramp-delay = <1000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
vin-supply = <&vcc5v0_sys>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c7 {
|
|
|
|
status = "okay";
|
|
|
|
clock-frequency = <400000>;
|
|
|
|
|
|
|
|
fan: fan@18 {
|
|
|
|
compatible = "ti,amc6821";
|
|
|
|
reg = <0x18>;
|
|
|
|
#cooling-cells = <2>;
|
|
|
|
};
|
|
|
|
|
|
|
|
rtc_twi: rtc@6f {
|
|
|
|
compatible = "isil,isl1208";
|
|
|
|
reg = <0x6f>;
|
|
|
|
};
|
2017-03-28 16:48:51 +00:00
|
|
|
};
|
|
|
|
|
2017-06-06 13:42:32 +00:00
|
|
|
&i2c8 {
|
|
|
|
status = "okay";
|
|
|
|
clock-frequency = <400000>;
|
|
|
|
|
2020-04-28 10:00:17 +00:00
|
|
|
vdd_cpu_b: regulator@60 {
|
2017-06-06 13:42:32 +00:00
|
|
|
compatible = "fcs,fan53555";
|
|
|
|
reg = <0x60>;
|
|
|
|
vin-supply = <&vcc5v0_sys>;
|
|
|
|
regulator-name = "vdd_cpu_b";
|
|
|
|
regulator-min-microvolt = <600000>;
|
|
|
|
regulator-max-microvolt = <1230000>;
|
|
|
|
regulator-ramp-delay = <1000>;
|
|
|
|
fcs,suspend-voltage-selector = <1>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2s0 {
|
2020-04-28 10:00:17 +00:00
|
|
|
pinctrl-0 = <&i2s0_2ch_bus>;
|
|
|
|
rockchip,playback-channels = <2>;
|
|
|
|
rockchip,capture-channels = <2>;
|
2017-06-06 13:42:32 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2020-04-28 10:00:17 +00:00
|
|
|
/*
|
|
|
|
* As Q7 does not specify neither a global nor a RX clock for I2S these
|
|
|
|
* signals are not used. Furthermore I2S0_LRCK_RX is used as GPIO.
|
|
|
|
* Therefore we have to redefine the i2s0_2ch_bus definition to prevent
|
|
|
|
* conflicts.
|
|
|
|
*/
|
|
|
|
&i2s0_2ch_bus {
|
|
|
|
rockchip,pins =
|
|
|
|
<3 RK_PD0 1 &pcfg_pull_none>,
|
|
|
|
<3 RK_PD2 1 &pcfg_pull_none>,
|
|
|
|
<3 RK_PD3 1 &pcfg_pull_none>,
|
|
|
|
<3 RK_PD7 1 &pcfg_pull_none>;
|
2017-06-06 13:42:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&io_domains {
|
|
|
|
status = "okay";
|
2020-04-28 10:00:17 +00:00
|
|
|
bt656-supply = <&vcc_1v8>;
|
|
|
|
audio-supply = <&vcc_1v8>;
|
|
|
|
sdmmc-supply = <&vcc_sd>;
|
|
|
|
gpio1830-supply = <&vcc_1v8>;
|
2017-06-06 13:42:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&pmu_io_domains {
|
|
|
|
status = "okay";
|
|
|
|
pmu1830-supply = <&vcc_1v8>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&pwm2 {
|
2017-03-28 16:48:51 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&pinctrl {
|
2020-04-28 10:00:17 +00:00
|
|
|
i2c8 {
|
|
|
|
i2c8_xfer_a: i2c8-xfer {
|
2017-06-06 13:42:32 +00:00
|
|
|
rockchip,pins =
|
2020-04-28 10:00:17 +00:00
|
|
|
<1 RK_PC4 1 &pcfg_pull_up>,
|
|
|
|
<1 RK_PC5 1 &pcfg_pull_up>;
|
2017-06-06 13:42:32 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2020-04-28 10:00:17 +00:00
|
|
|
leds {
|
2021-07-22 15:20:42 +00:00
|
|
|
module_led_pin: module-led-pin {
|
2017-03-28 16:48:51 +00:00
|
|
|
rockchip,pins =
|
2020-04-28 10:00:17 +00:00
|
|
|
<2 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>;
|
2017-03-28 16:48:51 +00:00
|
|
|
};
|
2017-06-06 13:42:32 +00:00
|
|
|
};
|
|
|
|
|
2020-04-28 10:00:17 +00:00
|
|
|
pmic {
|
|
|
|
pmic_int_l: pmic-int-l {
|
2017-06-06 13:42:32 +00:00
|
|
|
rockchip,pins =
|
2020-04-28 10:00:17 +00:00
|
|
|
<1 RK_PC6 RK_FUNC_GPIO &pcfg_pull_up>;
|
2017-06-06 13:42:32 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2020-04-28 10:00:17 +00:00
|
|
|
usb2 {
|
|
|
|
vcc5v0_host_en: vcc5v0-host-en {
|
2017-11-06 22:02:54 +00:00
|
|
|
rockchip,pins =
|
2020-04-28 10:00:17 +00:00
|
|
|
<4 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
|
2017-03-28 16:48:51 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2020-04-28 10:00:17 +00:00
|
|
|
&sdhci {
|
|
|
|
bus-width = <8>;
|
|
|
|
mmc-hs400-1_8v;
|
|
|
|
mmc-hs400-enhanced-strobe;
|
|
|
|
non-removable;
|
2017-06-06 13:42:32 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
2020-04-28 10:00:17 +00:00
|
|
|
|
|
|
|
&sdmmc {
|
|
|
|
vqmmc-supply = <&vcc_sd>;
|
2017-06-06 13:42:32 +00:00
|
|
|
};
|
2020-04-28 10:00:17 +00:00
|
|
|
|
|
|
|
&spi1 {
|
2017-06-06 13:42:32 +00:00
|
|
|
status = "okay";
|
2020-04-28 10:00:17 +00:00
|
|
|
|
|
|
|
norflash: flash@0 {
|
|
|
|
compatible = "jedec,spi-nor";
|
|
|
|
reg = <0>;
|
|
|
|
spi-max-frequency = <50000000>;
|
|
|
|
};
|
2017-06-06 13:42:32 +00:00
|
|
|
};
|
2020-04-28 10:00:17 +00:00
|
|
|
|
|
|
|
&tcphy1 {
|
2017-06-06 13:42:32 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2020-04-28 10:00:17 +00:00
|
|
|
&tsadc {
|
|
|
|
rockchip,hw-tshut-mode = <1>;
|
|
|
|
rockchip,hw-tshut-polarity = <1>;
|
|
|
|
status = "okay";
|
2017-06-06 13:42:32 +00:00
|
|
|
};
|
|
|
|
|
2020-04-28 10:00:17 +00:00
|
|
|
&u2phy1 {
|
2017-06-06 13:42:32 +00:00
|
|
|
status = "okay";
|
|
|
|
|
2020-04-28 10:00:17 +00:00
|
|
|
u2phy1_otg: otg-port {
|
|
|
|
status = "okay";
|
2017-06-06 13:42:32 +00:00
|
|
|
};
|
2020-04-28 10:00:17 +00:00
|
|
|
|
|
|
|
u2phy1_host: host-port {
|
|
|
|
phy-supply = <&vcc5v0_host>;
|
|
|
|
status = "okay";
|
2017-06-06 13:42:32 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2020-04-28 10:00:17 +00:00
|
|
|
&usbdrd3_1 {
|
2017-03-28 16:48:51 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2020-04-28 10:00:17 +00:00
|
|
|
&usbdrd_dwc3_1 {
|
2017-03-28 16:48:51 +00:00
|
|
|
status = "okay";
|
2020-04-28 10:00:17 +00:00
|
|
|
dr_mode = "host";
|
|
|
|
};
|
2017-03-28 16:48:51 +00:00
|
|
|
|
2020-04-28 10:00:17 +00:00
|
|
|
&usb_host1_ehci {
|
|
|
|
status = "okay";
|
2017-03-28 16:48:51 +00:00
|
|
|
};
|
|
|
|
|
2020-04-28 10:00:17 +00:00
|
|
|
&usb_host1_ohci {
|
2017-03-28 16:48:51 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|