arm64: dts: rockchip: opi3b/cm4: Fixed the issue of not recognizing the SPI flash

This commit is contained in:
baiywt 2023-07-19 20:04:03 +08:00
parent a0d54e5536
commit 1cd5afc7e4
2 changed files with 13 additions and 4 deletions

View File

@ -217,11 +217,12 @@
vcc5v0_otg: vcc5v0-otg-regulator {
compatible = "regulator-fixed";
//enable-active-high;
//gpio = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>;
//pinctrl-names = "default";
//pinctrl-0 = <&vcc5v0_otg_en>;
enable-active-high;
gpio = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&vcc5v0_otg_en>;
regulator-name = "vcc5v0_otg";
regulator-always-on;
};
fan: pwm-fan {
@ -793,6 +794,8 @@
no-sd;
non-removable;
max-frequency = <200000000>;
pinctrl-names = "default";
pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
status = "okay";
};
@ -814,6 +817,8 @@
&sfc {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&fspi_pins>;
flash@0 {
compatible = "jedec,spi-nor";

View File

@ -757,6 +757,8 @@
no-sd;
non-removable;
max-frequency = <200000000>;
pinctrl-names = "default";
pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
status = "okay";
};
@ -778,6 +780,8 @@
&sfc {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&fspi_pins>;
flash@0 {
compatible = "jedec,spi-nor";