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

Commit 72cb3a1b authored by Wei Tan's avatar Wei Tan
Browse files

ARM: dts: msm: Add initial support for Nordic

Add Nordic init settings for XR SKU4 reference
Device connecting with remote VR controllers.

Change-Id: Ia841751834089d2662245be11f2160ae0810402a
parent 31a79401
Loading
Loading
Loading
Loading
+12 −15
Original line number Diff line number Diff line
@@ -207,7 +207,7 @@
		};
	};

	nordic_gpio6_active: nordic_gpio6_active {
	nordic_gpio6_suspend: nordic_gpio6_suspend {
		mux {
			pins = "gpio71";
			function = "gpio";
@@ -221,7 +221,8 @@
		};
	};

	nordic_gpio6_suspend: nordic_gpio6_suspend {
	/* active low due to hmd nordic */
	nordic_gpio6_active: nordic_gpio6_active {
		mux {
			pins = "gpio71";
			function = "gpio";
@@ -231,6 +232,7 @@
			pins = "gpio71";
			bias-pull-down; /* PULL DOWN */
			drive-strength = <2>; /* 2 MA */
			output-low;
		};
	};

@@ -288,7 +290,7 @@
		};
	};

	nordic_ctrl_active: nordic_ctrl_active {
	nordic_ctrl_suspend: nordic_ctrl_suspend {
		mux {
			pins = "gpio137";
			function = "gpio";
@@ -302,7 +304,8 @@
		};
	};

	nordic_ctrl_suspend: nordic_ctrl_suspend {
	/* active low due to hmd nordic */
	nordic_ctrl_active: nordic_ctrl_active {
		mux {
			pins = "gpio137";
			function = "gpio";
@@ -312,6 +315,7 @@
			pins = "gpio137";
			bias-pull-down; /* PULL DOWN */
			drive-strength = <2>; /* 2 MA */
			output-low;
		};
	};

@@ -397,26 +401,19 @@
		reg = <0>;
		spi-max-frequency = <8000000>;
		pinctrl-names = "nordic_default", "nordic_sleep";
		pinctrl-0 = <&nordic_gpio6_active &nordic_gpio10_active
			&nordic_gpio11_active &nordic_int_active
			&nordic_ctrl_active &nordic_1p8_en_active>;
		pinctrl-1 = <&nordic_gpio6_suspend &nordic_gpio10_suspend
			&nordic_gpio11_suspend &nordic_int_suspend
			&nordic_ctrl_suspend &nordic_1p8_en_suspend>;
		pinctrl-0 = <&nordic_gpio6_active &nordic_ctrl_active>;
		pinctrl-1 = <&nordic_gpio6_suspend &nordic_ctrl_suspend>;

		/*nordic,lfen-gpio = <&tlmm 37 0>;*/
		nordic,v1p8en-gpio = <&tlmm 50 0>;
		nordic,ledl-gpio = <&tlmm 137 0>;
		nordic,ledr-gpio = <&tlmm 71 0>;

		interrupt-parent = <&tlmm>;
		interrupt-names = "nordicspi_irq";
		nordic,irq-gpio = <&tlmm 64 0>;
		nordic,irq_pin = <&tlmm 64 0x00>;
		interrupts = <64 1>;

		nordic,tst1 = <&tlmm 137 0>;
		/*nordic,tst2 = <&tlmm 59 0>;*/
		nordic,tst3 = <&tlmm 72 0>;
		nordic,tst4 = <&tlmm 71 0>;
	};
};