Skip to content

Commit

Permalink
arm64: dts: qcom: msm8953: xiaomi-ysl: fix some nodes in dts
Browse files Browse the repository at this point in the history
- fixed regulators
- add alias for sdhc_1 and sdhc_2
- remove invalid ramoops node

Signed-off-by: Barnabás Czémán <trabarni@gmail.com>
  • Loading branch information
barni2000 committed Aug 13, 2023
1 parent c48864c commit 4009108
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions arch/arm64/boot/dts/qcom/msm8953-xiaomi-ysl.dts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
compatible = "xiaomi,ysl", "qcom,msm8953";
qcom,board-id = <8 0>;

aliases {
mmc0 = &sdhc_1;
mmc1 = &sdhc_2;
};

speaker_amp: audio-amplifier {
compatible = "awinic,aw8738";
mode-gpios = <&tlmm 139 GPIO_ACTIVE_HIGH>;
Expand Down Expand Up @@ -66,12 +71,6 @@
reg = <0x0 0x90001000 0x0 (720 * 1440 * 3)>;
no-map;
};

ramoops@9ff00000 {
compatible = "ramoops";
reg = <0x0 0x9ff00000 0x0 0x00100000>;
console-size = <0x100000>;
};
};

i2c-gpio {
Expand Down Expand Up @@ -127,6 +126,15 @@
compatible = "xiaomi,ysl-panel";
};

&pm8953_l6 {
regulator-always-on;
};

&pm8953_l10 {
regulator-min-microvolt = <2800000>;
regulator-always-on;
};

&sdhc_2 {
cd-gpios = <&tlmm 133 GPIO_ACTIVE_HIGH>;
};
Expand Down

0 comments on commit 4009108

Please sign in to comment.