mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
arm64: rockchip: Add some DTSO to disable sd/mmc
This helps during developement to reduce the number of mmc controller.
This commit is contained in:
parent
9e08f82058
commit
eb09408085
10
sys/dts/arm64/overlays/rk3399-mmc0-disable.dtso
Normal file
10
sys/dts/arm64/overlays/rk3399-mmc0-disable.dtso
Normal file
|
@ -0,0 +1,10 @@
|
|||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
/ {
|
||||
compatible = "rockchip,rk3399";
|
||||
};
|
||||
|
||||
&{/mmc@fe310000} {
|
||||
status = "disabled";
|
||||
};
|
10
sys/dts/arm64/overlays/rk3399-mmc1-disable.dtso
Normal file
10
sys/dts/arm64/overlays/rk3399-mmc1-disable.dtso
Normal file
|
@ -0,0 +1,10 @@
|
|||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
/ {
|
||||
compatible = "rockchip,rk3399";
|
||||
};
|
||||
|
||||
&{/mmc@fe320000} {
|
||||
status = "disabled";
|
||||
};
|
10
sys/dts/arm64/overlays/rk3399-sdhci-disable.dtso
Normal file
10
sys/dts/arm64/overlays/rk3399-sdhci-disable.dtso
Normal file
|
@ -0,0 +1,10 @@
|
|||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
/ {
|
||||
compatible = "rockchip,rk3399";
|
||||
};
|
||||
|
||||
&{/sdhci@fe330000} {
|
||||
status = "disabled";
|
||||
};
|
|
@ -15,7 +15,10 @@ DTS= \
|
|||
rockchip/rk3399-firefly.dts \
|
||||
rockchip/rk3399-rockpro64.dts
|
||||
|
||||
DTSO= rk3328-dwc3.dtso
|
||||
DTSO= rk3328-dwc3.dtso \
|
||||
rk3399-mmc0-disable.dtso \
|
||||
rk3399-mmc1-disable.dtso \
|
||||
rk3399-sdhci-disable.dtso
|
||||
.endif
|
||||
|
||||
.include <bsd.dtb.mk>
|
||||
|
|
Loading…
Reference in a new issue