mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
Merge "ARM: dts: msm: Add initial device tree support for SM8150P" into msm-4.14
This commit is contained in:
commit
52ca05f163
@ -132,6 +132,9 @@ compatible = "qcom,sm8150-rumi"
|
||||
compatible = "qcom,sm8150-mtp"
|
||||
compatible = "qcom,sm8150-cdp"
|
||||
compatible = "qcom,sm8150-qrd"
|
||||
compatible = "qcom,sm8150p-cdp"
|
||||
compatible = "qcom,sm8150p-mtp"
|
||||
compatible = "qcom,sm8150p-qrd"
|
||||
compatible = "qcom,sdmshrike-rumi"
|
||||
compatible = "qcom,sdmshrike-mtp"
|
||||
compatible = "qcom,sdmshrike-cdp"
|
||||
|
@ -16,6 +16,9 @@ ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y)
|
||||
sm8150-mtp-overlay.dtbo \
|
||||
sm8150-rumi-overlay.dtbo \
|
||||
sm8150-qrd-overlay.dtbo \
|
||||
sm8150p-cdp-overlay.dtbo \
|
||||
sm8150p-mtp-overlay.dtbo \
|
||||
sm8150p-qrd-overlay.dtbo \
|
||||
sm8150-sdx50m-cdp-overlay.dtbo \
|
||||
sm8150-sdx50m-mtp-overlay.dtbo
|
||||
|
||||
@ -25,6 +28,8 @@ sm8150-rumi-overlay.dtbo-base := sm8150.dtb sm8150-v2.dtb
|
||||
sm8150-qrd-overlay.dtbo-base := sm8150.dtb sm8150-v2.dtb
|
||||
sm8150-sdx50m-cdp-overlay.dtbo-base := sm8150.dtb sm8150-v2.dtb
|
||||
sm8150-sdx50m-mtp-overlay.dtbo-base := sm8150.dtb sm8150-v2.dtb
|
||||
sm8150p-mtp-overlay.dtbo-base := sm8150p.dtb sm8150p-v2.dtb
|
||||
sm8150p-qrd-overlay.dtbo-base := sm8150p.dtb sm8150p-v2.dtb
|
||||
else
|
||||
dtb-$(CONFIG_ARCH_SM8150) += sm8150-rumi.dtb \
|
||||
sm8150-mtp.dtb \
|
||||
@ -33,7 +38,13 @@ dtb-$(CONFIG_ARCH_SM8150) += sm8150-rumi.dtb \
|
||||
sm8150-v2-rumi.dtb \
|
||||
sm8150-v2-mtp.dtb \
|
||||
sm8150-v2-cdp.dtb \
|
||||
sm8150-v2-qrd.dtb
|
||||
sm8150-v2-qrd.dtb \
|
||||
sm8150p-mtp.dtb \
|
||||
sm8150p-cdp.dtb \
|
||||
sm8150p-qrd.dtb \
|
||||
sm8150p-v2-mtp.dtb \
|
||||
sm8150p-v2-cdp.dtb \
|
||||
sm8150p-v2-qrd.dtb
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y)
|
||||
|
27
arch/arm64/boot/dts/qcom/sm8150p-cdp-overlay.dts
Normal file
27
arch/arm64/boot/dts/qcom/sm8150p-cdp-overlay.dts
Normal file
@ -0,0 +1,27 @@
|
||||
/* Copyright (c) 2018, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 and
|
||||
* only version 2 as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
#include <dt-bindings/clock/qcom,gcc-sm8150.h>
|
||||
#include <dt-bindings/clock/qcom,camcc-sm8150.h>
|
||||
#include <dt-bindings/clock/qcom,rpmh.h>
|
||||
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||||
|
||||
#include "sm8150-cdp.dtsi"
|
||||
|
||||
/ {
|
||||
model = "CDP";
|
||||
compatible = "qcom,sm8150p-cdp", "qcom,sm8150p", "qcom,cdp";
|
||||
qcom,board-id = <1 0>;
|
||||
};
|
22
arch/arm64/boot/dts/qcom/sm8150p-cdp.dts
Normal file
22
arch/arm64/boot/dts/qcom/sm8150p-cdp.dts
Normal file
@ -0,0 +1,22 @@
|
||||
/* Copyright (c) 2018, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 and
|
||||
* only version 2 as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include "sm8150p.dtsi"
|
||||
#include "sm8150-cdp.dtsi"
|
||||
|
||||
/ {
|
||||
model = "Qualcomm Technologies, Inc. SM8150P CDP";
|
||||
compatible = "qcom,sm8150p-cdp", "qcom,sm8150p", "qcom,cdp";
|
||||
qcom,board-id = <1 0>;
|
||||
};
|
27
arch/arm64/boot/dts/qcom/sm8150p-mtp-overlay.dts
Normal file
27
arch/arm64/boot/dts/qcom/sm8150p-mtp-overlay.dts
Normal file
@ -0,0 +1,27 @@
|
||||
/* Copyright (c) 2018, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 and
|
||||
* only version 2 as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
#include <dt-bindings/clock/qcom,gcc-sm8150.h>
|
||||
#include <dt-bindings/clock/qcom,camcc-sm8150.h>
|
||||
#include <dt-bindings/clock/qcom,rpmh.h>
|
||||
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||||
|
||||
#include "sm8150-mtp.dtsi"
|
||||
|
||||
/ {
|
||||
model = "MTP";
|
||||
compatible = "qcom,sm8150p-mtp", "qcom,sm8150p", "qcom,mtp";
|
||||
qcom,board-id = <8 0>;
|
||||
};
|
22
arch/arm64/boot/dts/qcom/sm8150p-mtp.dts
Normal file
22
arch/arm64/boot/dts/qcom/sm8150p-mtp.dts
Normal file
@ -0,0 +1,22 @@
|
||||
/* Copyright (c) 2018, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 and
|
||||
* only version 2 as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include "sm8150p.dtsi"
|
||||
#include "sm8150-mtp.dtsi"
|
||||
|
||||
/ {
|
||||
model = "Qualcomm Technologies, Inc. SM8150P MTP";
|
||||
compatible = "qcom,sm8150p-mtp", "qcom,sm8150p", "qcom,mtp";
|
||||
qcom,board-id = <8 0>;
|
||||
};
|
27
arch/arm64/boot/dts/qcom/sm8150p-qrd-overlay.dts
Normal file
27
arch/arm64/boot/dts/qcom/sm8150p-qrd-overlay.dts
Normal file
@ -0,0 +1,27 @@
|
||||
/* Copyright (c) 2018, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 and
|
||||
* only version 2 as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
#include <dt-bindings/clock/qcom,gcc-sm8150.h>
|
||||
#include <dt-bindings/clock/qcom,camcc-sm8150.h>
|
||||
#include <dt-bindings/clock/qcom,rpmh.h>
|
||||
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||||
|
||||
#include "sm8150-qrd.dtsi"
|
||||
|
||||
/ {
|
||||
model = "QRD";
|
||||
compatible = "qcom,sm8150p-qrd", "qcom,sm8150p", "qcom,qrd";
|
||||
qcom,board-id = <11 0>;
|
||||
};
|
22
arch/arm64/boot/dts/qcom/sm8150p-qrd.dts
Normal file
22
arch/arm64/boot/dts/qcom/sm8150p-qrd.dts
Normal file
@ -0,0 +1,22 @@
|
||||
/* Copyright (c) 2018, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 and
|
||||
* only version 2 as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include "sm8150p.dtsi"
|
||||
#include "sm8150-qrd.dtsi"
|
||||
|
||||
/ {
|
||||
model = "Qualcomm Technologies, Inc. SM8150P QRD";
|
||||
compatible = "qcom,sm8150p-qrd", "qcom,sm8150p", "qcom,qrd";
|
||||
qcom,board-id = <11 0>;
|
||||
};
|
22
arch/arm64/boot/dts/qcom/sm8150p-v2-cdp.dts
Normal file
22
arch/arm64/boot/dts/qcom/sm8150p-v2-cdp.dts
Normal file
@ -0,0 +1,22 @@
|
||||
/* Copyright (c) 2018, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 and
|
||||
* only version 2 as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include "sm8150p-v2.dtsi"
|
||||
#include "sm8150-cdp.dtsi"
|
||||
|
||||
/ {
|
||||
model = "Qualcomm Technologies, Inc. SM8150P V2 CDP";
|
||||
compatible = "qcom,sm8150p-cdp", "qcom,sm8150p", "qcom,cdp";
|
||||
qcom,board-id = <1 0>;
|
||||
};
|
22
arch/arm64/boot/dts/qcom/sm8150p-v2-mtp.dts
Normal file
22
arch/arm64/boot/dts/qcom/sm8150p-v2-mtp.dts
Normal file
@ -0,0 +1,22 @@
|
||||
/* Copyright (c) 2018, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 and
|
||||
* only version 2 as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include "sm8150p-v2.dtsi"
|
||||
#include "sm8150-mtp.dtsi"
|
||||
|
||||
/ {
|
||||
model = "Qualcomm Technologies, Inc. SM8150P V2 MTP";
|
||||
compatible = "qcom,sm8150p-mtp", "qcom,sm8150p", "qcom,mtp";
|
||||
qcom,board-id = <8 0>;
|
||||
};
|
22
arch/arm64/boot/dts/qcom/sm8150p-v2-qrd.dts
Normal file
22
arch/arm64/boot/dts/qcom/sm8150p-v2-qrd.dts
Normal file
@ -0,0 +1,22 @@
|
||||
/* Copyright (c) 2018, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 and
|
||||
* only version 2 as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include "sm8150p-v2.dtsi"
|
||||
#include "sm8150-qrd.dtsi"
|
||||
|
||||
/ {
|
||||
model = "Qualcomm Technologies, Inc. SM8150P V2 QRD";
|
||||
compatible = "qcom,sm8150p-qrd", "qcom,sm8150p", "qcom,qrd";
|
||||
qcom,board-id = <11 0>;
|
||||
};
|
22
arch/arm64/boot/dts/qcom/sm8150p-v2.dts
Normal file
22
arch/arm64/boot/dts/qcom/sm8150p-v2.dts
Normal file
@ -0,0 +1,22 @@
|
||||
/* Copyright (c) 2018, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 and
|
||||
* only version 2 as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include "sm8150p-v2.dtsi"
|
||||
|
||||
/ {
|
||||
model = "Qualcomm Technologies, Inc. SM8150P v2 SoC";
|
||||
compatible = "qcom,sm8150p";
|
||||
qcom,pmic-name = "PM855";
|
||||
qcom,board-id = <0 0>;
|
||||
};
|
19
arch/arm64/boot/dts/qcom/sm8150p-v2.dtsi
Normal file
19
arch/arm64/boot/dts/qcom/sm8150p-v2.dtsi
Normal file
@ -0,0 +1,19 @@
|
||||
/* Copyright (c) 2018, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 and
|
||||
* only version 2 as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include "sm8150-v2.dtsi"
|
||||
|
||||
/ {
|
||||
model = "Qualcomm Technologies, Inc. SM8150P v2";
|
||||
qcom,msm-name = "SM8150P v2";
|
||||
qcom,msm-id = <356 0x20000>;
|
||||
};
|
22
arch/arm64/boot/dts/qcom/sm8150p.dts
Normal file
22
arch/arm64/boot/dts/qcom/sm8150p.dts
Normal file
@ -0,0 +1,22 @@
|
||||
/* Copyright (c) 2018, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 and
|
||||
* only version 2 as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include "sm8150p.dtsi"
|
||||
|
||||
/ {
|
||||
model = "Qualcomm Technologies, Inc. SM8150P v1 SoC";
|
||||
compatible = "qcom,sm8150p";
|
||||
qcom,pmic-name = "PM855";
|
||||
qcom,board-id = <0 0>;
|
||||
};
|
19
arch/arm64/boot/dts/qcom/sm8150p.dtsi
Normal file
19
arch/arm64/boot/dts/qcom/sm8150p.dtsi
Normal file
@ -0,0 +1,19 @@
|
||||
/* Copyright (c) 2018, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 and
|
||||
* only version 2 as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include "sm8150.dtsi"
|
||||
|
||||
/ {
|
||||
model = "Qualcomm Technologies, Inc. SM8150P v1";
|
||||
qcom,msm-name = "SM8150P v1";
|
||||
qcom,msm-id = <356 0x10000>;
|
||||
};
|
Loading…
x
Reference in New Issue
Block a user