【Doanduy09】 在 https://github.com/istoreos/istoreos/issues/2711 发布:
Thanks for your support of the NSY-G68 AX3000 Router device, thank you very much, here is the device’s data,
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/dts-v1/;
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/pwm/pwm.h>
#include <dt-bindings/leds/common.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/soc/rockchip,vop2.h>
#include <dt-bindings/pinctrl/rockchip.h>
#include “rk3568.dtsi”
/ {
model = “NSY-G68 AX3000 Router”;
compatible = “nsy,g68-plus”, “rockchip,rk3568”;
aliases {
ethernet0 = &gmac0;
ethernet1 = &gmac1;
mmc0 = &sdhci;
};
chosen: chosen {
stdout-path = "serial2:1500000n8";
};
fiq-debugger {
compatible = "rockchip,fiq-debugger";
rockchip,serial-id = <2>;
rockchip,wake-irq = <0>;
/* If enable uart uses irq instead of fiq */
rockchip,irq-mode-enable = <1>;
rockchip,baudrate = <1500000>; /* Only 115200 and 1500000 */
interrupts = <GIC_SPI 252 IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&uart2m0_xfer>;
status = "okay";
};
debug: debug@fd904000 {
compatible = "rockchip,debug";
reg = <0x0 0xfd904000 0x0 0x1000>,
<0x0 0xfd905000 0x0 0x1000>,
<0x0 0xfd906000 0x0 0x1000>,
<0x0 0xfd907000 0x0 0x1000>;
};
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>;
};
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>;
};
vcc5v0_sys: vcc5v0-sys {
compatible = "regulator-fixed";
regulator-name = "vcc5v0_sys";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
vin-supply = <&dc_12v>;
};
vcc5v0_usb: vcc5v0-usb {
compatible = "regulator-fixed";
regulator-name = "vcc5v0_usb";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
vin-supply = <&dc_12v>;
};
vcc5v0_host: vcc5v0-host-regulator {
compatible = "regulator-fixed";
regulator-name = "vcc5v0_host";
regulator-boot-on;
regulator-always-on;
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
enable-active-high;
gpio = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>;
vin-supply = <&vcc5v0_usb>;
pinctrl-names = "default";
pinctrl-0 = <&vcc5v0_host_en>;
};
vcc5v0_otg: vcc5v0-otg-regulator {
compatible = "regulator-fixed";
regulator-name = "vcc5v0_otg";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
enable-active-high;
regulator-boot-on;
regulator-always-on;
gpio = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>;
vin-supply = <&vcc5v0_usb>;
pinctrl-names = "default";
pinctrl-0 = <&vcc5v0_otg_en>;
};
vcc3v3_lcd0_n: vcc3v3-lcd0-n {
compatible = "regulator-fixed";
regulator-name = "vcc3v3_lcd0_n";
regulator-boot-on;
gpio = <&gpio0 RK_PC7 GPIO_ACTIVE_HIGH>;
enable-active-high;
pinctrl-0 = <&vcc3v3_lcd0_n_en>;
pinctrl-names = "default";
regulator-state-mem {
regulator-off-in-suspend;
};
};
vcc3v3_lcd1_n: vcc3v3-lcd1-n {
compatible = "regulator-fixed";
regulator-name = "vcc3v3_lcd1_n";
regulator-boot-on;
gpio = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>;
enable-active-high;
pinctrl-0 = <&vcc3v3_lcd1_n_en>;
pinctrl-names = "default";
regulator-state-mem {
regulator-off-in-suspend;
};
};
sdio_pwrseq: sdio-pwrseq {
compatible = "mmc-pwrseq-simple";
clocks = <&rk809 1>;
clock-names = "ext_clock";
pinctrl-names = "default";
pinctrl-0 = <&wifi_enable_h>;
post-power-on-delay-ms = <200>;
reset-gpios = <&gpio3 RK_PD5 GPIO_ACTIVE_LOW>;
};
vcc1v8_adc: vcc1v8-adc {
compatible = "regulator-fixed";
regulator-name = "vcc1v8_adc";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
vin-supply = <&vcc3v3_sys>;
};
vcc2v5_ddr: vcc2v5-ddr {
compatible = "regulator-fixed";
regulator-name = "vcc2v5-sys";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <2500000>;
regulator-max-microvolt = <2500000>;
vin-supply = <&vcc3v3_sys>;
};
vcc3v3_vga: vcc3v3-vga {
compatible = "regulator-fixed";
regulator-name = "vcc3v3_vga";
regulator-always-on;
regulator-boot-on;
gpio = <&gpio0 RK_PD5 GPIO_ACTIVE_HIGH>;
pinctrl-0 = <&vcc3v3_vga_en>;
pinctrl-names = "default";
enable-active-high;
vin-supply = <&vcc3v3_sys>;
};
pcie30_avdd0v9: pcie30-avdd0v9 {
compatible = "regulator-fixed";
regulator-name = "pcie30_avdd0v9";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <900000>;
regulator-max-microvolt = <900000>;
vin-supply = <&vcc3v3_sys>;
};
pcie30_avdd1v8: pcie30-avdd1v8 {
compatible = "regulator-fixed";
regulator-name = "pcie30_avdd1v8";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
vin-supply = <&vcc3v3_sys>;
};
vcc3v3_pcie: vcc3v3-pcie {
compatible = "regulator-fixed";
regulator-name = "vcc3v3_pcie";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
enable-active-high;
gpio = <&gpio0 RK_PD4 GPIO_ACTIVE_HIGH>;
pinctrl-0 = <&vcc3v3_pcie_en>;
pinctrl-names = "default";
startup-delay-us = <5000>;
vin-supply = <&vcc3v3_sys>;
};
vcc3v3_bu: c3v3_buvcc3v3-bu {
compatible = "regulator-fixed";
regulator-name = "vcc3v3_bu";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
vin-supply = <&vcc5v0_sys>;
};
vcc_camera: vcc-camera-regulator {
compatible = "regulator-fixed";
gpio = <&gpio0 RK_PC1 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&camera_pwr>;
regulator-name = "vcc_camera";
enable-active-high;
regulator-always-on;
regulator-boot-on;
};
vdd_cpu: vdd-cpu {
compatible = "pwm-regulator";
rockchip,pwm_id = <0>;
rockchip,pwm_voltage = <900000>;
pwms = <&pwm0 0 25000 1>;
regulator-name = "vdd_cpu";
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <1400000>;
regulator-init-microvolt = <1150000>;
regulator-enable-ramp-delay = <300>;
regulator-ramp-delay = <8000>;
regulator-always-on;
regulator-boot-on;
};
gmac0_xpcsclk: xpcs-gmac0-clock {
compatible = "fixed-clock";
clock-frequency = <125000000>;
clock-output-names = "clk_gmac0_xpcs_mii";
#clock-cells = <0>;
};
gmac1_xpcsclk: xpcs-gmac1-clock {
compatible = "fixed-clock";
clock-frequency = <125000000>;
clock-output-names = "clk_gmac1_xpcs_mii";
#clock-cells = <0>;
};
adc_keys: adc-keys {
compatible = "adc-keys";
io-channels = <&saradc 0>;
io-channel-names = "buttons";
keyup-threshold-microvolt = <1800000>;
poll-interval = <100>;
status = "okay";
recovery-key {
label = "F12";
linux,code = <KEY_F12>;
press-threshold-microvolt = <1750>;
};
};
leds {
compatible = "gpio-leds";
led-power {
label = "led-power";
default-state = "on";
gpios = <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&led_power_en>;
};
};
rtlgsw@0 {
compatible = "realtek,rtl8367s";
realtek,mdio = <&mdio0>;
mii-bus = <&mdio0>;
realtek,id = <29>;
phy-id = <29>;
cpu_port = <7>;
//txdelay, rxdelay, mode, ability.force_mode, ability.txpause, ability.rxpause, ability.link, ability.duplex, speed
//sgmii,
realtek,extif1 = <0 0 11 1 1 1 1 1 2>;
//rgmii
realtek,extif2 = <0 0 1 1 1 1 1 1 2>;
status = "okay";
};
};
&i2c0 {
status = "okay";
rk809: pmic@20 {
compatible = "rockchip,rk809";
reg = <0x20>;
interrupt-parent = <&gpio0>;
interrupts = <RK_PA3 IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default", "pmic-sleep", "pmic-power-off", "pmic-reset";
pinctrl-0 = <&pmic_int>;
pinctrl-1 = <&soc_slppin_slp &rk817_slppin_slp>;
pinctrl-2 = <&soc_slppin_gpio &rk817_slppin_pwrdn>;
pinctrl-3 = <&soc_slppin_gpio &rk817_slppin_rst>;
rockchip,system-power-controller;
wakeup-source;
#clock-cells = <1>;
clock-output-names = "rk808-clkout1\0rk808-clkout2";
pmic-reset-func = <0>;
not-save-power-en = <1>;
vcc1-supply = <&vcc3v3_sys>;
vcc2-supply = <&vcc3v3_sys>;
vcc3-supply = <&vcc3v3_sys>;
vcc4-supply = <&vcc3v3_sys>;
vcc5-supply = <&vcc3v3_sys>;
vcc6-supply = <&vcc3v3_sys>;
vcc7-supply = <&vcc3v3_sys>;
vcc8-supply = <&vcc3v3_sys>;
vcc9-supply = <&vcc3v3_sys>;
pwrkey {
status = "okay";
};
pinctrl_rk8xx: pinctrl_rk8xx {
gpio-controller;
#gpio-cells = <2>;
rk817_slppin_null: rk817_slppin_null {
pins = "gpio_slp";
function = "pin_fun0";
};
rk817_slppin_slp: rk817_slppin_slp {
pins = "gpio_slp";
function = "pin_fun1";
};
rk817_slppin_pwrdn: rk817_slppin_pwrdn {
pins = "gpio_slp";
function = "pin_fun2";
};
rk817_slppin_rst: rk817_slppin_rst {
pins = "gpio_slp";
function = "pin_fun3";
};
};
regulators {
vdd_logic: DCDC_REG1 {
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <1350000>;
regulator-init-microvolt = <900000>;
regulator-ramp-delay = <6001>;
regulator-initial-mode = <2>;
regulator-name = "vdd_logic";
regulator-state-mem {
regulator-off-in-suspend;
};
};
vdd_gpu: DCDC_REG2 {
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <1350000>;
regulator-init-microvolt = <1000000>;
regulator-ramp-delay = <6001>;
regulator-initial-mode = <2>;
regulator-name = "vdd_gpu";
regulator-state-mem {
regulator-off-in-suspend;
};
};
vcc_ddr: DCDC_REG3 {
regulator-always-on;
regulator-boot-on;
regulator-initial-mode = <2>;
regulator-name = "vcc_ddr";
regulator-state-mem {
regulator-on-in-suspend;
};
};
vdd_npu: DCDC_REG4 {
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <1350000>;
regulator-init-microvolt = <1000000>;
regulator-ramp-delay = <6001>;
regulator-initial-mode = <2>;
regulator-name = "vdd_npu";
regulator-state-mem {
regulator-off-in-suspend;
};
};
vdda0v9_image: LDO_REG1 {
regulator-boot-on;
regulator-always-on;
regulator-min-microvolt = <900000>;
regulator-max-microvolt = <900000>;
regulator-name = "vdda0v9_image";
regulator-state-mem {
regulator-off-in-suspend;
};
};
vdda_0v9: LDO_REG2 {
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <900000>;
regulator-max-microvolt = <900000>;
regulator-name = "vdda_0v9";
regulator-state-mem {
regulator-off-in-suspend;
};
};
vdda0v9_pmu: LDO_REG3 {
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <900000>;
regulator-max-microvolt = <900000>;
regulator-name = "vdda0v9_pmu";
regulator-state-mem {
regulator-on-in-suspend;
regulator-suspend-microvolt = <900000>;
};
};
vccio_acodec: LDO_REG4 {
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <3000000>;
regulator-max-microvolt = <3000000>;
regulator-name = "vccio_acodec";
regulator-state-mem {
regulator-off-in-suspend;
};
};
vccio_sd: LDO_REG5 {
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
regulator-name = "vccio_sd";
regulator-state-mem {
regulator-off-in-suspend;
};
};
vcc3v3_pmu: LDO_REG6 {
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-name = "vcc3v3_pmu";
regulator-state-mem {
regulator-on-in-suspend;
regulator-suspend-microvolt = <3300000>;
};
};
vcca_1v8: LDO_REG7 {
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-name = "vcca_1v8";
regulator-state-mem {
regulator-off-in-suspend;
};
};
vcca1v8_pmu: LDO_REG8 {
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-name = "vcca1v8_pmu";
regulator-state-mem {
regulator-on-in-suspend;
regulator-suspend-microvolt = <1800000>;
};
};
vcca1v8_image: LDO_REG9 {
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-name = "vcca1v8_image";
regulator-state-mem {
regulator-off-in-suspend;
};
};
vcc_1v8: DCDC_REG5 {
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-name = "vcc_1v8";
regulator-state-mem {
regulator-off-in-suspend;
};
};
vcc_3v3: SWITCH_REG1 {
regulator-always-on;
regulator-boot-on;
regulator-name = "vcc_3v3";
regulator-state-mem {
regulator-off-in-suspend;
};
};
vcc3v3_sd: SWITCH_REG2 {
regulator-always-on;
regulator-boot-on;
regulator-name = "vcc3v3_sd";
regulator-state-mem {
regulator-off-in-suspend;
};
};
};
};
};
&pinctrl {
usb {
vcc5v0_host_en: vcc5v0-host-en {
rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
};
vcc5v0_otg_en: vcc5v0-otg-en {
rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
regulator-en {
vcc3v3_lcd0_n_en: vcc3v3-lcd0-n-en {
rockchip,pins = <0 RK_PC7 RK_FUNC_GPIO &pcfg_pull_none>;
};
vcc3v3_lcd1_n_en: vcc3v3-lcd1-n-en {
rockchip,pins = <0 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>;
};
vcc3v3_vga_en: vcc3v3-vga-en {
rockchip,pins = <0 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>;
};
camera_pwr: camera-pwr {
rockchip,pins = <0 RK_PC1 RK_FUNC_GPIO &pcfg_pull_none>;
};
vcc3v3_pcie_en: vcc3v3-pcie-en {
rockchip,pins = <0 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
sdio-pwrseq {
wifi_enable_h: wifi-enable-h {
rockchip,pins = <3 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
pmic {
pmic_int: pmic-intl {
rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>;
};
soc_slppin_gpio: soc-slppin-gpio {
rockchip,pins = <0 RK_PA2 0 &pcfg_output_low>;
};
soc_slppin_slp:soc-slppin-slp {
rockchip,pins = <0 RK_PA2 1 &pcfg_pull_none>;
};
soc_slppin_rst {
rockchip,pins = <0 RK_PA2 2 &pcfg_pull_none>;
};
};
pcie {
pcie30x1_reset_h: pcie30x1-reset-h {
rockchip,pins = <0 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>;
};
pcie30x2_reset_h: pcie30x2-reset-h {
rockchip,pins = <0 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>;
};
pcie2x1_reset_h: pcie2x1-reset-h {
rockchip,pins = <3 RK_PC1 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
gmac-reset {
gmac0_reset: gmac0-reset {
rockchip,pins = <1 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
};
gmac1_reset: gmac1-reset {
rockchip,pins = <1 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
leds {
led_power_en: led-power-en {
rockchip,pins = <0 RK_PC4 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
};
&cpu0 {
cpu-supply = <&vdd_cpu>;
};
&cpu1 {
cpu-supply = <&vdd_cpu>;
};
&cpu2 {
cpu-supply = <&vdd_cpu>;
};
&cpu3 {
cpu-supply = <&vdd_cpu>;
};
&tsadc {
rockchip,hw-tshut-mode = <1>;
rockchip,hw-tshut-polarity = <0>;
status = “okay”;
};
&uart2 {
status = “okay”;
};
&pcie30_phy_grf {
};
// 注意两条 pcie reset gpio 均与 NSY不同
// fe270000
// 这里需要更换uboot版本,因为只有支持的pcie拆分的才能启动这个
// 不然开启就挂死,更换版本:https://github.com/Kwiboo/u-boot-rockchip
// [PATCH 0/6] rockchip: rk3568: Fix use of PCIe bifurcation
// 这个pcie,可能需要打补丁,使用radxa 版本
&pcie3x1 {
vpcie3v3-supply = <&vcc3v3_pcie>;
reset-gpios = <&gpio0 RK_PC3 GPIO_ACTIVE_HIGH>;
num-lanes = <0x1>; /可能不生效,但是拆分需要打补丁,如果是吧,打补丁/
pinctrl-0 = <&pcie30x1_reset_h>;
status = “okay”;
};
//fe280000
&pcie3x2 {
vpcie3v3-supply = <&vcc3v3_pcie>;
reset-gpios = <&gpio0 RK_PC6 GPIO_ACTIVE_HIGH>;
status = “okay”;
num-lanes = <0x1>;
pinctrl-0 = <&pcie30x2_reset_h>;
};
&pcie30phy {
data-lanes = <1 2>; //配置lan的通道树
status = “okay”;
};
&combphy2 {
status = “okay”;
};
&pcie2x1 {
reset-gpios = <&gpio3 RK_PC1 GPIO_ACTIVE_HIGH>;
pinctrl-0 = <&pcie2x1_reset_h>;
//for kernel.dts
rockchip,perst-inactive-ms = <500>;
status = “okay”;
};
&mdio0 {
status = “okay”;
};
&gmac0 {
status = “okay”;
phy-mode = “rgmii”;
snps,reset-gpio = <&gpio1 RK_PB0 GPIO_ACTIVE_LOW>;
snps,reset-active-low;
snps,reset-delays-us = <0 20000 100000>;
assigned-clocks = <&cru SCLK_GMAC0_RX_TX &cru SCLK_GMAC0>;
assigned-clock-parents = <&cru SCLK_GMAC0_RGMII_SPEED>;
assigned-clock-rates = <0 125000000>;
tx_delay = <0x3f>;
rx_delay = <0x2c>;
clock_in_out = “output”;
pinctrl-names = “default”;
pinctrl-0 = <&gmac0_miim &gmac0_tx_bus2 &gmac0_rx_bus2 &gmac0_rgmii_clk &gmac0_rgmii_bus>;
fixed-link {
speed = <1000>;
full-duplex;
};
};
&mdio1 {
status = “okay”;
};
&pipe_phy_grf1 {
status = “okay”;
};
&combphy1 {
rockchip,sgmii-mac-sel = <1>;
status = “okay”;
};
&xpcs {
status = “okay”;
};
&gmac1 {
assigned-clocks = <&cru SCLK_GMAC1_RX_TX>;
assigned-clock-parents = <&gmac1_xpcsclk>;
status = “okay”;
phy-mode = “sgmii”;
rockchip,pipegrf = <&pipegrf>;
rockchip,xpcs = <&xpcs>;
//snps,reset-gpio = <&gpio2 RK_PC2 GPIO_ACTIVE_LOW>;
//snps,reset-active-low;
//snps,reset-delays-us = <0 20000 100000>;
pinctrl-names = “default”;
pinctrl-0 = <&gmac1m1_miim>;
power-domains = <&power RK3568_PD_PIPE>;
phys = <&combphy1 PHY_TYPE_SGMII>;
fixed-link {
speed = <1000>;
full-duplex;
};
};
&usb_host0_ehci {
status = “okay”;
};
&usb_host0_ohci {
status = “okay”;
snps,dis_enblslpm_quirk;
snps,dis-u1-entry-quirk;
snps,dis-u2-entry-quirk;
snps,dis-u2-freeclk-exists-quirk;
snps,dis-del-phy-power-chg-quirk;
snps,dis-tx-ipgap-linecheck-quirk;
snps,dis_rxdet_inp3_quirk;
snps,xhci-trb-ent-quirk;
snps,parkmode-disable-ss-quirk;
quirk-skip-phy-init;
};
&usb_host0_xhci {
dr_mode = “host”;//自动检测
//extcon = <&combphy0>;
status = “okay”;
extcon = <&usb2phy0>; //超过rxda测试
snps,dis_enblslpm_quirk;
snps,dis-u1-entry-quirk;
snps,dis-u2-entry-quirk;
snps,dis-u2-freeclk-exists-quirk;
snps,dis-del-phy-power-chg-quirk;
snps,dis-tx-ipgap-linecheck-quirk;
snps,dis_rxdet_inp3_quirk;
snps,xhci-trb-ent-quirk;
snps,parkmode-disable-ss-quirk;
quirk-skip-phy-init;
};
&usb_host1_ehci {
status = “disabled”;
};
&usb_host1_ohci {
status = “disabled”;
};
&usb_host1_xhci {
dr_mode = “host”;//自动检测
snps,dis_enblslpm_quirk;
snps,dis-u2-freeclk-exists-quirk;
snps,dis-del-phy-power-chg-quirk;
snps,dis-tx-ipgap-linecheck-quirk;
snps,dis_rxdet_inp3_quirk;
snps,xhci-trb-ent-quirk;
snps,parkmode-disable-ss-quirk;
status = “disabled”;
};
&usb2phy0 {
status = “okay”;
};
&usb2phy0_host {
phy-supply = <&vcc5v0_host>;
status = “okay”;
};
&usb2phy0_otg {
phy-supply = <&vcc5v0_otg>;
status = “okay”;
};
&usb2phy1 {
status = “disabled”;
};
&usb2phy1_host {
phy-supply = <&vcc5v0_host>;
status = “disabled”;
};
&usb2phy1_otg {
phy-supply = <&vcc5v0_host>;
status = “disabled”;
};
&sata2 {
status = “disabled”;
};
&pmu_io_domains {
status = “okay”;
pmuio2-supply = <&vcc3v3_pmu>;
vccio1-supply = <&vcc_3v3>;
vccio3-supply = <&vcc_3v3>;
vccio4-supply = <&vcc_3v3>;
vccio5-supply = <&vcc_3v3>;
vccio6-supply = <&vcc_3v3>;
vccio7-supply = <&vcc_3v3>;
};
&pwm0 {
status = “okay”;
};
&pwm1 {
status = “okay”;
};
&pwm2 {
status = “disable”;
};
&pwm3 {
status = “disable”;
};
&power {
status = “okay”;
};
&gpu {
mali-supply = <&vdd_gpu>;
status = “okay”;
};
&vpu {
status = “okay”;
};
&rga {
status = “okay”;
};
&vepu {
status = “okay”;
};
&vop {
status = “okay”;
};
//sdhci@fe310000
&sdhci {
max-frequency = <200000000>;
bus-width = <8>;
no-sdio;
no-sd;
supports-emmc;
non-removable;
mmc-hs200-1_8v;
pinctrl-names = “default”;
pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd &emmc_datastrobe>;
status = “okay”;
};
//dwmmc@fe000000
&sdmmc2 {
max-frequency = <150000000>;
fifo-depth = <256>;
no-sd;
no-mmc;
bus-width = <4>;
disable-wp;
cap-sd-highspeed;
cap-sdio-irq;
keep-power-in-suspend;
sd-uhs-sdr104;
mmc-pwrseq = <&sdio_pwrseq>;
non-removable;
pinctrl-names = “default”;
pinctrl-0 = <&sdmmc2m0_bus4 &sdmmc2m0_cmd &sdmmc2m0_clk>;
status = “disabled”;
};
//dwmmc@fe2b0000
&sdmmc0 {
max-frequency = <150000000>;
fifo-depth = <256>;
no-sdio;
bus-width = <4>;
cap-mmc-highspeed;
cap-sd-highspeed;
disable-wp;
sd-uhs-sdr104;
vmmc-supply = <&vcc3v3_sd>;
vqmmc-supply = <&vccio_sd>;
pinctrl-names = “default”;
pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>;
status = “disabled”;
};
&combphy0 {
status = “okay”;
};
&csi_dphy {
status = “okay”;
};
&sfc {
status = “okay”;
flash@0 {
compatible = "spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
spi-rx-bus-width = <4>;
spi-tx-bus-width = <1>;
};
};
&rng {
status = “okay”;
};
//i2c@fe5a0000
&i2c1 {
status = “disabled”;
};
&i2c4 {
status = “okay”;
};
&i2c5 {
status = “disabled”;
};
&wdt {
status = “okay”;
};
&uart8 {
status = “disabled”;
};
&pwm4 {
status = “disabled”;
};
&pwm5 {
status = “disabled”;
};
&pwm7 {
status = “disabled”;
};
&pwm8 {
status = “disabled”;
};
&pwm9 {
status = “disabled”;
};
//fe720000
&saradc {
status = “okay”;
vref-supply = <&vcc1v8_adc>;
};