build/patch/kernel/archive/rockchip64-5.19/board-rockpis-0002-Fixes-for-rk3308-rock-pi-s-dts.patch

72 lines
1.8 KiB
Diff
Raw Normal View History

From a7a6d6f06de8b629537ddada1bda5beef88ecea3 Mon Sep 17 00:00:00 2001
From: ashthespy <ashthespy@gmail.com>
Date: Wed, 15 Jan 2020 15:14:16 +0100
Subject: [PATCH 02/23] Fixes for rk3308-rock-pi-s dts
---
.../boot/dts/rockchip/rk3308-rock-pi-s.dts | 24 ++++++++++---------
1 file changed, 13 insertions(+), 11 deletions(-)
diff --git a/arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts b/arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts
index 4fccae43f008..f06ff0c6e028 100644
--- a/arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts
@@ -121,13 +121,15 @@ &cpu0 {
};
&emmc {
- bus-width = <4>;
+ bus-width = <4>; // Confirm if right value - <8>
cap-mmc-highspeed;
mmc-hs200-1_8v;
- supports-sd;
- disable-wp;
+ /* supports-sd; */
+ /* disable-wp; */
non-removable;
- num-slots = <1>;
+ /* num-slots = <1>; */
+ /* please provide actual vmmc and vqmmc supplies
+ vin is not a valid supply for emmcs */
vin-supply = <&vcc_io>;
status = "okay";
};
@@ -137,15 +139,15 @@ &i2c1 {
};
&sdmmc {
- bus-width = <4>;
+ /* bus-width = <4>; */
cap-mmc-highspeed;
cap-sd-highspeed;
- max-frequeency = <150000000>;
- supports-sd;
+ /* max-frequency = <150000000>; */
+ /* supports-sd; */
disable-wp;
- num-slots = <1>;
+ /* num-slots = <1>; */
pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_det &sdmmc_bus4>;
- card-detect-delay = <800>;
+ card-detect-delay = <800>; // Confirm if right value - <200>
status = "okay";
};
@@ -198,11 +200,11 @@ &saradc {
&sdio {
#address-cells = <1>;
#size-cells = <0>;
- bus-width = <4>;
+ /* bus-width = <4>; */
max-frequency = <1000000>;
cap-sd-highspeed;
cap-sdio-irq;
- supports-sdio;
+ /* supports-sdio; */
keep-power-in-suspend;
mmc-pwrseq = <&sdio_pwrseq>;
non-removable;
--
2.25.1