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

Commit f2ed32d4 authored by Venkatesh Yadav Abbarapu's avatar Venkatesh Yadav Abbarapu
Browse files

ARM: dts: msm: Add support for MDMFERMIUM



Add initial set of device tree and board files to build
the mdmfermium target.

Change-Id: I41eb10975b0fcb2e87382c55d4392b17717cdedc
Signed-off-by: default avatarVenkatesh Yadav Abbarapu <vabbar@codeaurora.org>
parent d4bc64ea
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -89,6 +89,8 @@ SoCs:
- VPIPA
- VPIPA
  compatible = "qcom,msmvpipa"
  compatible = "qcom,msmvpipa"


- MDMFERMIUM
  compatible = "qcom,mdmfermium"


Generic board variants:
Generic board variants:


@@ -219,3 +221,4 @@ compatible = "qcom,msmzirc-mtp"
compatible = "qcom,msmzirc-rumi"
compatible = "qcom,msmzirc-rumi"
compatible = "qcom,msmzirc-sim"
compatible = "qcom,msmzirc-sim"
compatible = "qcom,msmvpipa-sim"
compatible = "qcom,msmvpipa-sim"
compatible = "qcom,mdmfermium-rumi"
+2 −1
Original line number Original line Diff line number Diff line
@@ -3,6 +3,7 @@ MSM Pinctrl Bindings
Required properties:
Required properties:
- compatible: "qcom,msm8996-pinctrl"
- compatible: "qcom,msm8996-pinctrl"
	      "qcom,mdm9640-pinctrl"
	      "qcom,mdm9640-pinctrl"
	      "qcom,mdmfermium-pinctrl"
- reg: Should be the base address and length of the TLMM block.
- reg: Should be the base address and length of the TLMM block.
- interrupts: Should be the parent IRQ of the TLMM block.
- interrupts: Should be the parent IRQ of the TLMM block.
- interrupt-controller: Marks the device node as an interrupt controller.
- interrupt-controller: Marks the device node as an interrupt controller.
+2 −0
Original line number Original line Diff line number Diff line
@@ -53,6 +53,8 @@ dtb-$(CONFIG_ARCH_MDM9640) += mdm9640-sim.dtb \
dtb-$(CONFIG_ARCH_MSMTITANIUM) += msmtitanium-sim.dtb \
dtb-$(CONFIG_ARCH_MSMTITANIUM) += msmtitanium-sim.dtb \
	msmtitanium-rumi.dtb
	msmtitanium-rumi.dtb


dtb-$(CONFIG_ARCH_MDMFERMIUM) += mdmfermium-rumi.dtb

targets += dtbs
targets += dtbs
targets += $(addprefix ../, $(dtb-y))
targets += $(addprefix ../, $(dtb-y))
endif
endif
+36 −0
Original line number Original line 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,mdmfermium-pinctrl";
		reg = <0x1000000 0x300000>;
		interrupts = <0 208 0>;
		gpio-controller;
		#gpio-cells = <2>;
		interrupt-controller;
		#interrupt-cells = <2>;

		uart_console_sleep: uart_console_sleep {
			mux {
				pins = "gpio4", "gpio5";
				function = "blsp_uart2";
			};
			config {
				pins = "gpio4", "gpio5";
				drive-strength = <2>;
				bias-pull-down;
			};
		};
	};
};
+29 −0
Original line number Original line 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 "mdmfermium.dtsi"
#include "mdmfermium-pinctrl.dtsi"

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

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