mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
parent
ecaf84009c
commit
3f4efb6c4f
@ -76,6 +76,13 @@ define U-Boot/dlfr100-rk3399
|
|||||||
dilusense_dlfr100
|
dilusense_dlfr100
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define U-Boot/fine3399-rk3399
|
||||||
|
$(U-Boot/rk3399/Default)
|
||||||
|
NAME:=Fine 3399
|
||||||
|
BUILD_DEVICES:= \
|
||||||
|
rumu3f_fine-3399
|
||||||
|
endef
|
||||||
|
|
||||||
define U-Boot/h3399pc-rk3399
|
define U-Boot/h3399pc-rk3399
|
||||||
$(U-Boot/rk3399/Default)
|
$(U-Boot/rk3399/Default)
|
||||||
NAME:=SHAREVDI H3399PC
|
NAME:=SHAREVDI H3399PC
|
||||||
@ -145,16 +152,6 @@ define U-Boot/xiaobao-nas-v1-rk3399
|
|||||||
codinge_xiaobao-nas-v1
|
codinge_xiaobao-nas-v1
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define U-Boot/fine-3399-rk3399
|
|
||||||
$(U-Boot/rk3399/Default)
|
|
||||||
NAME:=Fine 3399
|
|
||||||
BUILD_DEVICES:= \
|
|
||||||
rumu3f_fine-3399
|
|
||||||
DEPENDS:=+PACKAGE_u-boot-$(1):rkbin-rk3399
|
|
||||||
ATF:=rk3399_bl31_v1.36.elf
|
|
||||||
USE_RKBIN:=1
|
|
||||||
endef
|
|
||||||
|
|
||||||
define U-Boot/guangmiao-g4c-rk3399
|
define U-Boot/guangmiao-g4c-rk3399
|
||||||
$(U-Boot/rk3399/Default)
|
$(U-Boot/rk3399/Default)
|
||||||
NAME:=GuangMiao G4C
|
NAME:=GuangMiao G4C
|
||||||
@ -273,9 +270,9 @@ endef
|
|||||||
|
|
||||||
define U-Boot/seewo-sv21-rk3568
|
define U-Boot/seewo-sv21-rk3568
|
||||||
$(U-Boot/rk3568/Default)
|
$(U-Boot/rk3568/Default)
|
||||||
NAME:=Seewo sv21-rk3568
|
NAME:=seewo SV21
|
||||||
BUILD_DEVICES:= \
|
BUILD_DEVICES:= \
|
||||||
seewo_sv21-rk3568
|
seewo_sv21
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define U-Boot/sige3-rk3568
|
define U-Boot/sige3-rk3568
|
||||||
@ -324,7 +321,7 @@ UBOOT_TARGETS := \
|
|||||||
sige3-rk3568 \
|
sige3-rk3568 \
|
||||||
station-p2-rk3568 \
|
station-p2-rk3568 \
|
||||||
dlfr100-rk3399 \
|
dlfr100-rk3399 \
|
||||||
fine-3399-rk3399 \
|
fine3399-rk3399 \
|
||||||
h3399pc-rk3399 \
|
h3399pc-rk3399 \
|
||||||
king3399-rk3399 \
|
king3399-rk3399 \
|
||||||
mpc1903-rk3399 \
|
mpc1903-rk3399 \
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
+ status = "okay";
|
+ status = "okay";
|
||||||
+};
|
+};
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/configs/advantech-rsb4810-rk3568_defconfig
|
+++ b/configs/rsb4810-rk3568_defconfig
|
||||||
@@ -0,0 +1,83 @@
|
@@ -0,0 +1,83 @@
|
||||||
+CONFIG_ARM=y
|
+CONFIG_ARM=y
|
||||||
+CONFIG_SKIP_LOWLEVEL_INIT=y
|
+CONFIG_SKIP_LOWLEVEL_INIT=y
|
||||||
|
@ -8,4 +8,895 @@
|
|||||||
+ rk3399-fine-3399.dtb \
|
+ rk3399-fine-3399.dtb \
|
||||||
rk3399-orangepi.dtb \
|
rk3399-orangepi.dtb \
|
||||||
rk3399-pinebook-pro.dtb \
|
rk3399-pinebook-pro.dtb \
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/arch/arm/dts/rk3399-fine-3399.dts
|
||||||
|
@@ -0,0 +1,789 @@
|
||||||
|
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||||||
|
+
|
||||||
|
+/dts-v1/;
|
||||||
|
+
|
||||||
|
+#include <dt-bindings/input/input.h>
|
||||||
|
+#include <dt-bindings/pwm/pwm.h>
|
||||||
|
+#include "rk3399.dtsi"
|
||||||
|
+#include "rk3399-op1-opp.dtsi"
|
||||||
|
+
|
||||||
|
+/ {
|
||||||
|
+ model = "RUMU3F Fine3399";
|
||||||
|
+ compatible = "rockchip,rk3399";
|
||||||
|
+
|
||||||
|
+ aliases {
|
||||||
|
+ ethernet0 = &gmac;
|
||||||
|
+ mmc0 = &sdio0;
|
||||||
|
+ mmc1 = &sdmmc;
|
||||||
|
+ mmc2 = &sdhci;
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ chosen {
|
||||||
|
+ stdout-path = "serial2:1500000n8";
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ clkin_gmac: external-gmac-clock {
|
||||||
|
+ compatible = "fixed-clock";
|
||||||
|
+ clock-frequency = <125000000>;
|
||||||
|
+ clock-output-names = "clkin_gmac";
|
||||||
|
+ #clock-cells = <0>;
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ dc_12v: dc-12v {
|
||||||
|
+ compatible = "regulator-fixed";
|
||||||
|
+ regulator-name = "dc_12v";
|
||||||
|
+ regulator-always-on;
|
||||||
|
+ regulator-boot-on;
|
||||||
|
+ regulator-min-microvolt = <12000000>;
|
||||||
|
+ regulator-max-microvolt = <12000000>;
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ sdio_pwrseq: sdio-pwrseq {
|
||||||
|
+ compatible = "mmc-pwrseq-simple";
|
||||||
|
+ clocks = <&rk808 1>;
|
||||||
|
+ clock-names = "ext_clock";
|
||||||
|
+ pinctrl-names = "default";
|
||||||
|
+ pinctrl-0 = <&wifi_reg_on_h>;
|
||||||
|
+ reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>;
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ /* switched by pmic_sleep */
|
||||||
|
+ vcc1v8_s3: vcca1v8_s3: vcc1v8-s3 {
|
||||||
|
+ compatible = "regulator-fixed";
|
||||||
|
+ regulator-name = "vcc1v8_s3";
|
||||||
|
+ regulator-always-on;
|
||||||
|
+ regulator-boot-on;
|
||||||
|
+ regulator-min-microvolt = <1800000>;
|
||||||
|
+ regulator-max-microvolt = <1800000>;
|
||||||
|
+ vin-supply = <&vcc_1v8>;
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ 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>;
|
||||||
|
+ vin-supply = <&dc_12v>;
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ vcc_sys: vcc-sys {
|
||||||
|
+ compatible = "regulator-fixed";
|
||||||
|
+ regulator-name = "vcc_sys";
|
||||||
|
+ regulator-always-on;
|
||||||
|
+ regulator-boot-on;
|
||||||
|
+ regulator-min-microvolt = <5000000>;
|
||||||
|
+ regulator-max-microvolt = <5000000>;
|
||||||
|
+ vin-supply = <&dc_12v>;
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ vcc_phy: vcc-phy-regulator {
|
||||||
|
+ compatible = "regulator-fixed";
|
||||||
|
+ enable-active-high;
|
||||||
|
+ gpio = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>;
|
||||||
|
+ pinctrl-names = "default";
|
||||||
|
+ pinctrl-0 = <&vcc_phy_h>;
|
||||||
|
+ regulator-name = "vcc_phy";
|
||||||
|
+ regulator-always-on;
|
||||||
|
+ regulator-boot-on;
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ vdd_log: vdd-log {
|
||||||
|
+ compatible = "pwm-regulator";
|
||||||
|
+ pwms = <&pwm2 0 25000 1>;
|
||||||
|
+ regulator-name = "vdd_log";
|
||||||
|
+ regulator-always-on;
|
||||||
|
+ regulator-boot-on;
|
||||||
|
+ regulator-min-microvolt = <800000>;
|
||||||
|
+ regulator-max-microvolt = <1400000>;
|
||||||
|
+ vin-supply = <&vcc_sys>;
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ leds: gpio-leds {
|
||||||
|
+ compatible = "gpio-leds";
|
||||||
|
+ pinctrl-names = "default";
|
||||||
|
+ pinctrl-0 = <&user_led2>;
|
||||||
|
+
|
||||||
|
+ user_led2 {
|
||||||
|
+ label = "blue:work_led";
|
||||||
|
+ gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_LOW>;
|
||||||
|
+ linux,default-trigger = "heartbeat";
|
||||||
|
+ };
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ gpio-keys {
|
||||||
|
+ compatible = "gpio-keys";
|
||||||
|
+ autorepeat;
|
||||||
|
+ pinctrl-names = "default";
|
||||||
|
+ pinctrl-0 = <&power_key>;
|
||||||
|
+
|
||||||
|
+ key-power {
|
||||||
|
+ debounce-interval = <100>;
|
||||||
|
+ gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_LOW>;
|
||||||
|
+ label = "GPIO Key Power";
|
||||||
|
+ linux,code = <KEY_POWER>;
|
||||||
|
+ wakeup-source;
|
||||||
|
+ };
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ fan0: pwm-fan {
|
||||||
|
+ compatible = "pwm-fan";
|
||||||
|
+ cooling-levels = <0 25 50 75 100 150>;
|
||||||
|
+ #cooling-cells = <2>;
|
||||||
|
+ fan-supply = <&vcc_sys>;
|
||||||
|
+ pwms = <&pwm1 0 40000 0>;
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ backlight: backlight {
|
||||||
|
+ compatible = "pwm-backlight";
|
||||||
|
+ brightness-levels = <0 36 72 108 144 180 216 255>;
|
||||||
|
+ default-brightness-level = <5>;
|
||||||
|
+ pwms = <&pwm0 0 1000000 0>;
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ ir-receiver {
|
||||||
|
+ compatible = "gpio-ir-receiver";
|
||||||
|
+ gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_LOW>;
|
||||||
|
+ pinctrl-names = "default";
|
||||||
|
+ pinctrl-0 = <&ir_int>;
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ adc-keys {
|
||||||
|
+ compatible = "adc-keys";
|
||||||
|
+ io-channels = <&saradc 1>;
|
||||||
|
+ io-channel-names = "buttons";
|
||||||
|
+ keyup-threshold-microvolt = <1750000>;
|
||||||
|
+ poll-interval = <100>;
|
||||||
|
+
|
||||||
|
+ recovery {
|
||||||
|
+ label = "Recovery";
|
||||||
|
+ linux,code = <KEY_VENDOR>;
|
||||||
|
+ press-threshold-microvolt = <0>;
|
||||||
|
+ };
|
||||||
|
+ };
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&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>;
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&cpu_b0 {
|
||||||
|
+ cpu-supply = <&vdd_cpu_b>;
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&cpu_b1 {
|
||||||
|
+ cpu-supply = <&vdd_cpu_b>;
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&gpu {
|
||||||
|
+ mali-supply = <&vdd_gpu>;
|
||||||
|
+ status = "okay";
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&cpu_thermal {
|
||||||
|
+ trips {
|
||||||
|
+ cpu_hot: cpu_hot {
|
||||||
|
+ hysteresis = <10000>;
|
||||||
|
+ temperature = <55000>;
|
||||||
|
+ type = "active";
|
||||||
|
+ };
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ cooling-maps {
|
||||||
|
+ map2 {
|
||||||
|
+ cooling-device =
|
||||||
|
+ <&fan0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
|
||||||
|
+ trip = <&cpu_hot>;
|
||||||
|
+ };
|
||||||
|
+ };
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&emmc_phy {
|
||||||
|
+ status = "okay";
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&gmac {
|
||||||
|
+ assigned-clocks = <&cru SCLK_RMII_SRC>;
|
||||||
|
+ assigned-clock-parents = <&clkin_gmac>;
|
||||||
|
+ clock_in_out = "input";
|
||||||
|
+ phy-supply = <&vcc_phy>;
|
||||||
|
+ phy-mode = "rgmii";
|
||||||
|
+ pinctrl-names = "default";
|
||||||
|
+ pinctrl-0 = <&rgmii_pins>;
|
||||||
|
+ snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
|
||||||
|
+ snps,reset-active-low;
|
||||||
|
+ snps,reset-delays-us = <0 10000 50000>;
|
||||||
|
+ tx_delay = <0x28>;
|
||||||
|
+ rx_delay = <0x11>;
|
||||||
|
+ status = "okay";
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&hdmi {
|
||||||
|
+ ddc-i2c-bus = <&i2c3>;
|
||||||
|
+ pinctrl-names = "default";
|
||||||
|
+ pinctrl-0 = <&hdmi_cec>;
|
||||||
|
+ status = "okay";
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&hdmi_sound {
|
||||||
|
+ status = "okay";
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&i2c0 {
|
||||||
|
+ clock-frequency = <400000>;
|
||||||
|
+ i2c-scl-rising-time-ns = <168>;
|
||||||
|
+ i2c-scl-falling-time-ns = <4>;
|
||||||
|
+ status = "okay";
|
||||||
|
+
|
||||||
|
+ rk808: pmic@1b {
|
||||||
|
+ compatible = "rockchip,rk808";
|
||||||
|
+ reg = <0x1b>;
|
||||||
|
+ interrupt-parent = <&gpio1>;
|
||||||
|
+ interrupts = <RK_PC5 IRQ_TYPE_LEVEL_LOW>;
|
||||||
|
+ #clock-cells = <1>;
|
||||||
|
+ clock-output-names = "xin32k", "rk808-clkout2";
|
||||||
|
+ pinctrl-names = "default";
|
||||||
|
+ pinctrl-0 = <&pmic_int_l &pmic_dvs2>;
|
||||||
|
+ rockchip,system-power-controller;
|
||||||
|
+ wakeup-source;
|
||||||
|
+
|
||||||
|
+ vcc1-supply = <&vcc3v3_sys>;
|
||||||
|
+ vcc2-supply = <&vcc3v3_sys>;
|
||||||
|
+ vcc3-supply = <&vcc3v3_sys>;
|
||||||
|
+ vcc4-supply = <&vcc3v3_sys>;
|
||||||
|
+ vcc6-supply = <&vcc3v3_sys>;
|
||||||
|
+ vcc7-supply = <&vcc3v3_sys>;
|
||||||
|
+ vcc8-supply = <&vcc3v3_sys>;
|
||||||
|
+ vcc9-supply = <&vcc3v3_sys>;
|
||||||
|
+ vcc10-supply = <&vcc3v3_sys>;
|
||||||
|
+ vcc11-supply = <&vcc3v3_sys>;
|
||||||
|
+ vcc12-supply = <&vcc3v3_sys>;
|
||||||
|
+ vddio-supply = <&vcc1v8_pmu>;
|
||||||
|
+
|
||||||
|
+ regulators {
|
||||||
|
+ vdd_center: DCDC_REG1 {
|
||||||
|
+ regulator-name = "vdd_center";
|
||||||
|
+ regulator-always-on;
|
||||||
|
+ regulator-boot-on;
|
||||||
|
+ regulator-min-microvolt = <750000>;
|
||||||
|
+ regulator-max-microvolt = <1350000>;
|
||||||
|
+ regulator-ramp-delay = <6001>;
|
||||||
|
+ regulator-state-mem {
|
||||||
|
+ regulator-off-in-suspend;
|
||||||
|
+ };
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ vdd_cpu_l: DCDC_REG2 {
|
||||||
|
+ regulator-name = "vdd_cpu_l";
|
||||||
|
+ regulator-always-on;
|
||||||
|
+ regulator-boot-on;
|
||||||
|
+ regulator-min-microvolt = <750000>;
|
||||||
|
+ regulator-max-microvolt = <1350000>;
|
||||||
|
+ regulator-ramp-delay = <6001>;
|
||||||
|
+ regulator-state-mem {
|
||||||
|
+ regulator-off-in-suspend;
|
||||||
|
+ };
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ vcc_ddr: DCDC_REG3 {
|
||||||
|
+ regulator-name = "vcc_ddr";
|
||||||
|
+ regulator-always-on;
|
||||||
|
+ regulator-boot-on;
|
||||||
|
+ regulator-state-mem {
|
||||||
|
+ regulator-on-in-suspend;
|
||||||
|
+ };
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ vcc_1v8: DCDC_REG4 {
|
||||||
|
+ regulator-name = "vcc_1v8";
|
||||||
|
+ regulator-always-on;
|
||||||
|
+ regulator-boot-on;
|
||||||
|
+ regulator-min-microvolt = <1800000>;
|
||||||
|
+ regulator-max-microvolt = <1800000>;
|
||||||
|
+ regulator-state-mem {
|
||||||
|
+ regulator-on-in-suspend;
|
||||||
|
+ regulator-suspend-microvolt = <1800000>;
|
||||||
|
+ };
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ vcc1v8_dvp: LDO_REG1 {
|
||||||
|
+ regulator-name = "vcc1v8_dvp";
|
||||||
|
+ regulator-always-on;
|
||||||
|
+ regulator-boot-on;
|
||||||
|
+ regulator-min-microvolt = <1800000>;
|
||||||
|
+ regulator-max-microvolt = <1800000>;
|
||||||
|
+ regulator-state-mem {
|
||||||
|
+ regulator-off-in-suspend;
|
||||||
|
+ };
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ vcc3v0_tp: LDO_REG2 {
|
||||||
|
+ regulator-always-on;
|
||||||
|
+ regulator-boot-on;
|
||||||
|
+ regulator-min-microvolt = <3000000>;
|
||||||
|
+ regulator-max-microvolt = <3000000>;
|
||||||
|
+ regulator-name = "vcc3v0_tp";
|
||||||
|
+ regulator-state-mem {
|
||||||
|
+ regulator-off-in-suspend;
|
||||||
|
+ };
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ vcc1v8_pmu: LDO_REG3 {
|
||||||
|
+ regulator-name = "vcc1v8_pmu";
|
||||||
|
+ regulator-always-on;
|
||||||
|
+ regulator-boot-on;
|
||||||
|
+ regulator-min-microvolt = <1800000>;
|
||||||
|
+ regulator-max-microvolt = <1800000>;
|
||||||
|
+ regulator-state-mem {
|
||||||
|
+ regulator-on-in-suspend;
|
||||||
|
+ regulator-suspend-microvolt = <1800000>;
|
||||||
|
+ };
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ vcc_sd: LDO_REG4 {
|
||||||
|
+ regulator-name = "vcc_sd";
|
||||||
|
+ regulator-always-on;
|
||||||
|
+ regulator-boot-on;
|
||||||
|
+ regulator-min-microvolt = <1800000>;
|
||||||
|
+ regulator-max-microvolt = <3300000>;
|
||||||
|
+ regulator-state-mem {
|
||||||
|
+ regulator-on-in-suspend;
|
||||||
|
+ regulator-suspend-microvolt = <3300000>;
|
||||||
|
+ };
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ vcca3v0_codec: LDO_REG5 {
|
||||||
|
+ regulator-name = "vcca3v0_codec";
|
||||||
|
+ regulator-always-on;
|
||||||
|
+ regulator-boot-on;
|
||||||
|
+ regulator-min-microvolt = <3000000>;
|
||||||
|
+ regulator-max-microvolt = <3000000>;
|
||||||
|
+ regulator-state-mem {
|
||||||
|
+ regulator-off-in-suspend;
|
||||||
|
+ };
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ vcc_1v5: LDO_REG6 {
|
||||||
|
+ regulator-name = "vcc_1v5";
|
||||||
|
+ regulator-always-on;
|
||||||
|
+ regulator-boot-on;
|
||||||
|
+ regulator-min-microvolt = <1500000>;
|
||||||
|
+ regulator-max-microvolt = <1500000>;
|
||||||
|
+ regulator-state-mem {
|
||||||
|
+ regulator-on-in-suspend;
|
||||||
|
+ regulator-suspend-microvolt = <1500000>;
|
||||||
|
+ };
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ vcca1v8_codec: LDO_REG7 {
|
||||||
|
+ regulator-name = "vcca1v8_codec";
|
||||||
|
+ regulator-always-on;
|
||||||
|
+ regulator-boot-on;
|
||||||
|
+ regulator-min-microvolt = <1800000>;
|
||||||
|
+ regulator-max-microvolt = <1800000>;
|
||||||
|
+ regulator-state-mem {
|
||||||
|
+ regulator-off-in-suspend;
|
||||||
|
+ };
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ vcc_3v0: LDO_REG8 {
|
||||||
|
+ regulator-name = "vcc_3v0";
|
||||||
|
+ regulator-always-on;
|
||||||
|
+ regulator-boot-on;
|
||||||
|
+ regulator-min-microvolt = <3000000>;
|
||||||
|
+ regulator-max-microvolt = <3000000>;
|
||||||
|
+ regulator-state-mem {
|
||||||
|
+ regulator-on-in-suspend;
|
||||||
|
+ regulator-suspend-microvolt = <3000000>;
|
||||||
|
+ };
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ vcc3v3_s3: SWITCH_REG1 {
|
||||||
|
+ regulator-name = "vcc3v3_s3";
|
||||||
|
+ regulator-always-on;
|
||||||
|
+ regulator-boot-on;
|
||||||
|
+ regulator-state-mem {
|
||||||
|
+ regulator-off-in-suspend;
|
||||||
|
+ };
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ vcc3v3_s0: SWITCH_REG2 {
|
||||||
|
+ regulator-name = "vcc3v3_s0";
|
||||||
|
+ regulator-always-on;
|
||||||
|
+ regulator-boot-on;
|
||||||
|
+ regulator-state-mem {
|
||||||
|
+ regulator-off-in-suspend;
|
||||||
|
+ };
|
||||||
|
+ };
|
||||||
|
+ };
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ vdd_cpu_b: regulator@40 {
|
||||||
|
+ compatible = "silergy,syr827";
|
||||||
|
+ reg = <0x40>;
|
||||||
|
+ fcs,suspend-voltage-selector = <1>;
|
||||||
|
+ pinctrl-names = "default";
|
||||||
|
+ pinctrl-0 = <&cpu_b_sleep>;
|
||||||
|
+ regulator-name = "vdd_cpu_b";
|
||||||
|
+ regulator-min-microvolt = <712500>;
|
||||||
|
+ regulator-max-microvolt = <1500000>;
|
||||||
|
+ regulator-ramp-delay = <1000>;
|
||||||
|
+ regulator-always-on;
|
||||||
|
+ regulator-boot-on;
|
||||||
|
+ vin-supply = <&vcc_sys>;
|
||||||
|
+
|
||||||
|
+ regulator-state-mem {
|
||||||
|
+ regulator-off-in-suspend;
|
||||||
|
+ };
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ vdd_gpu: regulator@41 {
|
||||||
|
+ compatible = "silergy,syr828";
|
||||||
|
+ reg = <0x41>;
|
||||||
|
+ fcs,suspend-voltage-selector = <1>;
|
||||||
|
+ pinctrl-names = "default";
|
||||||
|
+ pinctrl-0 = <&gpu_sleep>;
|
||||||
|
+ regulator-name = "vdd_gpu";
|
||||||
|
+ regulator-min-microvolt = <712500>;
|
||||||
|
+ regulator-max-microvolt = <1500000>;
|
||||||
|
+ regulator-ramp-delay = <1000>;
|
||||||
|
+ regulator-always-on;
|
||||||
|
+ regulator-boot-on;
|
||||||
|
+ vin-supply = <&vcc_sys>;
|
||||||
|
+
|
||||||
|
+ regulator-state-mem {
|
||||||
|
+ regulator-off-in-suspend;
|
||||||
|
+ };
|
||||||
|
+ };
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&i2c3 {
|
||||||
|
+ i2c-scl-rising-time-ns = <450>;
|
||||||
|
+ i2c-scl-falling-time-ns = <15>;
|
||||||
|
+ status = "okay";
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&i2s2 {
|
||||||
|
+ #sound-dai-cells = <0>;
|
||||||
|
+ status = "okay";
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&iep_mmu {
|
||||||
|
+ status = "okay";
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&io_domains {
|
||||||
|
+ status = "okay";
|
||||||
|
+
|
||||||
|
+ bt656-supply = <&vcc_3v0>;
|
||||||
|
+ audio-supply = <&vcca1v8_codec>;
|
||||||
|
+ sdmmc-supply = <&vcc_sd>;
|
||||||
|
+ gpio1830-supply = <&vcc_3v0>;
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&pmu_io_domains {
|
||||||
|
+ status = "okay";
|
||||||
|
+ pmu1830-supply = <&vcc_1v8>;
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&pcie_phy {
|
||||||
|
+ status = "okay";
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&pcie0 {
|
||||||
|
+ ep-gpios = <&gpio4 RK_PD3 GPIO_ACTIVE_HIGH>;
|
||||||
|
+ max-link-speed = <2>;
|
||||||
|
+ num-lanes = <2>;
|
||||||
|
+ pinctrl-names = "default";
|
||||||
|
+ pinctrl-0 = <&pcie_clkreqn_cpm>;
|
||||||
|
+ status = "okay";
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&pinctrl {
|
||||||
|
+ pmic {
|
||||||
|
+ cpu_b_sleep: cpu-b-sleep {
|
||||||
|
+ rockchip,pins = <1 RK_PC1 RK_FUNC_GPIO &pcfg_pull_down>;
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ gpu_sleep: gpu-sleep {
|
||||||
|
+ rockchip,pins = <1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_down>;
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ pmic_int_l: pmic-int-l {
|
||||||
|
+ rockchip,pins = <1 RK_PB2 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ pmic_dvs2: pmic-dvs2 {
|
||||||
|
+ rockchip,pins = <1 RK_PC2 RK_FUNC_GPIO &pcfg_pull_down>;
|
||||||
|
+ };
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ sdio-pwrseq {
|
||||||
|
+ wifi_reg_on_h: wifi-reg-on-h {
|
||||||
|
+ rockchip,pins = <0 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||||
|
+ };
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ wifi {
|
||||||
|
+ wifi_host_wake_l: wifi-host-wake-l {
|
||||||
|
+ rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||||
|
+ };
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ bt {
|
||||||
|
+ bt_enable_h: bt-enable-h {
|
||||||
|
+ rockchip,pins = <0 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ bt_host_wake_l: bt-host-wake-l {
|
||||||
|
+ rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_down>;
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ bt_wake_l: bt-wake-l {
|
||||||
|
+ rockchip,pins = <2 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||||
|
+ };
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ gmac {
|
||||||
|
+ vcc_phy_h: vcc-phy-h {
|
||||||
|
+ rockchip,pins = <0 RK_PB4 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||||
|
+ };
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ leds {
|
||||||
|
+ user_led2: user_led2 {
|
||||||
|
+ rockchip,pins = <2 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||||
|
+ };
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ ir {
|
||||||
|
+ ir_int: ir-int {
|
||||||
|
+ rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||||
|
+ };
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ buttons {
|
||||||
|
+ power_key: power_key {
|
||||||
|
+ rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||||
|
+ };
|
||||||
|
+ };
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&pwm0 {
|
||||||
|
+ status = "okay";
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&pwm1 {
|
||||||
|
+ status = "okay";
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&pwm2 {
|
||||||
|
+ status = "okay";
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&saradc {
|
||||||
|
+ vref-supply = <&vcca1v8_s3>;
|
||||||
|
+ status = "okay";
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&sdio0 {
|
||||||
|
+ bus-width = <4>;
|
||||||
|
+ cap-sd-highspeed;
|
||||||
|
+ cap-sdio-irq;
|
||||||
|
+ clock-frequency = <50000000>;
|
||||||
|
+ disable-wp;
|
||||||
|
+ keep-power-in-suspend;
|
||||||
|
+ max-frequency = <50000000>;
|
||||||
|
+ mmc-pwrseq = <&sdio_pwrseq>;
|
||||||
|
+ non-removable;
|
||||||
|
+ pinctrl-names = "default";
|
||||||
|
+ pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
|
||||||
|
+ sd-uhs-sdr104;
|
||||||
|
+ #address-cells = <1>;
|
||||||
|
+ #size-cells = <0>;
|
||||||
|
+ status = "okay";
|
||||||
|
+
|
||||||
|
+ brcmf: wifi@1 {
|
||||||
|
+ reg = <1>;
|
||||||
|
+ compatible = "brcm,bcm4329-fmac";
|
||||||
|
+ interrupt-parent = <&gpio0>;
|
||||||
|
+ interrupts = <RK_PA3 GPIO_ACTIVE_HIGH>;
|
||||||
|
+ interrupt-names = "host-wake";
|
||||||
|
+ brcm,drive-strength = <5>;
|
||||||
|
+ pinctrl-names = "default";
|
||||||
|
+ pinctrl-0 = <&wifi_host_wake_l>;
|
||||||
|
+ };
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&sdmmc {
|
||||||
|
+ bus-width = <4>;
|
||||||
|
+ cap-sd-highspeed;
|
||||||
|
+ cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>;
|
||||||
|
+ clock-frequency = <150000000>;
|
||||||
|
+ disable-wp;
|
||||||
|
+ sd-uhs-sdr104;
|
||||||
|
+ max-frequency = <150000000>;
|
||||||
|
+ pinctrl-names = "default";
|
||||||
|
+ pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
|
||||||
|
+ vqmmc-supply = <&vcc_sd>;
|
||||||
|
+ status = "okay";
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&sdhci {
|
||||||
|
+ bus-width = <8>;
|
||||||
|
+ mmc-hs400-1_8v;
|
||||||
|
+ mmc-hs400-enhanced-strobe;
|
||||||
|
+ keep-power-in-suspend;
|
||||||
|
+ non-removable;
|
||||||
|
+ status = "okay";
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&spi2 {
|
||||||
|
+ status = "okay";
|
||||||
|
+
|
||||||
|
+ panel@0 {
|
||||||
|
+ compatible = "sitronix,st7735s", "sitronix,st7735r", "sitronix,st7789v", "jianda,jd-t18003-t01";
|
||||||
|
+ reg = <0>;
|
||||||
|
+ rgb;
|
||||||
|
+ width = <80>;
|
||||||
|
+ height = <160>;
|
||||||
|
+ fps = <30>;
|
||||||
|
+ buswidth = <8>;
|
||||||
|
+ rotate = <270>;
|
||||||
|
+ backlight = <&backlight>;
|
||||||
|
+ dc-gpios = <&gpio4 RK_PD5 GPIO_ACTIVE_HIGH>;
|
||||||
|
+ reset-gpios = <&gpio4 RK_PD1 GPIO_ACTIVE_LOW>;
|
||||||
|
+ led-gpios = <&gpio4 RK_PC2 GPIO_ACTIVE_HIGH>;
|
||||||
|
+ spi-max-frequency = <32000000>;
|
||||||
|
+ debug = <0>;
|
||||||
|
+ spi-cpol;
|
||||||
|
+ spi-cpha;
|
||||||
|
+ };
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&tcphy0 {
|
||||||
|
+ status = "okay";
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&tcphy1 {
|
||||||
|
+ status = "okay";
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&tsadc {
|
||||||
|
+ /* tshut mode 0:CRU 1:GPIO */
|
||||||
|
+ rockchip,hw-tshut-mode = <1>;
|
||||||
|
+ /* tshut polarity 0:LOW 1:HIGH */
|
||||||
|
+ rockchip,hw-tshut-polarity = <1>;
|
||||||
|
+ status = "okay";
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&u2phy0 {
|
||||||
|
+ status = "okay";
|
||||||
|
+
|
||||||
|
+ u2phy0_otg: otg-port {
|
||||||
|
+ status = "okay";
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ u2phy0_host: host-port {
|
||||||
|
+ status = "okay";
|
||||||
|
+ };
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&u2phy1 {
|
||||||
|
+ status = "okay";
|
||||||
|
+
|
||||||
|
+ u2phy1_otg: otg-port {
|
||||||
|
+ status = "okay";
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ u2phy1_host: host-port {
|
||||||
|
+ status = "okay";
|
||||||
|
+ };
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&uart0 {
|
||||||
|
+ pinctrl-names = "default";
|
||||||
|
+ pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
|
||||||
|
+ status = "okay";
|
||||||
|
+
|
||||||
|
+ bluetooth {
|
||||||
|
+ compatible = "brcm,bcm43438-bt";
|
||||||
|
+ clocks = <&rk808 1>;
|
||||||
|
+ clock-names = "lpo";
|
||||||
|
+ device-wakeup-gpios = <&gpio2 RK_PD2 GPIO_ACTIVE_HIGH>;
|
||||||
|
+ host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>;
|
||||||
|
+ shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>;
|
||||||
|
+ max-speed = <4000000>;
|
||||||
|
+ pinctrl-names = "default";
|
||||||
|
+ pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>;
|
||||||
|
+ vbat-supply = <&vcc3v3_sys>;
|
||||||
|
+ vddio-supply = <&vcc_1v8>;
|
||||||
|
+ };
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&uart2 {
|
||||||
|
+ status = "okay";
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&usb_host0_ehci {
|
||||||
|
+ status = "okay";
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&usb_host0_ohci {
|
||||||
|
+ status = "okay";
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&usb_host1_ehci {
|
||||||
|
+ status = "okay";
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&usb_host1_ohci {
|
||||||
|
+ status = "okay";
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&usbdrd3_0 {
|
||||||
|
+ status = "okay";
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&usbdrd_dwc3_0 {
|
||||||
|
+ status = "okay";
|
||||||
|
+ dr_mode = "host";
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&usbdrd3_1 {
|
||||||
|
+ status = "okay";
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&usbdrd_dwc3_1 {
|
||||||
|
+ status = "okay";
|
||||||
|
+ dr_mode = "host";
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&vopb {
|
||||||
|
+ status = "okay";
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&vopb_mmu {
|
||||||
|
+ status = "okay";
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&vopl {
|
||||||
|
+ status = "okay";
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&vopl_mmu {
|
||||||
|
+ status = "okay";
|
||||||
|
+};
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/configs/fine3399-rk3399_defconfig
|
||||||
|
@@ -0,0 +1,97 @@
|
||||||
|
+CONFIG_ARM=y
|
||||||
|
+CONFIG_SKIP_LOWLEVEL_INIT=y
|
||||||
|
+CONFIG_COUNTER_FREQUENCY=24000000
|
||||||
|
+CONFIG_ARCH_ROCKCHIP=y
|
||||||
|
+CONFIG_TEXT_BASE=0x00200000
|
||||||
|
+CONFIG_NR_DRAM_BANKS=1
|
||||||
|
+CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
|
||||||
|
+CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x300000
|
||||||
|
+CONFIG_ENV_OFFSET=0x3F8000
|
||||||
|
+CONFIG_DEFAULT_DEVICE_TREE="rk3399-fine-3399"
|
||||||
|
+CONFIG_OF_LIBFDT_OVERLAY=y
|
||||||
|
+CONFIG_DM_RESET=y
|
||||||
|
+CONFIG_ROCKCHIP_RK3399=y
|
||||||
|
+CONFIG_TARGET_EVB_RK3399=y
|
||||||
|
+CONFIG_SPL_STACK=0x400000
|
||||||
|
+CONFIG_DEBUG_UART_BASE=0xFF1A0000
|
||||||
|
+CONFIG_DEBUG_UART_CLOCK=24000000
|
||||||
|
+CONFIG_DEBUG_UART=y
|
||||||
|
+CONFIG_SYS_LOAD_ADDR=0x800800
|
||||||
|
+# CONFIG_ANDROID_BOOT_IMAGE is not set
|
||||||
|
+CONFIG_DEFAULT_FDT_FILE="rockchip/rk3399-fine-3399.dtb"
|
||||||
|
+CONFIG_DISPLAY_BOARDINFO_LATE=y
|
||||||
|
+CONFIG_MISC_INIT_R=y
|
||||||
|
+CONFIG_SPL_MAX_SIZE=0x2e000
|
||||||
|
+CONFIG_SPL_PAD_TO=0x7f8000
|
||||||
|
+CONFIG_SPL_HAS_BSS_LINKER_SECTION=y
|
||||||
|
+CONFIG_SPL_BSS_START_ADDR=0x400000
|
||||||
|
+CONFIG_SPL_BSS_MAX_SIZE=0x2000
|
||||||
|
+# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
|
||||||
|
+# CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
|
||||||
|
+CONFIG_SPL_STACK_R=y
|
||||||
|
+CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x10000
|
||||||
|
+CONFIG_TPL=y
|
||||||
|
+CONFIG_SYS_PROMPT="Fine3399 => "
|
||||||
|
+CONFIG_CMD_BOOTZ=y
|
||||||
|
+CONFIG_CMD_NVEDIT_EFI=y
|
||||||
|
+CONFIG_CMD_GPT=y
|
||||||
|
+CONFIG_CMD_GPIO=y
|
||||||
|
+CONFIG_CMD_I2C=y
|
||||||
|
+CONFIG_CMD_MMC=y
|
||||||
|
+CONFIG_CMD_PCI=y
|
||||||
|
+CONFIG_CMD_USB=y
|
||||||
|
+CONFIG_CMD_ROCKUSB=y
|
||||||
|
+CONFIG_CMD_USB_MASS_STORAGE=y
|
||||||
|
+# CONFIG_CMD_SETEXPR is not set
|
||||||
|
+CONFIG_CMD_EFIDEBUG=y
|
||||||
|
+CONFIG_CMD_TIME=y
|
||||||
|
+CONFIG_CMD_PMIC=y
|
||||||
|
+CONFIG_CMD_REGULATOR=y
|
||||||
|
+CONFIG_SPL_OF_CONTROL=y
|
||||||
|
+CONFIG_OF_SPL_REMOVE_PROPS="pinctrl-0 pinctrl-names clock-names interrupt-parent assigned-clocks assigned-clock-rates assigned-clock-parents"
|
||||||
|
+CONFIG_ENV_IS_IN_MMC=y
|
||||||
|
+CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||||
|
+CONFIG_DFU_MMC=y
|
||||||
|
+CONFIG_ROCKCHIP_GPIO=y
|
||||||
|
+CONFIG_SYS_I2C_ROCKCHIP=y
|
||||||
|
+CONFIG_MISC=y
|
||||||
|
+CONFIG_MMC_DW=y
|
||||||
|
+CONFIG_MMC_DW_ROCKCHIP=y
|
||||||
|
+CONFIG_MMC_SDHCI=y
|
||||||
|
+CONFIG_MMC_SDHCI_ROCKCHIP=y
|
||||||
|
+CONFIG_DM_ETH=y
|
||||||
|
+CONFIG_ETH_DESIGNWARE=y
|
||||||
|
+CONFIG_GMAC_ROCKCHIP=y
|
||||||
|
+CONFIG_NVME_PCI=y
|
||||||
|
+CONFIG_PCI=y
|
||||||
|
+CONFIG_PHY_ROCKCHIP_INNO_USB2=y
|
||||||
|
+CONFIG_PHY_ROCKCHIP_TYPEC=y
|
||||||
|
+CONFIG_PMIC_RK8XX=y
|
||||||
|
+CONFIG_REGULATOR_PWM=y
|
||||||
|
+CONFIG_REGULATOR_RK8XX=y
|
||||||
|
+CONFIG_PWM_ROCKCHIP=y
|
||||||
|
+CONFIG_RAM_ROCKCHIP_LPDDR4=y
|
||||||
|
+CONFIG_BAUDRATE=1500000
|
||||||
|
+CONFIG_DEBUG_UART_SHIFT=2
|
||||||
|
+CONFIG_SYSRESET=y
|
||||||
|
+CONFIG_USB=y
|
||||||
|
+CONFIG_USB_XHCI_HCD=y
|
||||||
|
+CONFIG_USB_XHCI_DWC3=y
|
||||||
|
+CONFIG_USB_EHCI_HCD=y
|
||||||
|
+CONFIG_USB_EHCI_GENERIC=y
|
||||||
|
+CONFIG_USB_KEYBOARD=y
|
||||||
|
+CONFIG_USB_DWC3=y
|
||||||
|
+CONFIG_USB_DWC3_GENERIC=y
|
||||||
|
+CONFIG_USB_HOST_ETHER=y
|
||||||
|
+CONFIG_USB_ETHER_ASIX=y
|
||||||
|
+CONFIG_USB_ETHER_ASIX88179=y
|
||||||
|
+CONFIG_USB_ETHER_RTL8152=y
|
||||||
|
+CONFIG_DM_VIDEO=y
|
||||||
|
+CONFIG_USB_GADGET=y
|
||||||
|
+CONFIG_USB_FUNCTION_ROCKUSB=y
|
||||||
|
+CONFIG_VIDEO=y
|
||||||
|
+CONFIG_DISPLAY=y
|
||||||
|
+CONFIG_VIDEO_ROCKCHIP=y
|
||||||
|
+CONFIG_DISPLAY_ROCKCHIP_HDMI=y
|
||||||
|
+CONFIG_SPL_TINY_MEMSET=y
|
||||||
|
+CONFIG_ERRNO_STR=y
|
||||||
|
@ -1,812 +0,0 @@
|
|||||||
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
||||||
|
|
||||||
/dts-v1/;
|
|
||||||
|
|
||||||
#include <dt-bindings/input/linux-event-codes.h>
|
|
||||||
#include <dt-bindings/pwm/pwm.h>
|
|
||||||
#include <dt-bindings/input/input.h>
|
|
||||||
#include "rk3399.dtsi"
|
|
||||||
#include "rk3399-op1-opp.dtsi"
|
|
||||||
|
|
||||||
|
|
||||||
/ {
|
|
||||||
model = "Fine3399";
|
|
||||||
compatible = "rockchip,rk3399";
|
|
||||||
|
|
||||||
aliases {
|
|
||||||
ethernet0 = &gmac;
|
|
||||||
mmc0 = &sdio0;
|
|
||||||
mmc1 = &sdmmc;
|
|
||||||
mmc2 = &sdhci;
|
|
||||||
};
|
|
||||||
|
|
||||||
chosen {
|
|
||||||
stdout-path = "serial2:1500000n8";
|
|
||||||
};
|
|
||||||
|
|
||||||
clkin_gmac: external-gmac-clock {
|
|
||||||
compatible = "fixed-clock";
|
|
||||||
clock-frequency = <125000000>;
|
|
||||||
clock-output-names = "clkin_gmac";
|
|
||||||
#clock-cells = <0>;
|
|
||||||
};
|
|
||||||
|
|
||||||
dc_12v: dc-12v {
|
|
||||||
compatible = "regulator-fixed";
|
|
||||||
regulator-name = "dc_12v";
|
|
||||||
regulator-always-on;
|
|
||||||
regulator-boot-on;
|
|
||||||
regulator-min-microvolt = <12000000>;
|
|
||||||
regulator-max-microvolt = <12000000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
sdio_pwrseq: sdio-pwrseq {
|
|
||||||
compatible = "mmc-pwrseq-simple";
|
|
||||||
clocks = <&rk808 1>;
|
|
||||||
clock-names = "ext_clock";
|
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&wifi_reg_on_h>;
|
|
||||||
reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>; // bsp
|
|
||||||
};
|
|
||||||
|
|
||||||
/* switched by pmic_sleep */
|
|
||||||
vcc1v8_s3: vcca1v8_s3: vcc1v8-s3 {
|
|
||||||
compatible = "regulator-fixed";
|
|
||||||
regulator-name = "vcc1v8_s3";
|
|
||||||
regulator-always-on;
|
|
||||||
regulator-boot-on;
|
|
||||||
regulator-min-microvolt = <1800000>;
|
|
||||||
regulator-max-microvolt = <1800000>;
|
|
||||||
vin-supply = <&vcc_1v8>;
|
|
||||||
};
|
|
||||||
|
|
||||||
vcc3v3_sys: vcc3v3_pcie: vcc3v3_bl: vcc3v3-sys { // sch
|
|
||||||
compatible = "regulator-fixed";
|
|
||||||
regulator-name = "vcc3v3_sys";
|
|
||||||
regulator-always-on;
|
|
||||||
regulator-boot-on;
|
|
||||||
regulator-min-microvolt = <3300000>;
|
|
||||||
regulator-max-microvolt = <3300000>;
|
|
||||||
vin-supply = <&dc_12v>;
|
|
||||||
};
|
|
||||||
|
|
||||||
vcc_sys: vcc-sys { // sch
|
|
||||||
compatible = "regulator-fixed";
|
|
||||||
regulator-name = "vcc_sys";
|
|
||||||
regulator-always-on;
|
|
||||||
regulator-boot-on;
|
|
||||||
regulator-min-microvolt = <5000000>;
|
|
||||||
regulator-max-microvolt = <5000000>;
|
|
||||||
vin-supply = <&dc_12v>;
|
|
||||||
};
|
|
||||||
|
|
||||||
vcc_phy: vcc-phy-regulator {
|
|
||||||
compatible = "regulator-fixed";
|
|
||||||
enable-active-high;
|
|
||||||
gpio = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>;
|
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&vcc_phy_h>;
|
|
||||||
regulator-name = "vcc_phy";
|
|
||||||
regulator-always-on;
|
|
||||||
regulator-boot-on;
|
|
||||||
};
|
|
||||||
|
|
||||||
vdd_log: vdd-log {
|
|
||||||
compatible = "pwm-regulator";
|
|
||||||
pwms = <&pwm2 0 25000 1>;
|
|
||||||
regulator-name = "vdd_log";
|
|
||||||
regulator-always-on;
|
|
||||||
regulator-boot-on;
|
|
||||||
regulator-min-microvolt = <800000>;
|
|
||||||
regulator-max-microvolt = <1400000>;
|
|
||||||
vin-supply = <&vcc_sys>;
|
|
||||||
};
|
|
||||||
|
|
||||||
leds: gpio-leds {
|
|
||||||
compatible = "gpio-leds";
|
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&user_led2>;
|
|
||||||
|
|
||||||
user_led2 {
|
|
||||||
label = "blue:work_led";
|
|
||||||
gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_LOW>; // sch
|
|
||||||
linux,default-trigger = "heartbeat";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
gpio-keys {
|
|
||||||
compatible = "gpio-keys";
|
|
||||||
autorepeat;
|
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&power_key>;
|
|
||||||
|
|
||||||
key-power {
|
|
||||||
debounce-interval = <100>;
|
|
||||||
gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_LOW>; // bsp
|
|
||||||
label = "GPIO Key Power";
|
|
||||||
linux,code = <KEY_POWER>;
|
|
||||||
wakeup-source;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
fan0: pwm-fan {
|
|
||||||
compatible = "pwm-fan";
|
|
||||||
cooling-levels = <0 25 50 75 100 150>;
|
|
||||||
#cooling-cells = <2>;
|
|
||||||
fan-supply = <&vcc_sys>;
|
|
||||||
pwms = <&pwm1 0 40000 0>;
|
|
||||||
};
|
|
||||||
|
|
||||||
backlight: backlight {
|
|
||||||
compatible = "pwm-backlight";
|
|
||||||
brightness-levels = <0 36 72 108 144 180 216 255>;
|
|
||||||
default-brightness-level = <5>;
|
|
||||||
pwms = <&pwm0 0 1000000 0>;
|
|
||||||
};
|
|
||||||
|
|
||||||
// pwm3
|
|
||||||
ir-receiver {
|
|
||||||
compatible = "gpio-ir-receiver";
|
|
||||||
gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_LOW>;
|
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&ir_int>;
|
|
||||||
};
|
|
||||||
|
|
||||||
adc-keys {
|
|
||||||
compatible = "adc-keys";
|
|
||||||
io-channels = <&saradc 1>;
|
|
||||||
io-channel-names = "buttons";
|
|
||||||
keyup-threshold-microvolt = <1750000>;
|
|
||||||
poll-interval = <100>;
|
|
||||||
|
|
||||||
recovery {
|
|
||||||
label = "Recovery";
|
|
||||||
linux,code = <KEY_VENDOR>; // ??
|
|
||||||
press-threshold-microvolt = <0>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
&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>;
|
|
||||||
};
|
|
||||||
|
|
||||||
&cpu_b0 {
|
|
||||||
cpu-supply = <&vdd_cpu_b>;
|
|
||||||
};
|
|
||||||
|
|
||||||
&cpu_b1 {
|
|
||||||
cpu-supply = <&vdd_cpu_b>;
|
|
||||||
};
|
|
||||||
|
|
||||||
&gpu {
|
|
||||||
mali-supply = <&vdd_gpu>;
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
&cpu_thermal {
|
|
||||||
trips {
|
|
||||||
cpu_hot: cpu_hot {
|
|
||||||
hysteresis = <10000>;
|
|
||||||
temperature = <55000>;
|
|
||||||
type = "active";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
cooling-maps {
|
|
||||||
map2 {
|
|
||||||
cooling-device =
|
|
||||||
<&fan0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
|
|
||||||
trip = <&cpu_hot>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
&emmc_phy {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
&gmac {
|
|
||||||
assigned-clocks = <&cru SCLK_RMII_SRC>;
|
|
||||||
assigned-clock-parents = <&clkin_gmac>;
|
|
||||||
clock_in_out = "input";
|
|
||||||
phy-supply = <&vcc_phy>;
|
|
||||||
phy-mode = "rgmii";
|
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&rgmii_pins>;
|
|
||||||
snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>; // bsp
|
|
||||||
snps,reset-active-low;
|
|
||||||
snps,reset-delays-us = <0 10000 50000>;
|
|
||||||
tx_delay = <0x28>;
|
|
||||||
rx_delay = <0x11>;
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
&hdmi {
|
|
||||||
ddc-i2c-bus = <&i2c3>;
|
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&hdmi_cec>;
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
&hdmi_sound {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
&i2c0 {
|
|
||||||
clock-frequency = <400000>;
|
|
||||||
i2c-scl-rising-time-ns = <168>;
|
|
||||||
i2c-scl-falling-time-ns = <4>;
|
|
||||||
status = "okay";
|
|
||||||
|
|
||||||
rk808: pmic@1b {
|
|
||||||
compatible = "rockchip,rk808";
|
|
||||||
reg = <0x1b>;
|
|
||||||
interrupt-parent = <&gpio1>;
|
|
||||||
interrupts = <RK_PC5 IRQ_TYPE_LEVEL_LOW>;
|
|
||||||
#clock-cells = <1>;
|
|
||||||
clock-output-names = "xin32k", "rk808-clkout2";
|
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&pmic_int_l &pmic_dvs2>;
|
|
||||||
rockchip,system-power-controller;
|
|
||||||
wakeup-source;
|
|
||||||
|
|
||||||
vcc1-supply = <&vcc3v3_sys>;
|
|
||||||
vcc2-supply = <&vcc3v3_sys>;
|
|
||||||
vcc3-supply = <&vcc3v3_sys>;
|
|
||||||
vcc4-supply = <&vcc3v3_sys>;
|
|
||||||
vcc6-supply = <&vcc3v3_sys>;
|
|
||||||
vcc7-supply = <&vcc3v3_sys>;
|
|
||||||
vcc8-supply = <&vcc3v3_sys>;
|
|
||||||
vcc9-supply = <&vcc3v3_sys>;
|
|
||||||
vcc10-supply = <&vcc3v3_sys>;
|
|
||||||
vcc11-supply = <&vcc3v3_sys>;
|
|
||||||
vcc12-supply = <&vcc3v3_sys>;
|
|
||||||
vddio-supply = <&vcc1v8_pmu>;
|
|
||||||
|
|
||||||
regulators {
|
|
||||||
vdd_center: DCDC_REG1 {
|
|
||||||
regulator-name = "vdd_center";
|
|
||||||
regulator-always-on;
|
|
||||||
regulator-boot-on;
|
|
||||||
regulator-min-microvolt = <750000>;
|
|
||||||
regulator-max-microvolt = <1350000>;
|
|
||||||
regulator-ramp-delay = <6001>;
|
|
||||||
regulator-state-mem {
|
|
||||||
regulator-off-in-suspend;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
vdd_cpu_l: DCDC_REG2 {
|
|
||||||
regulator-name = "vdd_cpu_l";
|
|
||||||
regulator-always-on;
|
|
||||||
regulator-boot-on;
|
|
||||||
regulator-min-microvolt = <750000>;
|
|
||||||
regulator-max-microvolt = <1350000>;
|
|
||||||
regulator-ramp-delay = <6001>;
|
|
||||||
regulator-state-mem {
|
|
||||||
regulator-off-in-suspend;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
vcc_ddr: DCDC_REG3 {
|
|
||||||
regulator-name = "vcc_ddr";
|
|
||||||
regulator-always-on;
|
|
||||||
regulator-boot-on;
|
|
||||||
regulator-state-mem {
|
|
||||||
regulator-on-in-suspend;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
vcc_1v8: DCDC_REG4 {
|
|
||||||
regulator-name = "vcc_1v8";
|
|
||||||
regulator-always-on;
|
|
||||||
regulator-boot-on;
|
|
||||||
regulator-min-microvolt = <1800000>;
|
|
||||||
regulator-max-microvolt = <1800000>;
|
|
||||||
regulator-state-mem {
|
|
||||||
regulator-on-in-suspend;
|
|
||||||
regulator-suspend-microvolt = <1800000>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
vcc1v8_dvp: LDO_REG1 {
|
|
||||||
regulator-name = "vcc1v8_dvp";
|
|
||||||
regulator-always-on;
|
|
||||||
regulator-boot-on;
|
|
||||||
regulator-min-microvolt = <1800000>;
|
|
||||||
regulator-max-microvolt = <1800000>;
|
|
||||||
regulator-state-mem {
|
|
||||||
regulator-off-in-suspend;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
vcc3v0_tp: LDO_REG2 {
|
|
||||||
regulator-always-on;
|
|
||||||
regulator-boot-on;
|
|
||||||
regulator-min-microvolt = <3000000>;
|
|
||||||
regulator-max-microvolt = <3000000>;
|
|
||||||
regulator-name = "vcc3v0_tp";
|
|
||||||
regulator-state-mem {
|
|
||||||
regulator-off-in-suspend;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
vcc1v8_pmu: LDO_REG3 {
|
|
||||||
regulator-name = "vcc1v8_pmu";
|
|
||||||
regulator-always-on;
|
|
||||||
regulator-boot-on;
|
|
||||||
regulator-min-microvolt = <1800000>;
|
|
||||||
regulator-max-microvolt = <1800000>;
|
|
||||||
regulator-state-mem {
|
|
||||||
regulator-on-in-suspend;
|
|
||||||
regulator-suspend-microvolt = <1800000>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
vcc_sd: LDO_REG4 {
|
|
||||||
regulator-name = "vcc_sd";
|
|
||||||
regulator-always-on;
|
|
||||||
regulator-boot-on;
|
|
||||||
regulator-min-microvolt = <1800000>;
|
|
||||||
regulator-max-microvolt = <3300000>;
|
|
||||||
regulator-state-mem {
|
|
||||||
regulator-on-in-suspend;
|
|
||||||
regulator-suspend-microvolt = <3300000>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
vcca3v0_codec: LDO_REG5 {
|
|
||||||
regulator-name = "vcca3v0_codec";
|
|
||||||
regulator-always-on;
|
|
||||||
regulator-boot-on;
|
|
||||||
regulator-min-microvolt = <3000000>;
|
|
||||||
regulator-max-microvolt = <3000000>;
|
|
||||||
regulator-state-mem {
|
|
||||||
regulator-off-in-suspend;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
vcc_1v5: LDO_REG6 {
|
|
||||||
regulator-name = "vcc_1v5";
|
|
||||||
regulator-always-on;
|
|
||||||
regulator-boot-on;
|
|
||||||
regulator-min-microvolt = <1500000>;
|
|
||||||
regulator-max-microvolt = <1500000>;
|
|
||||||
regulator-state-mem {
|
|
||||||
regulator-on-in-suspend;
|
|
||||||
regulator-suspend-microvolt = <1500000>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
vcca1v8_codec: LDO_REG7 {
|
|
||||||
regulator-name = "vcca1v8_codec";
|
|
||||||
regulator-always-on;
|
|
||||||
regulator-boot-on;
|
|
||||||
regulator-min-microvolt = <1800000>;
|
|
||||||
regulator-max-microvolt = <1800000>;
|
|
||||||
regulator-state-mem {
|
|
||||||
regulator-off-in-suspend;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
vcc_3v0: LDO_REG8 {
|
|
||||||
regulator-name = "vcc_3v0";
|
|
||||||
regulator-always-on;
|
|
||||||
regulator-boot-on;
|
|
||||||
regulator-min-microvolt = <3000000>;
|
|
||||||
regulator-max-microvolt = <3000000>;
|
|
||||||
regulator-state-mem {
|
|
||||||
regulator-on-in-suspend;
|
|
||||||
regulator-suspend-microvolt = <3000000>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
vcc3v3_s3: SWITCH_REG1 {
|
|
||||||
regulator-name = "vcc3v3_s3";
|
|
||||||
regulator-always-on;
|
|
||||||
regulator-boot-on;
|
|
||||||
regulator-state-mem {
|
|
||||||
regulator-off-in-suspend;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
vcc3v3_s0: SWITCH_REG2 {
|
|
||||||
regulator-name = "vcc3v3_s0";
|
|
||||||
regulator-always-on;
|
|
||||||
regulator-boot-on;
|
|
||||||
regulator-state-mem {
|
|
||||||
regulator-off-in-suspend;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
vdd_cpu_b: regulator@40 {
|
|
||||||
compatible = "silergy,syr827";
|
|
||||||
reg = <0x40>;
|
|
||||||
fcs,suspend-voltage-selector = <1>;
|
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&cpu_b_sleep>;
|
|
||||||
regulator-name = "vdd_cpu_b";
|
|
||||||
regulator-min-microvolt = <712500>;
|
|
||||||
regulator-max-microvolt = <1500000>;
|
|
||||||
regulator-ramp-delay = <1000>;
|
|
||||||
regulator-always-on;
|
|
||||||
regulator-boot-on;
|
|
||||||
vin-supply = <&vcc_sys>;
|
|
||||||
|
|
||||||
regulator-state-mem {
|
|
||||||
regulator-off-in-suspend;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
vdd_gpu: regulator@41 {
|
|
||||||
compatible = "silergy,syr828";
|
|
||||||
reg = <0x41>;
|
|
||||||
fcs,suspend-voltage-selector = <1>;
|
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&gpu_sleep>;
|
|
||||||
regulator-name = "vdd_gpu";
|
|
||||||
regulator-min-microvolt = <712500>;
|
|
||||||
regulator-max-microvolt = <1500000>;
|
|
||||||
regulator-ramp-delay = <1000>;
|
|
||||||
regulator-always-on;
|
|
||||||
regulator-boot-on;
|
|
||||||
vin-supply = <&vcc_sys>;
|
|
||||||
|
|
||||||
regulator-state-mem {
|
|
||||||
regulator-off-in-suspend;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
// Used for HDMI
|
|
||||||
&i2c3 {
|
|
||||||
i2c-scl-rising-time-ns = <450>;
|
|
||||||
i2c-scl-falling-time-ns = <15>;
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
// HDMI sound
|
|
||||||
&i2s2 {
|
|
||||||
#sound-dai-cells = <0>;
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
&io_domains {
|
|
||||||
status = "okay";
|
|
||||||
|
|
||||||
bt656-supply = <&vcc_3v0>;
|
|
||||||
audio-supply = <&vcca1v8_codec>;
|
|
||||||
sdmmc-supply = <&vcc_sd>;
|
|
||||||
gpio1830-supply = <&vcc_3v0>;
|
|
||||||
};
|
|
||||||
|
|
||||||
&pmu_io_domains {
|
|
||||||
status = "okay";
|
|
||||||
pmu1830-supply = <&vcc_1v8>;
|
|
||||||
};
|
|
||||||
|
|
||||||
&pcie_phy {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
&pcie0 {
|
|
||||||
ep-gpios = <&gpio4 RK_PD3 GPIO_ACTIVE_HIGH>; // sch
|
|
||||||
max-link-speed = <2>;
|
|
||||||
num-lanes = <2>;
|
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&pcie_clkreqn_cpm>;
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
&pinctrl {
|
|
||||||
pmic {
|
|
||||||
cpu_b_sleep: cpu-b-sleep {
|
|
||||||
rockchip,pins = <1 RK_PC1 RK_FUNC_GPIO &pcfg_pull_down>;
|
|
||||||
};
|
|
||||||
|
|
||||||
gpu_sleep: gpu-sleep {
|
|
||||||
rockchip,pins = <1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_down>;
|
|
||||||
};
|
|
||||||
|
|
||||||
pmic_int_l: pmic-int-l {
|
|
||||||
rockchip,pins = <1 RK_PB2 RK_FUNC_GPIO &pcfg_pull_up>;
|
|
||||||
};
|
|
||||||
|
|
||||||
pmic_dvs2: pmic-dvs2 {
|
|
||||||
rockchip,pins = <1 RK_PC2 RK_FUNC_GPIO &pcfg_pull_down>; // bsp
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
sdio-pwrseq {
|
|
||||||
wifi_reg_on_h: wifi-reg-on-h {
|
|
||||||
rockchip,pins = <0 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
wifi {
|
|
||||||
wifi_host_wake_l: wifi-host-wake-l {
|
|
||||||
rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
bt {
|
|
||||||
bt_enable_h: bt-enable-h {
|
|
||||||
rockchip,pins = <0 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>;
|
|
||||||
};
|
|
||||||
|
|
||||||
bt_host_wake_l: bt-host-wake-l {
|
|
||||||
rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_down>;
|
|
||||||
};
|
|
||||||
|
|
||||||
bt_wake_l: bt-wake-l {
|
|
||||||
rockchip,pins = <2 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
gmac {
|
|
||||||
vcc_phy_h: vcc-phy-h {
|
|
||||||
rockchip,pins = <0 RK_PB4 RK_FUNC_GPIO &pcfg_pull_up>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
leds {
|
|
||||||
user_led2: user_led2 {
|
|
||||||
rockchip,pins =
|
|
||||||
<2 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
ir {
|
|
||||||
ir_int: ir-int {
|
|
||||||
rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
buttons {
|
|
||||||
power_key: power_key {
|
|
||||||
rockchip,pins =
|
|
||||||
<0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
// LCD
|
|
||||||
&pwm0 {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
// FAN
|
|
||||||
&pwm1 {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
&pwm2 {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
&saradc {
|
|
||||||
vref-supply = <&vcca1v8_s3>;
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
// if kernel panic at system boot, try to disable WiFi
|
|
||||||
&sdio0 {
|
|
||||||
bus-width = <4>;
|
|
||||||
cap-sd-highspeed;
|
|
||||||
cap-sdio-irq;
|
|
||||||
clock-frequency = <50000000>;
|
|
||||||
disable-wp;
|
|
||||||
keep-power-in-suspend;
|
|
||||||
max-frequency = <50000000>;
|
|
||||||
mmc-pwrseq = <&sdio_pwrseq>;
|
|
||||||
non-removable;
|
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
|
|
||||||
sd-uhs-sdr104;
|
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <0>;
|
|
||||||
status = "okay";
|
|
||||||
|
|
||||||
brcmf: wifi@1 {
|
|
||||||
reg = <1>;
|
|
||||||
compatible = "brcm,bcm4329-fmac";
|
|
||||||
interrupt-parent = <&gpio0>;
|
|
||||||
interrupts = <RK_PA3 GPIO_ACTIVE_HIGH>;
|
|
||||||
interrupt-names = "host-wake";
|
|
||||||
brcm,drive-strength = <5>;
|
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&wifi_host_wake_l>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
&sdmmc {
|
|
||||||
bus-width = <4>;
|
|
||||||
cap-sd-highspeed;
|
|
||||||
cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>; // bsp
|
|
||||||
clock-frequency = <150000000>;
|
|
||||||
disable-wp;
|
|
||||||
sd-uhs-sdr104;
|
|
||||||
max-frequency = <150000000>;
|
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
|
|
||||||
vqmmc-supply = <&vcc_sd>;
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
&sdhci {
|
|
||||||
bus-width = <8>;
|
|
||||||
mmc-hs400-1_8v;
|
|
||||||
mmc-hs400-enhanced-strobe;
|
|
||||||
keep-power-in-suspend;
|
|
||||||
non-removable;
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
/*
|
|
||||||
&spi1 {
|
|
||||||
status = "okay";
|
|
||||||
|
|
||||||
norflash: flash@0 {
|
|
||||||
compatible = "jedec,spi-nor";
|
|
||||||
reg = <0>;
|
|
||||||
spi-max-frequency = <50000000>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
*/
|
|
||||||
|
|
||||||
&spi2 {
|
|
||||||
status = "okay";
|
|
||||||
|
|
||||||
panel@0 {
|
|
||||||
compatible = "sitronix,st7735s", "sitronix,st7735r", "sitronix,st7789v", "jianda,jd-t18003-t01";
|
|
||||||
reg = <0>;
|
|
||||||
rgb;
|
|
||||||
width = <80>;
|
|
||||||
height = <160>;
|
|
||||||
fps = <30>;
|
|
||||||
buswidth = <8>;
|
|
||||||
rotate = <270>;
|
|
||||||
backlight = <&backlight>;
|
|
||||||
dc-gpios = <&gpio4 RK_PD5 GPIO_ACTIVE_HIGH>;
|
|
||||||
reset-gpios = <&gpio4 RK_PD1 GPIO_ACTIVE_LOW>;
|
|
||||||
led-gpios = <&gpio4 RK_PC2 GPIO_ACTIVE_HIGH>;
|
|
||||||
spi-max-frequency = <32000000>;
|
|
||||||
debug = <0>;
|
|
||||||
spi-cpol;
|
|
||||||
spi-cpha;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
&tcphy0 {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
&tcphy1 {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
&tsadc {
|
|
||||||
/* tshut mode 0:CRU 1:GPIO */
|
|
||||||
rockchip,hw-tshut-mode = <1>;
|
|
||||||
/* tshut polarity 0:LOW 1:HIGH */
|
|
||||||
rockchip,hw-tshut-polarity = <1>;
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
&u2phy0 {
|
|
||||||
status = "okay";
|
|
||||||
|
|
||||||
u2phy0_otg: otg-port {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
u2phy0_host: host-port {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
&u2phy1 {
|
|
||||||
status = "okay";
|
|
||||||
|
|
||||||
u2phy1_otg: otg-port {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
u2phy1_host: host-port {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
&uart0 {
|
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
|
|
||||||
status = "okay";
|
|
||||||
|
|
||||||
bluetooth {
|
|
||||||
compatible = "brcm,bcm43438-bt";
|
|
||||||
clocks = <&rk808 1>;
|
|
||||||
clock-names = "lpo";
|
|
||||||
device-wakeup-gpios = <&gpio2 RK_PD2 GPIO_ACTIVE_HIGH>;
|
|
||||||
host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>;
|
|
||||||
shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>;
|
|
||||||
max-speed = <4000000>;
|
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>;
|
|
||||||
vbat-supply = <&vcc3v3_sys>;
|
|
||||||
vddio-supply = <&vcc_1v8>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
// Debug TTL
|
|
||||||
&uart2 {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
&usb_host0_ehci {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
&usb_host0_ohci {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
&usb_host1_ehci {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
&usb_host1_ohci {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
&usbdrd3_0 {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
&usbdrd_dwc3_0 {
|
|
||||||
status = "okay";
|
|
||||||
dr_mode = "host";
|
|
||||||
};
|
|
||||||
|
|
||||||
&usbdrd3_1 {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
&usbdrd_dwc3_1 {
|
|
||||||
status = "okay";
|
|
||||||
dr_mode = "host";
|
|
||||||
};
|
|
||||||
|
|
||||||
&vopb {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
&vopb_mmu {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
&vopl {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
&vopl_mmu {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
&iep_mmu {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
@ -1,97 +0,0 @@
|
|||||||
CONFIG_ARM=y
|
|
||||||
CONFIG_SKIP_LOWLEVEL_INIT=y
|
|
||||||
CONFIG_COUNTER_FREQUENCY=24000000
|
|
||||||
CONFIG_ARCH_ROCKCHIP=y
|
|
||||||
CONFIG_TEXT_BASE=0x00200000
|
|
||||||
CONFIG_NR_DRAM_BANKS=1
|
|
||||||
CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
|
|
||||||
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x300000
|
|
||||||
CONFIG_ENV_OFFSET=0x3F8000
|
|
||||||
CONFIG_DEFAULT_DEVICE_TREE="rk3399-fine-3399"
|
|
||||||
CONFIG_OF_LIBFDT_OVERLAY=y
|
|
||||||
CONFIG_DM_RESET=y
|
|
||||||
CONFIG_ROCKCHIP_RK3399=y
|
|
||||||
CONFIG_TARGET_EVB_RK3399=y
|
|
||||||
CONFIG_SPL_STACK=0x400000
|
|
||||||
CONFIG_DEBUG_UART_BASE=0xFF1A0000
|
|
||||||
CONFIG_DEBUG_UART_CLOCK=24000000
|
|
||||||
CONFIG_DEBUG_UART=y
|
|
||||||
CONFIG_SYS_LOAD_ADDR=0x800800
|
|
||||||
# CONFIG_ANDROID_BOOT_IMAGE is not set
|
|
||||||
CONFIG_DEFAULT_FDT_FILE="rockchip/rk3399-fine-3399.dtb"
|
|
||||||
CONFIG_DISPLAY_BOARDINFO_LATE=y
|
|
||||||
CONFIG_MISC_INIT_R=y
|
|
||||||
CONFIG_SPL_MAX_SIZE=0x2e000
|
|
||||||
CONFIG_SPL_PAD_TO=0x7f8000
|
|
||||||
CONFIG_SPL_HAS_BSS_LINKER_SECTION=y
|
|
||||||
CONFIG_SPL_BSS_START_ADDR=0x400000
|
|
||||||
CONFIG_SPL_BSS_MAX_SIZE=0x2000
|
|
||||||
# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
|
|
||||||
# CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
|
|
||||||
CONFIG_SPL_STACK_R=y
|
|
||||||
CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x10000
|
|
||||||
CONFIG_TPL=y
|
|
||||||
CONFIG_SYS_PROMPT="Fine3399 => "
|
|
||||||
CONFIG_CMD_BOOTZ=y
|
|
||||||
CONFIG_CMD_NVEDIT_EFI=y
|
|
||||||
CONFIG_CMD_GPT=y
|
|
||||||
CONFIG_CMD_GPIO=y
|
|
||||||
CONFIG_CMD_I2C=y
|
|
||||||
CONFIG_CMD_MMC=y
|
|
||||||
CONFIG_CMD_PCI=y
|
|
||||||
CONFIG_CMD_USB=y
|
|
||||||
CONFIG_CMD_ROCKUSB=y
|
|
||||||
CONFIG_CMD_USB_MASS_STORAGE=y
|
|
||||||
# CONFIG_CMD_SETEXPR is not set
|
|
||||||
CONFIG_CMD_EFIDEBUG=y
|
|
||||||
CONFIG_CMD_TIME=y
|
|
||||||
CONFIG_CMD_PMIC=y
|
|
||||||
CONFIG_CMD_REGULATOR=y
|
|
||||||
CONFIG_SPL_OF_CONTROL=y
|
|
||||||
CONFIG_OF_SPL_REMOVE_PROPS="pinctrl-0 pinctrl-names clock-names interrupt-parent assigned-clocks assigned-clock-rates assigned-clock-parents"
|
|
||||||
CONFIG_ENV_IS_IN_MMC=y
|
|
||||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
||||||
CONFIG_DFU_MMC=y
|
|
||||||
CONFIG_ROCKCHIP_GPIO=y
|
|
||||||
CONFIG_SYS_I2C_ROCKCHIP=y
|
|
||||||
CONFIG_MISC=y
|
|
||||||
CONFIG_MMC_DW=y
|
|
||||||
CONFIG_MMC_DW_ROCKCHIP=y
|
|
||||||
CONFIG_MMC_SDHCI=y
|
|
||||||
CONFIG_MMC_SDHCI_ROCKCHIP=y
|
|
||||||
CONFIG_DM_ETH=y
|
|
||||||
CONFIG_ETH_DESIGNWARE=y
|
|
||||||
CONFIG_GMAC_ROCKCHIP=y
|
|
||||||
CONFIG_NVME_PCI=y
|
|
||||||
CONFIG_PCI=y
|
|
||||||
CONFIG_PHY_ROCKCHIP_INNO_USB2=y
|
|
||||||
CONFIG_PHY_ROCKCHIP_TYPEC=y
|
|
||||||
CONFIG_PMIC_RK8XX=y
|
|
||||||
CONFIG_REGULATOR_PWM=y
|
|
||||||
CONFIG_REGULATOR_RK8XX=y
|
|
||||||
CONFIG_PWM_ROCKCHIP=y
|
|
||||||
CONFIG_RAM_ROCKCHIP_LPDDR4=y
|
|
||||||
CONFIG_BAUDRATE=1500000
|
|
||||||
CONFIG_DEBUG_UART_SHIFT=2
|
|
||||||
CONFIG_SYSRESET=y
|
|
||||||
CONFIG_USB=y
|
|
||||||
CONFIG_USB_XHCI_HCD=y
|
|
||||||
CONFIG_USB_XHCI_DWC3=y
|
|
||||||
CONFIG_USB_EHCI_HCD=y
|
|
||||||
CONFIG_USB_EHCI_GENERIC=y
|
|
||||||
CONFIG_USB_KEYBOARD=y
|
|
||||||
CONFIG_USB_DWC3=y
|
|
||||||
CONFIG_USB_DWC3_GENERIC=y
|
|
||||||
CONFIG_USB_HOST_ETHER=y
|
|
||||||
CONFIG_USB_ETHER_ASIX=y
|
|
||||||
CONFIG_USB_ETHER_ASIX88179=y
|
|
||||||
CONFIG_USB_ETHER_RTL8152=y
|
|
||||||
CONFIG_DM_VIDEO=y
|
|
||||||
CONFIG_USB_GADGET=y
|
|
||||||
CONFIG_USB_FUNCTION_ROCKUSB=y
|
|
||||||
CONFIG_VIDEO=y
|
|
||||||
CONFIG_DISPLAY=y
|
|
||||||
CONFIG_VIDEO_ROCKCHIP=y
|
|
||||||
CONFIG_DISPLAY_ROCKCHIP_HDMI=y
|
|
||||||
CONFIG_SPL_TINY_MEMSET=y
|
|
||||||
CONFIG_ERRNO_STR=y
|
|
@ -336,7 +336,7 @@
|
|||||||
regulator-max-microvolt = <3000000>;
|
regulator-max-microvolt = <3000000>;
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
regulator-boot-on;
|
regulator-boot-on;
|
||||||
|
|
||||||
regulator-state-mem {
|
regulator-state-mem {
|
||||||
regulator-off-in-suspend;
|
regulator-off-in-suspend;
|
||||||
};
|
};
|
||||||
|
@ -2,16 +2,14 @@
|
|||||||
|
|
||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
|
|
||||||
#include <dt-bindings/input/linux-event-codes.h>
|
|
||||||
#include <dt-bindings/pwm/pwm.h>
|
|
||||||
#include <dt-bindings/input/input.h>
|
#include <dt-bindings/input/input.h>
|
||||||
|
#include <dt-bindings/pwm/pwm.h>
|
||||||
#include "rk3399.dtsi"
|
#include "rk3399.dtsi"
|
||||||
#include "rk3399-op1-opp.dtsi"
|
#include "rk3399-op1-opp.dtsi"
|
||||||
|
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "Fine3399";
|
model = "RUMU3F Fine3399";
|
||||||
compatible = "fine,3399","rockchip,rk3399";
|
compatible = "rumu3f,fine-3399","rockchip,rk3399";
|
||||||
|
|
||||||
aliases {
|
aliases {
|
||||||
ethernet0 = &gmac;
|
ethernet0 = &gmac;
|
||||||
@ -46,7 +44,7 @@
|
|||||||
clock-names = "ext_clock";
|
clock-names = "ext_clock";
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&wifi_reg_on_h>;
|
pinctrl-0 = <&wifi_reg_on_h>;
|
||||||
reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>; // bsp
|
reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* switched by pmic_sleep */
|
/* switched by pmic_sleep */
|
||||||
@ -60,7 +58,7 @@
|
|||||||
vin-supply = <&vcc_1v8>;
|
vin-supply = <&vcc_1v8>;
|
||||||
};
|
};
|
||||||
|
|
||||||
vcc3v3_sys: vcc3v3_pcie: vcc3v3_bl: vcc3v3-sys { // sch
|
vcc3v3_sys: vcc3v3-sys {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
regulator-name = "vcc3v3_sys";
|
regulator-name = "vcc3v3_sys";
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
@ -70,7 +68,7 @@
|
|||||||
vin-supply = <&dc_12v>;
|
vin-supply = <&dc_12v>;
|
||||||
};
|
};
|
||||||
|
|
||||||
vcc_sys: vcc-sys { // sch
|
vcc_sys: vcc-sys {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
regulator-name = "vcc_sys";
|
regulator-name = "vcc_sys";
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
@ -109,7 +107,7 @@
|
|||||||
|
|
||||||
user_led2 {
|
user_led2 {
|
||||||
label = "blue:work_led";
|
label = "blue:work_led";
|
||||||
gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_LOW>; // sch
|
gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_LOW>;
|
||||||
linux,default-trigger = "heartbeat";
|
linux,default-trigger = "heartbeat";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -122,7 +120,7 @@
|
|||||||
|
|
||||||
key-power {
|
key-power {
|
||||||
debounce-interval = <100>;
|
debounce-interval = <100>;
|
||||||
gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_LOW>; // bsp
|
gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_LOW>;
|
||||||
label = "GPIO Key Power";
|
label = "GPIO Key Power";
|
||||||
linux,code = <KEY_POWER>;
|
linux,code = <KEY_POWER>;
|
||||||
wakeup-source;
|
wakeup-source;
|
||||||
@ -144,7 +142,6 @@
|
|||||||
pwms = <&pwm0 0 1000000 0>;
|
pwms = <&pwm0 0 1000000 0>;
|
||||||
};
|
};
|
||||||
|
|
||||||
// pwm3
|
|
||||||
ir-receiver {
|
ir-receiver {
|
||||||
compatible = "gpio-ir-receiver";
|
compatible = "gpio-ir-receiver";
|
||||||
gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_LOW>;
|
||||||
@ -161,11 +158,10 @@
|
|||||||
|
|
||||||
recovery {
|
recovery {
|
||||||
label = "Recovery";
|
label = "Recovery";
|
||||||
linux,code = <KEY_VENDOR>; // ??
|
linux,code = <KEY_VENDOR>;
|
||||||
press-threshold-microvolt = <0>;
|
press-threshold-microvolt = <0>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
&cpu_l0 {
|
&cpu_l0 {
|
||||||
@ -227,7 +223,7 @@
|
|||||||
phy-mode = "rgmii";
|
phy-mode = "rgmii";
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&rgmii_pins>;
|
pinctrl-0 = <&rgmii_pins>;
|
||||||
snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>; // bsp
|
snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
|
||||||
snps,reset-active-low;
|
snps,reset-active-low;
|
||||||
snps,reset-delays-us = <0 10000 50000>;
|
snps,reset-delays-us = <0 10000 50000>;
|
||||||
tx_delay = <0x28>;
|
tx_delay = <0x28>;
|
||||||
@ -474,19 +470,21 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
// Used for HDMI
|
|
||||||
&i2c3 {
|
&i2c3 {
|
||||||
i2c-scl-rising-time-ns = <450>;
|
i2c-scl-rising-time-ns = <450>;
|
||||||
i2c-scl-falling-time-ns = <15>;
|
i2c-scl-falling-time-ns = <15>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
// HDMI sound
|
|
||||||
&i2s2 {
|
&i2s2 {
|
||||||
#sound-dai-cells = <0>;
|
#sound-dai-cells = <0>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&iep_mmu {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&io_domains {
|
&io_domains {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
@ -506,7 +504,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&pcie0 {
|
&pcie0 {
|
||||||
ep-gpios = <&gpio4 RK_PD3 GPIO_ACTIVE_HIGH>; // sch
|
ep-gpios = <&gpio4 RK_PD3 GPIO_ACTIVE_HIGH>;
|
||||||
max-link-speed = <2>;
|
max-link-speed = <2>;
|
||||||
num-lanes = <2>;
|
num-lanes = <2>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
@ -529,7 +527,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
pmic_dvs2: pmic-dvs2 {
|
pmic_dvs2: pmic-dvs2 {
|
||||||
rockchip,pins = <1 RK_PC2 RK_FUNC_GPIO &pcfg_pull_down>; // bsp
|
rockchip,pins = <1 RK_PC2 RK_FUNC_GPIO &pcfg_pull_down>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -567,8 +565,7 @@
|
|||||||
|
|
||||||
leds {
|
leds {
|
||||||
user_led2: user_led2 {
|
user_led2: user_led2 {
|
||||||
rockchip,pins =
|
rockchip,pins = <2 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||||
<2 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -580,18 +577,15 @@
|
|||||||
|
|
||||||
buttons {
|
buttons {
|
||||||
power_key: power_key {
|
power_key: power_key {
|
||||||
rockchip,pins =
|
rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||||
<0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
// LCD
|
|
||||||
&pwm0 {
|
&pwm0 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
// FAN
|
|
||||||
&pwm1 {
|
&pwm1 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
@ -638,7 +632,7 @@
|
|||||||
&sdmmc {
|
&sdmmc {
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
cap-sd-highspeed;
|
cap-sd-highspeed;
|
||||||
cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>; // bsp
|
cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>;
|
||||||
clock-frequency = <150000000>;
|
clock-frequency = <150000000>;
|
||||||
disable-wp;
|
disable-wp;
|
||||||
sd-uhs-sdr104;
|
sd-uhs-sdr104;
|
||||||
@ -657,17 +651,6 @@
|
|||||||
non-removable;
|
non-removable;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
/*
|
|
||||||
&spi1 {
|
|
||||||
status = "okay";
|
|
||||||
|
|
||||||
norflash: flash@0 {
|
|
||||||
compatible = "jedec,spi-nor";
|
|
||||||
reg = <0>;
|
|
||||||
spi-max-frequency = <50000000>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
*/
|
|
||||||
|
|
||||||
&spi2 {
|
&spi2 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
@ -752,7 +735,6 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
// Debug TTL
|
|
||||||
&uart2 {
|
&uart2 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
@ -806,7 +788,3 @@
|
|||||||
&vopl_mmu {
|
&vopl_mmu {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
&iep_mmu {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
#include <dt-bindings/input/linux-event-codes.h>
|
#include <dt-bindings/input/input.h>
|
||||||
#include "rk3399.dtsi"
|
#include "rk3399.dtsi"
|
||||||
#include "rk3399-opp.dtsi"
|
#include "rk3399-opp.dtsi"
|
||||||
|
|
||||||
@ -320,7 +320,7 @@
|
|||||||
regulator-min-microvolt = <750000>;
|
regulator-min-microvolt = <750000>;
|
||||||
regulator-max-microvolt = <1350000>;
|
regulator-max-microvolt = <1350000>;
|
||||||
regulator-ramp-delay = <6001>;
|
regulator-ramp-delay = <6001>;
|
||||||
|
|
||||||
regulator-state-mem {
|
regulator-state-mem {
|
||||||
regulator-off-in-suspend;
|
regulator-off-in-suspend;
|
||||||
};
|
};
|
||||||
@ -333,7 +333,7 @@
|
|||||||
regulator-min-microvolt = <750000>;
|
regulator-min-microvolt = <750000>;
|
||||||
regulator-max-microvolt = <1350000>;
|
regulator-max-microvolt = <1350000>;
|
||||||
regulator-ramp-delay = <6001>;
|
regulator-ramp-delay = <6001>;
|
||||||
|
|
||||||
regulator-state-mem {
|
regulator-state-mem {
|
||||||
regulator-off-in-suspend;
|
regulator-off-in-suspend;
|
||||||
};
|
};
|
||||||
@ -343,7 +343,7 @@
|
|||||||
regulator-name = "vcc_ddr";
|
regulator-name = "vcc_ddr";
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
regulator-boot-on;
|
regulator-boot-on;
|
||||||
|
|
||||||
regulator-state-mem {
|
regulator-state-mem {
|
||||||
regulator-on-in-suspend;
|
regulator-on-in-suspend;
|
||||||
};
|
};
|
||||||
@ -355,7 +355,7 @@
|
|||||||
regulator-boot-on;
|
regulator-boot-on;
|
||||||
regulator-min-microvolt = <1800000>;
|
regulator-min-microvolt = <1800000>;
|
||||||
regulator-max-microvolt = <1800000>;
|
regulator-max-microvolt = <1800000>;
|
||||||
|
|
||||||
regulator-state-mem {
|
regulator-state-mem {
|
||||||
regulator-on-in-suspend;
|
regulator-on-in-suspend;
|
||||||
regulator-suspend-microvolt = <1800000>;
|
regulator-suspend-microvolt = <1800000>;
|
||||||
@ -368,7 +368,7 @@
|
|||||||
regulator-boot-on;
|
regulator-boot-on;
|
||||||
regulator-min-microvolt = <2800000>;
|
regulator-min-microvolt = <2800000>;
|
||||||
regulator-max-microvolt = <2800000>;
|
regulator-max-microvolt = <2800000>;
|
||||||
|
|
||||||
regulator-state-mem {
|
regulator-state-mem {
|
||||||
regulator-off-in-suspend;
|
regulator-off-in-suspend;
|
||||||
};
|
};
|
||||||
@ -381,7 +381,7 @@
|
|||||||
regulator-boot-on;
|
regulator-boot-on;
|
||||||
regulator-min-microvolt = <1800000>;
|
regulator-min-microvolt = <1800000>;
|
||||||
regulator-max-microvolt = <1800000>;
|
regulator-max-microvolt = <1800000>;
|
||||||
|
|
||||||
regulator-state-mem {
|
regulator-state-mem {
|
||||||
regulator-off-in-suspend;
|
regulator-off-in-suspend;
|
||||||
};
|
};
|
||||||
@ -393,7 +393,7 @@
|
|||||||
regulator-boot-on;
|
regulator-boot-on;
|
||||||
regulator-min-microvolt = <1800000>;
|
regulator-min-microvolt = <1800000>;
|
||||||
regulator-max-microvolt = <1800000>;
|
regulator-max-microvolt = <1800000>;
|
||||||
|
|
||||||
regulator-state-mem {
|
regulator-state-mem {
|
||||||
regulator-on-in-suspend;
|
regulator-on-in-suspend;
|
||||||
regulator-suspend-microvolt = <1800000>;
|
regulator-suspend-microvolt = <1800000>;
|
||||||
@ -406,7 +406,7 @@
|
|||||||
regulator-boot-on;
|
regulator-boot-on;
|
||||||
regulator-min-microvolt = <1800000>;
|
regulator-min-microvolt = <1800000>;
|
||||||
regulator-max-microvolt = <3000000>;
|
regulator-max-microvolt = <3000000>;
|
||||||
|
|
||||||
regulator-state-mem {
|
regulator-state-mem {
|
||||||
regulator-on-in-suspend;
|
regulator-on-in-suspend;
|
||||||
regulator-suspend-microvolt = <3000000>;
|
regulator-suspend-microvolt = <3000000>;
|
||||||
@ -419,7 +419,7 @@
|
|||||||
regulator-boot-on;
|
regulator-boot-on;
|
||||||
regulator-min-microvolt = <3000000>;
|
regulator-min-microvolt = <3000000>;
|
||||||
regulator-max-microvolt = <3000000>;
|
regulator-max-microvolt = <3000000>;
|
||||||
|
|
||||||
regulator-state-mem {
|
regulator-state-mem {
|
||||||
regulator-off-in-suspend;
|
regulator-off-in-suspend;
|
||||||
};
|
};
|
||||||
@ -431,7 +431,7 @@
|
|||||||
regulator-boot-on;
|
regulator-boot-on;
|
||||||
regulator-min-microvolt = <1500000>;
|
regulator-min-microvolt = <1500000>;
|
||||||
regulator-max-microvolt = <1500000>;
|
regulator-max-microvolt = <1500000>;
|
||||||
|
|
||||||
regulator-state-mem {
|
regulator-state-mem {
|
||||||
regulator-on-in-suspend;
|
regulator-on-in-suspend;
|
||||||
regulator-suspend-microvolt = <1500000>;
|
regulator-suspend-microvolt = <1500000>;
|
||||||
@ -444,7 +444,7 @@
|
|||||||
regulator-boot-on;
|
regulator-boot-on;
|
||||||
regulator-min-microvolt = <1800000>;
|
regulator-min-microvolt = <1800000>;
|
||||||
regulator-max-microvolt = <1800000>;
|
regulator-max-microvolt = <1800000>;
|
||||||
|
|
||||||
regulator-state-mem {
|
regulator-state-mem {
|
||||||
regulator-off-in-suspend;
|
regulator-off-in-suspend;
|
||||||
};
|
};
|
||||||
@ -456,7 +456,7 @@
|
|||||||
regulator-boot-on;
|
regulator-boot-on;
|
||||||
regulator-min-microvolt = <3000000>;
|
regulator-min-microvolt = <3000000>;
|
||||||
regulator-max-microvolt = <3000000>;
|
regulator-max-microvolt = <3000000>;
|
||||||
|
|
||||||
regulator-state-mem {
|
regulator-state-mem {
|
||||||
regulator-on-in-suspend;
|
regulator-on-in-suspend;
|
||||||
regulator-suspend-microvolt = <3000000>;
|
regulator-suspend-microvolt = <3000000>;
|
||||||
@ -467,7 +467,7 @@
|
|||||||
regulator-name = "vcc3v3_s3";
|
regulator-name = "vcc3v3_s3";
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
regulator-boot-on;
|
regulator-boot-on;
|
||||||
|
|
||||||
regulator-state-mem {
|
regulator-state-mem {
|
||||||
regulator-off-in-suspend;
|
regulator-off-in-suspend;
|
||||||
};
|
};
|
||||||
@ -477,7 +477,7 @@
|
|||||||
regulator-name = "vcc3v3_s0";
|
regulator-name = "vcc3v3_s0";
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
regulator-boot-on;
|
regulator-boot-on;
|
||||||
|
|
||||||
regulator-state-mem {
|
regulator-state-mem {
|
||||||
regulator-off-in-suspend;
|
regulator-off-in-suspend;
|
||||||
};
|
};
|
||||||
@ -696,10 +696,8 @@
|
|||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
|
pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
|
||||||
sd-uhs-sdr104;
|
sd-uhs-sdr104;
|
||||||
|
vqmmc-supply = <&vcc1v8_s3>;
|
||||||
/* Power supply */
|
vmmc-supply = <&vcc_sdio>;
|
||||||
vqmmc-supply = <&vcc1v8_s3>; /* IO line */
|
|
||||||
vmmc-supply = <&vcc_sdio>; /* card's power */
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -63,7 +63,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
keys: gpio-keys {
|
keys: gpio-keys {
|
||||||
compatible = "gpio-keys"; // poweroff not sure
|
compatible = "gpio-keys";
|
||||||
autorepeat;
|
autorepeat;
|
||||||
|
|
||||||
power {
|
power {
|
||||||
@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
ir-receiver {
|
ir-receiver {
|
||||||
compatible = "gpio-ir-receiver";
|
compatible = "gpio-ir-receiver";
|
||||||
gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_LOW>; // bsp
|
gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_LOW>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&ir_int>;
|
pinctrl-0 = <&ir_int>;
|
||||||
};
|
};
|
||||||
@ -156,7 +156,7 @@
|
|||||||
vcc3v0_sd: vcc3v0-sd {
|
vcc3v0_sd: vcc3v0-sd {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
enable-active-high;
|
enable-active-high;
|
||||||
gpio = <&gpio0 RK_PA1 GPIO_ACTIVE_HIGH>; // bsp
|
gpio = <&gpio0 RK_PA1 GPIO_ACTIVE_HIGH>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&sdmmc0_pwr_h>;
|
pinctrl-0 = <&sdmmc0_pwr_h>;
|
||||||
regulator-boot-on;
|
regulator-boot-on;
|
||||||
@ -176,42 +176,38 @@
|
|||||||
vin-supply = <&vcc5v0_sys>;
|
vin-supply = <&vcc5v0_sys>;
|
||||||
};
|
};
|
||||||
|
|
||||||
// 4G Module
|
|
||||||
vcc3v3_gsm: vcc3v3-gsm {
|
vcc3v3_gsm: vcc3v3-gsm {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
enable-active-high;
|
enable-active-high;
|
||||||
gpio = <&gpio4 RK_PC6 GPIO_ACTIVE_HIGH>; // bsp
|
gpio = <&gpio4 RK_PC6 GPIO_ACTIVE_HIGH>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&vcc3v3_gsm_en>;
|
pinctrl-0 = <&vcc3v3_gsm_en>;
|
||||||
regulator-name = "vcc3v3_gsm";
|
regulator-name = "vcc3v3_gsm";
|
||||||
// regulator-always-on;
|
|
||||||
vin-supply = <&dc_12v>;
|
vin-supply = <&dc_12v>;
|
||||||
};
|
};
|
||||||
|
|
||||||
// vdd 5v: USB 2&3, USB Hub, Type-C, HDMI, MIPI, IR
|
|
||||||
vcc5v0_host: vcc5v0-host-regulator {
|
vcc5v0_host: vcc5v0-host-regulator {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
enable-active-high;
|
enable-active-high;
|
||||||
regulator-boot-on;
|
regulator-boot-on;
|
||||||
gpio = <&gpio4 RK_PD6 GPIO_ACTIVE_HIGH>; // bsp
|
gpio = <&gpio4 RK_PD6 GPIO_ACTIVE_HIGH>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&vcc5v0_host_en>;
|
pinctrl-0 = <&vcc5v0_host_en>;
|
||||||
regulator-name = "vcc5v0_host";
|
regulator-name = "vcc5v0_host";
|
||||||
// regulator-always-on;
|
|
||||||
vin-supply = <&vcc5v0_sys>;
|
vin-supply = <&vcc5v0_sys>;
|
||||||
};
|
};
|
||||||
|
|
||||||
vcc5v0_typec0: vbus-typec-regulator {
|
vcc5v0_typec0: vbus-typec-regulator {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
enable-active-high;
|
enable-active-high;
|
||||||
gpio = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>; // bsp
|
gpio = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&vcc5v0_typec_en>;
|
pinctrl-0 = <&vcc5v0_typec_en>;
|
||||||
regulator-name = "vcc5v0_typec0";
|
regulator-name = "vcc5v0_typec0";
|
||||||
vin-supply = <&vcc5v0_sys>;
|
vin-supply = <&vcc5v0_sys>;
|
||||||
};
|
};
|
||||||
|
|
||||||
vcc_sys: vcc5v0_sys: vcc5v0-sys { // bsp
|
vcc_sys: vcc5v0_sys: vcc5v0-sys {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
regulator-name = "vcc5v0_sys";
|
regulator-name = "vcc5v0_sys";
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
@ -221,8 +217,7 @@
|
|||||||
vin-supply = <&dc_12v>;
|
vin-supply = <&dc_12v>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
dc_12v: vdd_12v: dc-12v {
|
||||||
dc_12v: vdd_12v: dc-12v { // dc_12v vdd_12V
|
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
regulator-name = "dc_12v";
|
regulator-name = "dc_12v";
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
@ -231,8 +226,7 @@
|
|||||||
regulator-max-microvolt = <12000000>;
|
regulator-max-microvolt = <12000000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
rt5651-sound { // verify
|
rt5651-sound {
|
||||||
status = "okay";
|
|
||||||
compatible = "simple-audio-card";
|
compatible = "simple-audio-card";
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&hp_det>;
|
pinctrl-0 = <&hp_det>;
|
||||||
@ -263,7 +257,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
speaker_amp: speaker-amplifier { // verify
|
speaker_amp: speaker-amplifier {
|
||||||
compatible = "simple-audio-amplifier";
|
compatible = "simple-audio-amplifier";
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&spk_ctl>;
|
pinctrl-0 = <&spk_ctl>;
|
||||||
@ -277,7 +271,7 @@
|
|||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&breathe_led_pin>;
|
pinctrl-0 = <&breathe_led_pin>;
|
||||||
|
|
||||||
breathe_led: led-breathe-led { // bsp // vdd_12V
|
breathe_led: led-breathe-led {
|
||||||
label = "breathe_led";
|
label = "breathe_led";
|
||||||
linux,default-trigger = "heartbeat";
|
linux,default-trigger = "heartbeat";
|
||||||
default-state = "off";
|
default-state = "off";
|
||||||
@ -285,7 +279,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
fan0: gpio-fan { // verify // vcc5v0_sys
|
fan0: gpio-fan {
|
||||||
#cooling-cells = <2>;
|
#cooling-cells = <2>;
|
||||||
compatible = "gpio-fan";
|
compatible = "gpio-fan";
|
||||||
gpio-fan,speed-map = <0 0 3000 1>;
|
gpio-fan,speed-map = <0 0 3000 1>;
|
||||||
@ -303,7 +297,6 @@
|
|||||||
inactive-delay = <10>;
|
inactive-delay = <10>;
|
||||||
wait-delay = <100>;
|
wait-delay = <100>;
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
&cpu_l0 {
|
&cpu_l0 {
|
||||||
@ -330,7 +323,7 @@
|
|||||||
cpu-supply = <&vdd_cpu_b>;
|
cpu-supply = <&vdd_cpu_b>;
|
||||||
};
|
};
|
||||||
|
|
||||||
&cpu_thermal { // verify
|
&cpu_thermal {
|
||||||
trips {
|
trips {
|
||||||
cpu_hot: cpu_hot {
|
cpu_hot: cpu_hot {
|
||||||
hysteresis = <10000>;
|
hysteresis = <10000>;
|
||||||
@ -381,24 +374,6 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
|
||||||
&gmac {
|
|
||||||
assigned-clocks = <&cru SCLK_RMII_SRC>;
|
|
||||||
assigned-clock-parents = <&clkin_gmac>;
|
|
||||||
clock_in_out = "input";
|
|
||||||
phy-supply = <&vcc_lan>;
|
|
||||||
phy-mode = "rgmii";
|
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&rgmii_pins>;
|
|
||||||
snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
|
|
||||||
snps,reset-active-low;
|
|
||||||
snps,reset-delays-us = <0 10000 50000>;
|
|
||||||
tx_delay = <0x28>;
|
|
||||||
rx_delay = <0x11>;
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
*/
|
|
||||||
|
|
||||||
&gpu {
|
&gpu {
|
||||||
mali-supply = <&vdd_gpu>;
|
mali-supply = <&vdd_gpu>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
@ -433,13 +408,13 @@
|
|||||||
i2c-scl-falling-time-ns = <4>;
|
i2c-scl-falling-time-ns = <4>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
rk808: pmic@1b { // bsp checked
|
rk808: pmic@1b {
|
||||||
compatible = "rockchip,rk808";
|
compatible = "rockchip,rk808";
|
||||||
reg = <0x1b>;
|
reg = <0x1b>;
|
||||||
interrupt-parent = <&gpio1>;
|
interrupt-parent = <&gpio1>;
|
||||||
interrupts = <RK_PC5 IRQ_TYPE_LEVEL_LOW>;
|
interrupts = <RK_PC5 IRQ_TYPE_LEVEL_LOW>;
|
||||||
#clock-cells = <1>;
|
#clock-cells = <1>;
|
||||||
clock-output-names = "rk808-clkout1", "rk808-clkout2"; // bsp
|
clock-output-names = "rk808-clkout1", "rk808-clkout2";
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&pmic_int_l &pmic_dvs2>;
|
pinctrl-0 = <&pmic_int_l &pmic_dvs2>;
|
||||||
rockchip,system-power-controller;
|
rockchip,system-power-controller;
|
||||||
@ -616,7 +591,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
vdd_cpu_b: regulator@40 { // bsp checked
|
vdd_cpu_b: regulator@40 {
|
||||||
compatible = "silergy,syr827";
|
compatible = "silergy,syr827";
|
||||||
reg = <0x40>;
|
reg = <0x40>;
|
||||||
fcs,suspend-voltage-selector = <1>;
|
fcs,suspend-voltage-selector = <1>;
|
||||||
@ -635,7 +610,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
vdd_gpu: regulator@41 { // bsp checked
|
vdd_gpu: regulator@41 {
|
||||||
compatible = "silergy,syr828";
|
compatible = "silergy,syr828";
|
||||||
reg = <0x41>;
|
reg = <0x41>;
|
||||||
fcs,suspend-voltage-selector = <1>;
|
fcs,suspend-voltage-selector = <1>;
|
||||||
@ -674,27 +649,23 @@
|
|||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
// Used for HDMI
|
|
||||||
&i2c3 {
|
&i2c3 {
|
||||||
i2c-scl-rising-time-ns = <450>;
|
i2c-scl-rising-time-ns = <450>;
|
||||||
i2c-scl-falling-time-ns = <15>;
|
i2c-scl-falling-time-ns = <15>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
// Type-C
|
|
||||||
// Accelerometer
|
|
||||||
// Touch Screen
|
|
||||||
&i2c4 {
|
&i2c4 {
|
||||||
clock-frequency = <400000>;
|
clock-frequency = <400000>;
|
||||||
i2c-scl-rising-time-ns = <450>;
|
i2c-scl-rising-time-ns = <450>;
|
||||||
i2c-scl-falling-time-ns = <15>;
|
i2c-scl-falling-time-ns = <15>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
fusb302@22 { // bsp checked
|
fusb302@22 {
|
||||||
compatible = "fcs,fusb302";
|
compatible = "fcs,fusb302";
|
||||||
reg = <0x22>;
|
reg = <0x22>;
|
||||||
interrupt-parent = <&gpio1>;
|
interrupt-parent = <&gpio1>;
|
||||||
interrupts = <RK_PA2 IRQ_TYPE_LEVEL_LOW>; // bsp
|
interrupts = <RK_PA2 IRQ_TYPE_LEVEL_LOW>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&chg_cc_int_l>;
|
pinctrl-0 = <&chg_cc_int_l>;
|
||||||
vbus-supply = <&vcc5v0_typec0>;
|
vbus-supply = <&vcc5v0_typec0>;
|
||||||
@ -747,7 +718,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&io_domains { // bsp checked
|
&io_domains {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
bt656-supply = <&vcc_1v8>;
|
bt656-supply = <&vcc_1v8>;
|
||||||
audio-supply = <&vcca1v8_codec>;
|
audio-supply = <&vcca1v8_codec>;
|
||||||
@ -755,33 +726,16 @@
|
|||||||
gpio1830-supply = <&vcc_3v0>;
|
gpio1830-supply = <&vcc_3v0>;
|
||||||
};
|
};
|
||||||
|
|
||||||
&pmu_io_domains { // bsp checked
|
&pmu_io_domains {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
pmu1830-supply = <&vcc_1v8>;
|
pmu1830-supply = <&vcc_1v8>;
|
||||||
};
|
};
|
||||||
|
|
||||||
&hdmi { // bsp
|
&hdmi {
|
||||||
ddc-i2c-bus = <&i2c3>;
|
ddc-i2c-bus = <&i2c3>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
// &cpu_thermal {
|
|
||||||
// trips {
|
|
||||||
// cpu_hot: cpu_hot {
|
|
||||||
// hysteresis = <10000>;
|
|
||||||
// temperature = <65000>;
|
|
||||||
// type = "active";
|
|
||||||
// };
|
|
||||||
// };
|
|
||||||
|
|
||||||
// cooling-maps {
|
|
||||||
// map2 {
|
|
||||||
// cooling-device = <&fan0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
|
|
||||||
// trip = <&cpu_hot>;
|
|
||||||
// };
|
|
||||||
// };
|
|
||||||
// };
|
|
||||||
|
|
||||||
&pinctrl {
|
&pinctrl {
|
||||||
buttons {
|
buttons {
|
||||||
pwr_btn: pwr-btn {
|
pwr_btn: pwr-btn {
|
||||||
@ -797,31 +751,31 @@
|
|||||||
|
|
||||||
ir {
|
ir {
|
||||||
ir_int: ir-int {
|
ir_int: ir-int {
|
||||||
rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>; // bsp
|
rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
gmac {
|
gmac {
|
||||||
phy_intb: phy-intb {
|
phy_intb: phy-intb {
|
||||||
rockchip,pins = <3 RK_PB2 RK_FUNC_GPIO &pcfg_pull_up>; // verify
|
rockchip,pins = <3 RK_PB2 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||||
};
|
};
|
||||||
|
|
||||||
phy_rstb: phy-rstb {
|
phy_rstb: phy-rstb {
|
||||||
rockchip,pins = <3 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>; // verify
|
rockchip,pins = <3 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
pmic {
|
pmic {
|
||||||
cpu_b_sleep: cpu-b-sleep {
|
cpu_b_sleep: cpu-b-sleep {
|
||||||
rockchip,pins = <1 RK_PC1 RK_FUNC_GPIO &pcfg_pull_down>; // verify
|
rockchip,pins = <1 RK_PC1 RK_FUNC_GPIO &pcfg_pull_down>;
|
||||||
};
|
};
|
||||||
|
|
||||||
gpu_sleep: gpu-sleep {
|
gpu_sleep: gpu-sleep {
|
||||||
rockchip,pins = <1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_down>; // verify
|
rockchip,pins = <1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_down>;
|
||||||
};
|
};
|
||||||
|
|
||||||
pmic_int_l: pmic-int-l {
|
pmic_int_l: pmic-int-l {
|
||||||
rockchip,pins = <1 RK_PC5 RK_FUNC_GPIO &pcfg_pull_up>; // verify
|
rockchip,pins = <1 RK_PC5 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||||
};
|
};
|
||||||
|
|
||||||
pmic_dvs2: pmic-dvs2 {
|
pmic_dvs2: pmic-dvs2 {
|
||||||
@ -831,17 +785,17 @@
|
|||||||
|
|
||||||
sd {
|
sd {
|
||||||
sdmmc0_pwr_h: sdmmc0-pwr-h {
|
sdmmc0_pwr_h: sdmmc0-pwr-h {
|
||||||
rockchip,pins = <0 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>; // bsp
|
rockchip,pins = <0 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
usb2 {
|
usb2 {
|
||||||
vcc5v0_host_en: vcc5v0-host-en {
|
vcc5v0_host_en: vcc5v0-host-en {
|
||||||
rockchip,pins = <4 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>; // bsp
|
rockchip,pins = <4 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||||
};
|
};
|
||||||
|
|
||||||
vcc5v0_typec_en: vcc5v0-typec-en {
|
vcc5v0_typec_en: vcc5v0-typec-en {
|
||||||
rockchip,pins = <4 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>; // bsp
|
rockchip,pins = <4 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||||
};
|
};
|
||||||
|
|
||||||
hub_rst: hub-rst {
|
hub_rst: hub-rst {
|
||||||
@ -851,66 +805,66 @@
|
|||||||
|
|
||||||
sdio-pwrseq {
|
sdio-pwrseq {
|
||||||
wifi_reg_on_h: wifi-reg-on-h {
|
wifi_reg_on_h: wifi-reg-on-h {
|
||||||
rockchip,pins = <0 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>; // checked
|
rockchip,pins = <0 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
wifi {
|
wifi {
|
||||||
wifi_host_wake_l: wifi-host-wake-l {
|
wifi_host_wake_l: wifi-host-wake-l {
|
||||||
rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>; // checked
|
rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
bluetooth {
|
bluetooth {
|
||||||
bt_reg_on_h: bt-enable-h {
|
bt_reg_on_h: bt-enable-h {
|
||||||
rockchip,pins = <0 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>; // checked
|
rockchip,pins = <0 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||||
};
|
};
|
||||||
|
|
||||||
bt_host_wake_l: bt-host-wake-l {
|
bt_host_wake_l: bt-host-wake-l {
|
||||||
rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>; // checked
|
rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||||
};
|
};
|
||||||
|
|
||||||
bt_wake_l: bt-wake-l {
|
bt_wake_l: bt-wake-l {
|
||||||
rockchip,pins = <2 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>; // checked
|
rockchip,pins = <2 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
fusb302 {
|
fusb302 {
|
||||||
chg_cc_int_l: chg-cc-int-l {
|
chg_cc_int_l: chg-cc-int-l {
|
||||||
rockchip,pins = <1 RK_PA2 RK_FUNC_GPIO &pcfg_pull_up>; // bsp
|
rockchip,pins = <1 RK_PA2 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
leds {
|
leds {
|
||||||
breathe_led_pin: breathe-led-pin {
|
breathe_led_pin: breathe-led-pin {
|
||||||
rockchip,pins = <4 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>; // bsp
|
rockchip,pins = <4 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
gsm {
|
gsm {
|
||||||
vcc3v3_gsm_en: vcc3v3-gsm-en {
|
vcc3v3_gsm_en: vcc3v3-gsm-en {
|
||||||
rockchip,pins = <4 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>; // bsp
|
rockchip,pins = <4 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
headphone {
|
headphone {
|
||||||
hp_det: hp-det {
|
hp_det: hp-det {
|
||||||
rockchip,pins = <4 RK_PD4 RK_FUNC_GPIO &pcfg_pull_up>; // verify
|
rockchip,pins = <4 RK_PD4 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||||
};
|
};
|
||||||
spk_ctl: spk-ctl {
|
spk_ctl: spk-ctl {
|
||||||
rockchip,pins = <0 RK_PB3 RK_FUNC_GPIO &pcfg_pull_up>; // verify
|
rockchip,pins = <0 RK_PB3 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
mma8452 {
|
mma8452 {
|
||||||
gsensor_int: gsensor-int {
|
gsensor_int: gsensor-int {
|
||||||
rockchip,pins = <1 RK_PC7 RK_FUNC_GPIO &pcfg_pull_up>; // bsp
|
rockchip,pins = <1 RK_PC7 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
i2s0 {
|
i2s0 {
|
||||||
i2s_8ch_mclk_pin: i2s-8ch-mclk-pin {
|
i2s_8ch_mclk_pin: i2s-8ch-mclk-pin {
|
||||||
rockchip,pins = <4 RK_PA0 1 &pcfg_pull_none>; // verify
|
rockchip,pins = <4 RK_PA0 1 &pcfg_pull_none>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -932,7 +886,6 @@
|
|||||||
bus-width = <8>;
|
bus-width = <8>;
|
||||||
mmc-hs400-1_8v;
|
mmc-hs400-1_8v;
|
||||||
mmc-hs400-enhanced-strobe;
|
mmc-hs400-enhanced-strobe;
|
||||||
// keep-power-in-suspend;
|
|
||||||
non-removable;
|
non-removable;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
@ -958,7 +911,7 @@
|
|||||||
reg = <1>;
|
reg = <1>;
|
||||||
compatible = "brcm,bcm43455-fmac";
|
compatible = "brcm,bcm43455-fmac";
|
||||||
interrupt-parent = <&gpio0>;
|
interrupt-parent = <&gpio0>;
|
||||||
interrupts = <RK_PA3 GPIO_ACTIVE_HIGH>; // bsp verify
|
interrupts = <RK_PA3 GPIO_ACTIVE_HIGH>;
|
||||||
interrupt-names = "host-wake";
|
interrupt-names = "host-wake";
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&wifi_host_wake_l>;
|
pinctrl-0 = <&wifi_host_wake_l>;
|
||||||
@ -969,7 +922,7 @@
|
|||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
cap-mmc-highspeed;
|
cap-mmc-highspeed;
|
||||||
cap-sd-highspeed;
|
cap-sd-highspeed;
|
||||||
cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>; // checked
|
cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>;
|
||||||
clock-frequency = <150000000>;
|
clock-frequency = <150000000>;
|
||||||
disable-wp;
|
disable-wp;
|
||||||
max-frequency = <150000000>;
|
max-frequency = <150000000>;
|
||||||
@ -980,11 +933,11 @@
|
|||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
&tcphy0 { // verify
|
&tcphy0 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
&tcphy0_dp { // verify
|
&tcphy0_dp {
|
||||||
port {
|
port {
|
||||||
tcphy0_typec_dp: endpoint {
|
tcphy0_typec_dp: endpoint {
|
||||||
remote-endpoint = <&typec_dp>;
|
remote-endpoint = <&typec_dp>;
|
||||||
@ -992,7 +945,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&tcphy0_usb3 { // verify
|
&tcphy0_usb3 {
|
||||||
port {
|
port {
|
||||||
tcphy0_typec_ss: endpoint {
|
tcphy0_typec_ss: endpoint {
|
||||||
remote-endpoint = <&typec_ss>;
|
remote-endpoint = <&typec_ss>;
|
||||||
@ -1000,7 +953,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&tcphy1 { // verify
|
&tcphy1 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2023 tdleiyao <tdleiyao@gmail.com>
|
* Copyright (c) 2023 tdleiyao <tdleiyao@gmail.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
|
|
||||||
#include <dt-bindings/gpio/gpio.h>
|
#include <dt-bindings/gpio/gpio.h>
|
||||||
@ -16,8 +16,8 @@
|
|||||||
|
|
||||||
aliases {
|
aliases {
|
||||||
ethernet0 = &gmac1;
|
ethernet0 = &gmac1;
|
||||||
mmc0 = &sdmmc0;
|
mmc0 = &sdhci;
|
||||||
mmc1 = &sdhci;
|
mmc1 = &sdmmc0;
|
||||||
mmc2 = &sdmmc1;
|
mmc2 = &sdmmc1;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -34,7 +34,7 @@
|
|||||||
|
|
||||||
leds {
|
leds {
|
||||||
compatible = "gpio-leds";
|
compatible = "gpio-leds";
|
||||||
//Corresponds to the actual order
|
|
||||||
led_pwr: led-pwr {
|
led_pwr: led-pwr {
|
||||||
label = "led-pwr";
|
label = "led-pwr";
|
||||||
default-state = "on";
|
default-state = "on";
|
||||||
@ -44,7 +44,7 @@
|
|||||||
retain-state-suspended;
|
retain-state-suspended;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
led_wifi: led-wifi {
|
led_wifi: led-wifi {
|
||||||
label = "led-wifi";
|
label = "led-wifi";
|
||||||
default-state = "off";
|
default-state = "off";
|
||||||
@ -54,7 +54,7 @@
|
|||||||
retain-state-suspended;
|
retain-state-suspended;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
led_eth: led-eth {
|
led_eth: led-eth {
|
||||||
label = "led-eth";
|
label = "led-eth";
|
||||||
default-state = "off";
|
default-state = "off";
|
||||||
@ -64,7 +64,7 @@
|
|||||||
retain-state-suspended;
|
retain-state-suspended;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
led_status: led-status {
|
led_status: led-status {
|
||||||
label = "led-status";
|
label = "led-status";
|
||||||
default-state = "on";
|
default-state = "on";
|
||||||
@ -76,7 +76,7 @@
|
|||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
vbus: vbus-regulator {
|
vbus: vbus-regulator {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
regulator-name = "vbus";
|
regulator-name = "vbus";
|
||||||
@ -107,7 +107,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
sdio_pwrseq: sdio-pwrseq {
|
sdio_pwrseq: sdio-pwrseq {
|
||||||
status = "okay";
|
|
||||||
compatible = "mmc-pwrseq-simple";
|
compatible = "mmc-pwrseq-simple";
|
||||||
clocks = <&rk809 1>;
|
clocks = <&rk809 1>;
|
||||||
clock-names = "ext_clock";
|
clock-names = "ext_clock";
|
||||||
@ -116,17 +115,6 @@
|
|||||||
reset-gpios = <&gpio2 RK_PB1 GPIO_ACTIVE_LOW>;
|
reset-gpios = <&gpio2 RK_PB1 GPIO_ACTIVE_LOW>;
|
||||||
post-power-on-delay-ms = <100>;
|
post-power-on-delay-ms = <100>;
|
||||||
};
|
};
|
||||||
|
|
||||||
wireless_wlan: wireless-wlan {
|
|
||||||
compatible = "wlan-platdata";
|
|
||||||
rockchip,grf = <&grf>;
|
|
||||||
wifi_chip_type = "ap6236";
|
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&wifi_host_wake_irq>;
|
|
||||||
WIFI,host_wake_irq = <&gpio2 RK_PB2 GPIO_ACTIVE_HIGH>;
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
&cpu0 {
|
&cpu0 {
|
||||||
@ -145,10 +133,10 @@
|
|||||||
cpu-supply = <&vdd_cpu>;
|
cpu-supply = <&vdd_cpu>;
|
||||||
};
|
};
|
||||||
|
|
||||||
//&gpu {
|
&gpu {
|
||||||
// mali-supply = <&vdd_gpu>;
|
mali-supply = <&vdd_gpu>;
|
||||||
// status = "okay";
|
status = "okay";
|
||||||
//};
|
};
|
||||||
|
|
||||||
&gmac1 {
|
&gmac1 {
|
||||||
assigned-clocks = <&cru SCLK_GMAC1_RX_TX>, <&cru SCLK_GMAC1_RGMII_SPEED>, <&cru SCLK_GMAC1>;
|
assigned-clocks = <&cru SCLK_GMAC1_RX_TX>, <&cru SCLK_GMAC1_RGMII_SPEED>, <&cru SCLK_GMAC1>;
|
||||||
@ -165,13 +153,13 @@
|
|||||||
&gmac1m0_rgmii_bus>;
|
&gmac1m0_rgmii_bus>;
|
||||||
snps,reset-gpio = <&gpio3 RK_PA1 GPIO_ACTIVE_LOW>;
|
snps,reset-gpio = <&gpio3 RK_PA1 GPIO_ACTIVE_LOW>;
|
||||||
snps,reset-active-low;
|
snps,reset-active-low;
|
||||||
/* Reset time is 20ms, 100ms for rtl8211f, also works well here */
|
|
||||||
snps,reset-delays-us = <0 20000 100000>;
|
snps,reset-delays-us = <0 20000 100000>;
|
||||||
tx_delay = <0x30>;
|
tx_delay = <0x30>;
|
||||||
rx_delay = <0x10>;
|
rx_delay = <0x10>;
|
||||||
phy-handle = <&rgmii_phy1>;
|
phy-handle = <&rgmii_phy1>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
&mdio1 {
|
&mdio1 {
|
||||||
rgmii_phy1: ethernet-phy@0 {
|
rgmii_phy1: ethernet-phy@0 {
|
||||||
compatible = "ethernet-phy-ieee802.3-c22";
|
compatible = "ethernet-phy-ieee802.3-c22";
|
||||||
@ -419,19 +407,19 @@
|
|||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
&pinctrl {
|
&pinctrl {
|
||||||
sdio-pwrseq {
|
sdio-pwrseq {
|
||||||
wifi_enable_h: wifi-enable-h {
|
wifi_enable_h: wifi-enable-h {
|
||||||
rockchip,pins = <2 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>;
|
rockchip,pins = <2 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
wireless-wlan {
|
wireless-wlan {
|
||||||
wifi_host_wake_irq: wifi-host-wake-irq {
|
wifi_host_wake_irq: wifi-host-wake-irq {
|
||||||
rockchip,pins = <2 RK_PB2 RK_FUNC_GPIO &pcfg_pull_down>;
|
rockchip,pins = <2 RK_PB2 RK_FUNC_GPIO &pcfg_pull_down>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
bt {
|
bt {
|
||||||
bt_enable_h: bt-enable-h {
|
bt_enable_h: bt-enable-h {
|
||||||
rockchip,pins = <2 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>;
|
rockchip,pins = <2 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||||
@ -450,11 +438,11 @@
|
|||||||
led_pwr_enable_h: led-pwr-enable-h {
|
led_pwr_enable_h: led-pwr-enable-h {
|
||||||
rockchip,pins = <0 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>;
|
rockchip,pins = <0 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||||
};
|
};
|
||||||
|
|
||||||
led_wifi_enable_h: led-wifi-enable-h {
|
led_wifi_enable_h: led-wifi-enable-h {
|
||||||
rockchip,pins = <0 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>;
|
rockchip,pins = <0 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||||
};
|
};
|
||||||
|
|
||||||
led_eth_enable_h: led-eth-enable-h {
|
led_eth_enable_h: led-eth-enable-h {
|
||||||
rockchip,pins = <0 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>;
|
rockchip,pins = <0 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||||
};
|
};
|
||||||
@ -469,7 +457,6 @@
|
|||||||
rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>;
|
rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
&pmu_io_domains {
|
&pmu_io_domains {
|
||||||
@ -522,7 +509,6 @@
|
|||||||
non-removable;
|
non-removable;
|
||||||
mmc-pwrseq = <&sdio_pwrseq>;
|
mmc-pwrseq = <&sdio_pwrseq>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
&tsadc {
|
&tsadc {
|
||||||
@ -533,7 +519,7 @@
|
|||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&uart1m0_xfer &uart1m0_ctsn &uart1m0_rtsn>;
|
pinctrl-0 = <&uart1m0_xfer &uart1m0_ctsn &uart1m0_rtsn>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
bluetooth {
|
bluetooth {
|
||||||
compatible = "brcm,bcm43438-bt";
|
compatible = "brcm,bcm43438-bt";
|
||||||
clocks = <&rk809 1>;
|
clocks = <&rk809 1>;
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2023 tdleiyao <tdleiyao@gmail.com>
|
* Copyright (c) 2023 tdleiyao <tdleiyao@gmail.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
|
|
||||||
#include <dt-bindings/gpio/gpio.h>
|
#include <dt-bindings/gpio/gpio.h>
|
||||||
@ -11,8 +11,8 @@
|
|||||||
#include "rk3568.dtsi"
|
#include "rk3568.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "seewo sv21-rk3568";
|
model = "seewo SV21";
|
||||||
compatible = "seewo,sv21-rk3568", "rockchip,rk3568";
|
compatible = "seewo,sv21", "rockchip,rk3568";
|
||||||
|
|
||||||
aliases {
|
aliases {
|
||||||
ethernet0 = &gmac1;
|
ethernet0 = &gmac1;
|
||||||
@ -25,8 +25,7 @@
|
|||||||
chosen: chosen {
|
chosen: chosen {
|
||||||
stdout-path = "serial2:1500000n8";
|
stdout-path = "serial2:1500000n8";
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
|
||||||
adc-keys {
|
adc-keys {
|
||||||
compatible = "adc-keys";
|
compatible = "adc-keys";
|
||||||
io-channels = <&saradc 0>;
|
io-channels = <&saradc 0>;
|
||||||
@ -40,12 +39,14 @@
|
|||||||
press-threshold-microvolt = <1800>;
|
press-threshold-microvolt = <1800>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
*/
|
|
||||||
vbus: vbus-regulator {
|
dc_12v: dc-12v-regulator {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
regulator-name = "vbus";
|
regulator-name = "dc_12v";
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
regulator-boot-on;
|
regulator-boot-on;
|
||||||
|
regulator-min-microvolt = <12000000>;
|
||||||
|
regulator-max-microvolt = <12000000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
vcc5v0_sys: vcc5v0-sys-regulator {
|
vcc5v0_sys: vcc5v0-sys-regulator {
|
||||||
@ -55,9 +56,9 @@
|
|||||||
regulator-boot-on;
|
regulator-boot-on;
|
||||||
regulator-min-microvolt = <5000000>;
|
regulator-min-microvolt = <5000000>;
|
||||||
regulator-max-microvolt = <5000000>;
|
regulator-max-microvolt = <5000000>;
|
||||||
vin-supply = <&vbus>;
|
vin-supply = <&dc_12v>;
|
||||||
};
|
};
|
||||||
|
|
||||||
vcc3v3_sys: vcc3v3-sys-regulator {
|
vcc3v3_sys: vcc3v3-sys-regulator {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
regulator-name = "vcc3v3_sys";
|
regulator-name = "vcc3v3_sys";
|
||||||
@ -65,9 +66,9 @@
|
|||||||
regulator-boot-on;
|
regulator-boot-on;
|
||||||
regulator-min-microvolt = <3300000>;
|
regulator-min-microvolt = <3300000>;
|
||||||
regulator-max-microvolt = <3300000>;
|
regulator-max-microvolt = <3300000>;
|
||||||
vin-supply = <&vbus>;
|
vin-supply = <&dc_12v>;
|
||||||
};
|
};
|
||||||
|
|
||||||
vcc5v0_usb_host: vcc5v0-usb-host-regulator {
|
vcc5v0_usb_host: vcc5v0-usb-host-regulator {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
regulator-name = "vcc5v0_usb_host";
|
regulator-name = "vcc5v0_usb_host";
|
||||||
@ -77,7 +78,7 @@
|
|||||||
pinctrl-0 = <&vcc5v0_usb_host_en_pin>;
|
pinctrl-0 = <&vcc5v0_usb_host_en_pin>;
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
};
|
};
|
||||||
|
|
||||||
vcc5v0_usb_otg: vcc5v0-usb-otg-regulator {
|
vcc5v0_usb_otg: vcc5v0-usb-otg-regulator {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
regulator-name = "vcc5v0_usb_otg";
|
regulator-name = "vcc5v0_usb_otg";
|
||||||
@ -85,7 +86,19 @@
|
|||||||
gpio = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>;
|
gpio = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&vcc5v0_usb_otg_en_pin>;
|
pinctrl-0 = <&vcc5v0_usb_otg_en_pin>;
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&combphy0 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&combphy1 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&combphy2 {
|
||||||
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
&cpu0 {
|
&cpu0 {
|
||||||
@ -121,10 +134,10 @@
|
|||||||
snps,reset-delays-us = <0 1000000 2000000>;
|
snps,reset-delays-us = <0 1000000 2000000>;
|
||||||
tx_delay = <0x2a>;
|
tx_delay = <0x2a>;
|
||||||
rx_delay = <0x2a>;
|
rx_delay = <0x2a>;
|
||||||
fixed-link = <0x1 0x1 0x3e8 0x1 0x1>;
|
|
||||||
phy-handle = <&rgmii_phy1>;
|
phy-handle = <&rgmii_phy1>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
&mdio1 {
|
&mdio1 {
|
||||||
rgmii_phy1: ethernet-phy@0 {
|
rgmii_phy1: ethernet-phy@0 {
|
||||||
compatible = "ethernet-phy-ieee802.3-c22";
|
compatible = "ethernet-phy-ieee802.3-c22";
|
||||||
@ -135,13 +148,13 @@
|
|||||||
&i2c0 {
|
&i2c0 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
vdd_cpu: regulator@1c {
|
vdd_cpu: regulator@40 {
|
||||||
compatible = "tcs,tcs4525";
|
compatible = "silergy,syr827";
|
||||||
reg = <0x40>;
|
reg = <0x40>;
|
||||||
fcs,suspend-voltage-selector = <1>;
|
fcs,suspend-voltage-selector = <1>;
|
||||||
regulator-name = "vdd_cpu";
|
regulator-name = "vdd_cpu";
|
||||||
regulator-min-microvolt = <800000>;
|
regulator-min-microvolt = <712500>;
|
||||||
regulator-max-microvolt = <1150000>;
|
regulator-max-microvolt = <1500000>;
|
||||||
regulator-ramp-delay = <1000>;
|
regulator-ramp-delay = <1000>;
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
regulator-boot-on;
|
regulator-boot-on;
|
||||||
@ -357,10 +370,6 @@
|
|||||||
regulator-off-in-suspend;
|
regulator-off-in-suspend;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
codec {
|
|
||||||
mic-in-differential;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -394,7 +403,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&pinctrl {
|
&pinctrl {
|
||||||
|
|
||||||
ethernet {
|
ethernet {
|
||||||
eth_phy_rst: eth-phy-rst {
|
eth_phy_rst: eth-phy-rst {
|
||||||
rockchip,pins = <3 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
|
rockchip,pins = <3 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||||
@ -406,24 +414,22 @@
|
|||||||
rockchip,pins = <0 RK_PD3 RK_FUNC_GPIO &pcfg_pull_up>;
|
rockchip,pins = <0 RK_PD3 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
usb {
|
usb {
|
||||||
vcc5v0_usb_host_en_pin: vcc5v0-usb-host-en-pin {
|
vcc5v0_usb_host_en_pin: vcc5v0-usb-host-en-pin {
|
||||||
rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
|
rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||||
};
|
};
|
||||||
|
|
||||||
vcc5v0_usb_otg_en_pin: vcc5v0-usb-otg-en-pin {
|
vcc5v0_usb_otg_en_pin: vcc5v0-usb-otg-en-pin {
|
||||||
rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>,
|
rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||||
<3 RK_PC6 RK_FUNC_GPIO &pcfg_output_high>;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
pmic {
|
pmic {
|
||||||
pmic_int_l: pmic-int-l {
|
pmic_int_l: pmic-int-l {
|
||||||
rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>;
|
rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
&pmu_io_domains {
|
&pmu_io_domains {
|
||||||
@ -444,6 +450,10 @@
|
|||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&sata2 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&sdhci {
|
&sdhci {
|
||||||
bus-width = <8>;
|
bus-width = <8>;
|
||||||
max-frequency = <200000000>;
|
max-frequency = <200000000>;
|
||||||
@ -510,8 +520,10 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&usb_host1_xhci {
|
&usb_host1_xhci {
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
rtl8153: device@2 {
|
rtl8153: device@2 {
|
||||||
compatible = "usbbda,8153";
|
compatible = "usbbda,8153";
|
||||||
reg = <2>;
|
reg = <2>;
|
||||||
@ -546,20 +558,3 @@
|
|||||||
phy-supply = <&vcc5v0_usb_otg>;
|
phy-supply = <&vcc5v0_usb_otg>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
&combphy0 {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
&combphy1 {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
&combphy2 {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
&sata2 {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
|
@ -347,8 +347,8 @@ define Device/rumu3f_fine-3399
|
|||||||
DEVICE_VENDOR := RUMU3F
|
DEVICE_VENDOR := RUMU3F
|
||||||
DEVICE_MODEL := FINE 3399
|
DEVICE_MODEL := FINE 3399
|
||||||
SOC := rk3399
|
SOC := rk3399
|
||||||
UBOOT_DEVICE_NAME := fine-3399-rk3399
|
UBOOT_DEVICE_NAME := fine3399-rk3399
|
||||||
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-bin | gzip | append-metadata
|
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
|
||||||
DEVICE_PACKAGES := kmod-r8168 -urngd
|
DEVICE_PACKAGES := kmod-r8168 -urngd
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += rumu3f_fine-3399
|
TARGET_DEVICES += rumu3f_fine-3399
|
||||||
@ -364,15 +364,15 @@ define Device/scensmart_sv901-eaio
|
|||||||
endef
|
endef
|
||||||
TARGET_DEVICES += scensmart_sv901-eaio
|
TARGET_DEVICES += scensmart_sv901-eaio
|
||||||
|
|
||||||
define Device/seewo_sv21-rk3568
|
define Device/seewo_sv21
|
||||||
DEVICE_VENDOR := Seewo
|
DEVICE_VENDOR := Seewo
|
||||||
DEVICE_MODEL := sv21
|
DEVICE_MODEL := SV21
|
||||||
DEVICE_DTS := rockchip/rk3568-seewo-sv21
|
DEVICE_DTS := rockchip/rk3568-seewo-sv21
|
||||||
UBOOT_DEVICE_NAME := seewo-sv21-rk3568
|
UBOOT_DEVICE_NAME := seewo-sv21-rk3568
|
||||||
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
|
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
|
||||||
DEVICE_PACKAGES := kmod-usb-net-rtl8152 kmod-ata-ahci-dwc
|
DEVICE_PACKAGES := kmod-usb-net-rtl8152 kmod-ata-ahci-dwc
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += seewo_sv21-rk3568
|
TARGET_DEVICES += seewo_sv21
|
||||||
|
|
||||||
define Device/sharevdi_h3399pc
|
define Device/sharevdi_h3399pc
|
||||||
DEVICE_VENDOR := SHAREVDI
|
DEVICE_VENDOR := SHAREVDI
|
||||||
|
Loading…
Reference in New Issue
Block a user