Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 315ce36e authored by Abhimanyu Kapur's avatar Abhimanyu Kapur
Browse files

ARM: dts: msm: Add support for MDM californium



Add initial set of device tree files, pinctrl driver
and config options required to build mdm californium.

Change-Id: Iccbabe1167ae03b26a9ae396a6b33b7eb32dca1c
Signed-off-by: default avatarAbhimanyu Kapur <abhimany@codeaurora.org>
parent da9777c8
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -86,6 +86,9 @@ SoCs:
- MSMZIRC
  compatible = "qcom,msmzirc"

- MDMCALIFORNIUM
  compatible = "qcom,mdmcalifornium"

- VPIPA
  compatible = "qcom,msmvpipa"

@@ -222,3 +225,5 @@ compatible = "qcom,msmzirc-rumi"
compatible = "qcom,msmzirc-sim"
compatible = "qcom,msmvpipa-sim"
compatible = "qcom,mdmfermium-rumi"
compatible = "qcom,mdmcalifornium-rumi"
compatible = "qcom,mdmcalifornium-sim"
+1 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@ Required properties:
- compatible: "qcom,msm8996-pinctrl"
	      "qcom,mdm9640-pinctrl"
	      "qcom,mdmfermium-pinctrl"
	       "qcom,mdmcalifornium-pinctrl"
- reg: Should be the base address and length of the TLMM block.
- interrupts: Should be the parent IRQ of the TLMM block.
- interrupt-controller: Marks the device node as an interrupt controller.
+2 −0
Original line number Diff line number Diff line
@@ -49,6 +49,8 @@ dtb-$(CONFIG_ARCH_MDM9640) += mdm9640-sim.dtb \
	mdm9640-emmc-cdp.dtb \
	mdm9640-nand-cdp.dtb \
	mdm9640-mtp.dtb
dtb-$(CONFIG_ARCH_MDMCALIFORNIUM) += mdmcalifornium-sim.dtb \
	mdmcalifornium-rumi.dtb

dtb-$(CONFIG_ARCH_MSMTITANIUM) += msmtitanium-sim.dtb \
	msmtitanium-rumi.dtb
+48 −0
Original line number Diff line number Diff line
/* Copyright (c) 2015, 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.
 */

&soc {
	tlmm_pinmux: pinctrl@1000000 {
		compatible = "qcom,mdmcalifornium-pinctrl";
		reg = <0x1000000 0x300000>;
		interrupts = <0 208 0>;
		gpio-controller;
		#gpio-cells = <2>;
		interrupt-controller;
		#interrupt-cells = <2>;

		uart2_console_active: uart2_console_active {
			mux {
				pins = "gpio4", "gpio5";
				function = "blsp_uart2";
			};
			config {
				pins = "gpio4", "gpio5";
				drive-strength = <2>;
				bias-disable;
			};
		};

		uart3_console_active: uart3_console_active {
			mux {
				pins = "gpio8", "gpio9";
				function = "blsp_uart3";
			};
			config {
				pins = "gpio8", "gpio9";
				drive-strength = <2>;
				bias-disable;
			};
		};

	};
};
+29 −0
Original line number Diff line number Diff line
/* Copyright (c) 2015, 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 "mdmcalifornium.dtsi"
#include "mdmcalifornium-pinctrl.dtsi"

/ {
	model = "Qualcomm Technologies, Inc. MDM Californium RUMI";
	compatible = "qcom,mdmcalifornium-rumi",
		   "qcom,mdmcalifornium", "qcom,rumi";
	qcom,board-id = <15 0>;
};

&blsp1_uart3 {
	status = "ok";
	pinctrl-names = "default";
	pinctrl-0 = <&uart3_console_active>;
};
Loading