Skip to content

Commit

Permalink
arm64: dts: qcom: msm8992: Make the DT an overlay on top of 8994
Browse files Browse the repository at this point in the history
This saves a good thousand lines of code, perhaps even
more in the long run.

Co-developed-by: Gustave Monce <gustave.monce@outlook.com>
Signed-off-by: Gustave Monce <gustave.monce@outlook.com>
Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Link: https://lore.kernel.org/r/20210131013853.55810-5-konrad.dybcio@somainline.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
  • Loading branch information
konradybcio authored and andersson committed Feb 2, 2021
1 parent 76d0b35 commit 976d321
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 783 deletions.
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/qcom/msm8992-bullhead-rev-101.dts
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@
};
};

&sdhc_1 {
&sdhc1 {
status = "okay";

mmc-hs400-1_8v;
Expand Down
39 changes: 15 additions & 24 deletions arch/arm64/boot/dts/qcom/msm8992-xiaomi-libra.dts
Original file line number Diff line number Diff line change
Expand Up @@ -70,21 +70,6 @@
pmsg-size = <0x20000>;
};

continuous_splash: framebuffer@3401000{
reg = <0x0 0x3401000 0x0 0x2200000>;
no-map;
};

dfps_data_mem: dfps_data_mem@3400000 {
reg = <0x0 0x3400000 0x0 0x1000>;
no-map;
};

peripheral_region: peripheral_region@7400000 {
reg = <0x0 0x7400000 0x0 0x1c00000>;
no-map;
};

modem_region: modem_region@9000000 {
reg = <0x0 0x9000000 0x0 0x5a00000>;
no-map;
Expand All @@ -97,43 +82,49 @@
};
};

&blsp_i2c2 {
&blsp1_i2c2 {
status = "okay";

/* Atmel or Synaptics touchscreen */
};

&blsp_i2c5 {
&blsp1_i2c5 {
status = "okay";

/* Silabs si4705 FM transmitter */
/* ST lsm6db0 gyro/accelerometer */
};

&blsp_i2c6 {
&blsp1_i2c6 {
status = "okay";

/* NCI NFC,
/*
* NXP NCI NFC,
* TI USB320 Type-C controller,
* Pericom 30216a USB (de)mux switch
*/
};

&blsp_i2c7 {
&blsp2_i2c1 {
status = "okay";

/* cm36686 proximity and ambient light sensor */
};

&blsp_i2c13 {
&blsp2_i2c5 {
status = "okay";

/* ST lsm6db0 gyro/accelerometer */
/* Silabs si4705 FM transmitter */
};

&blsp2_uart2 {
status = "okay";
};

&peripheral_region {
reg = <0x0 0x7400000 0x0 0x1c00000>;
no-map;
};

&rpm_requests {
pm8994-regulators {
compatible = "qcom,rpm-pm8994-regulators";
Expand Down Expand Up @@ -364,7 +355,7 @@
};
};

&sdhc_1 {
&sdhc1 {
status = "okay";

mmc-hs400-1_8v;
Expand Down

0 comments on commit 976d321

Please sign in to comment.