ARM: dts: rv1126: 38x38 board: add sdcard support

Signed-off-by: Weiwen Chen <cww@rock-chips.com>
Change-Id: Iff6d641fecd69baf0e022d96992b4b4ebf9cf73a
This commit is contained in:
Weiwen Chen
2020-08-06 10:39:34 +08:00
committed by Tao Huang
parent db1d765195
commit d1d7bc9dc2

View File

@@ -45,6 +45,18 @@
regulator-max-microvolt = <3300000>;
};
vcc_sd: vcc-sd {
compatible = "regulator-fixed";
gpio = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>;
pinctrl-0 = <&sdmmc_pwr>;
pinctrl-names = "default";
regulator-name = "vcc_sd";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
startup-delay-us = <100000>;
vin-supply = <&vcc3v3_sys>;
};
vdd_arm: vdd-arm {
compatible = "pwm-regulator";
pwms = <&pwm0 0 5000 1>;
@@ -176,6 +188,10 @@
};
&isp_reserved {
size = <0xd000000>;
};
&mdio {
phy: phy@1 {
compatible = "ethernet-phy-ieee802.3-c22";
@@ -187,6 +203,15 @@
npu-supply = <&vdd_logic_npu_vepu_fixed>;
};
&pinctrl {
sdmmc-pwr {
/omit-if-no-ref/
sdmmc_pwr: sdmmc-pwr {
rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
};
&pmu_io_domains {
status = "okay";
@@ -261,10 +286,17 @@
>;
};
&sdmmc {
bus-width = <4>;
cap-mmc-highspeed;
cap-sd-highspeed;
card-detect-delay = <200>;
rockchip,default-sample-phase = <90>;
supports-sd;
status = "okay";
vmmc-supply = <&vcc_sd>;
};
&sfc {
status = "okay";
};
&isp_reserved {
size = <0xd000000>;
};