mirror of
https://github.com/Evolution-X-Devices/kernel_xiaomi_sm8450-devicetrees
synced 2026-01-27 14:44:08 +00:00
ARM: dts: msm: Add Nordic support for Halliday RCM
Adding Nordic chip support for Halliday RCM. Change-Id: Ic447acb4536aeaa6416c17bab83807c87c827269
This commit is contained in:
@@ -160,3 +160,175 @@
|
||||
periph-d44-supply = <&L5N>;
|
||||
periph-d46-supply = <&L7N>;
|
||||
};
|
||||
|
||||
&tlmm {
|
||||
nordic_gpio6_suspend: nordic_gpio6_suspend {
|
||||
mux {
|
||||
pins = "gpio135";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio135";
|
||||
drive-strength = <8>;
|
||||
bias-disable = <0>;
|
||||
output-high;
|
||||
};
|
||||
};
|
||||
|
||||
/* active low due to hmd nordic */
|
||||
nordic_gpio6_active: nordic_gpio6_active {
|
||||
mux {
|
||||
pins = "gpio135";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio135";
|
||||
bias-pull-down; /* PULL DOWN */
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
output-low;
|
||||
};
|
||||
};
|
||||
|
||||
nordic_gpio10_active: nordic_gpio10_active {
|
||||
mux {
|
||||
pins = "gpio98";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio98";
|
||||
drive-strength = <8>;
|
||||
bias-disable = <0>;
|
||||
output-high;
|
||||
};
|
||||
};
|
||||
|
||||
nordic_gpio10_suspend: nordic_gpio10_suspend {
|
||||
mux {
|
||||
pins = "gpio98";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio98";
|
||||
bias-pull-down; /* PULL DOWN */
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
};
|
||||
};
|
||||
|
||||
nordic_gpio11_active: nordic_gpio11_active {
|
||||
mux {
|
||||
pins = "gpio99";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio99";
|
||||
drive-strength = <8>;
|
||||
bias-disable = <0>;
|
||||
output-high;
|
||||
};
|
||||
};
|
||||
|
||||
nordic_gpio11_suspend: nordic_gpio11_suspend {
|
||||
mux {
|
||||
pins = "gpio99";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio99";
|
||||
bias-pull-down; /* PULL DOWN */
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
};
|
||||
};
|
||||
|
||||
nordic_ctrl_suspend: nordic_ctrl_suspend {
|
||||
mux {
|
||||
pins = "gpio134";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio134";
|
||||
drive-strength = <8>;
|
||||
bias-disable = <0>;
|
||||
output-high;
|
||||
};
|
||||
};
|
||||
|
||||
/* active low due to hmd nordic */
|
||||
nordic_ctrl_active: nordic_ctrl_active {
|
||||
mux {
|
||||
pins = "gpio134";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio134";
|
||||
bias-pull-down; /* PULL DOWN */
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
output-low;
|
||||
};
|
||||
};
|
||||
|
||||
nordic_int_active: nordic_int_active {
|
||||
mux {
|
||||
pins = "gpio97";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio97";
|
||||
drive-strength = <8>;
|
||||
bias-disable = <0>;
|
||||
output-high;
|
||||
};
|
||||
};
|
||||
|
||||
nordic_int_suspend: nordic_int_suspend {
|
||||
mux {
|
||||
pins = "gpio97";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio97";
|
||||
bias-pull-down; /* PULL DOWN */
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pmxr2230_l11 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
qcom,init-voltage = <1800000>;
|
||||
};
|
||||
|
||||
|
||||
&qupv3_se4_spi {
|
||||
status = "okay";
|
||||
|
||||
nordic@0 {
|
||||
compatible = "nordic,spicontroller";
|
||||
reg = <0>;
|
||||
|
||||
v1p8-supply = <&L11B>;
|
||||
spi-max-frequency = <8000000>;
|
||||
pinctrl-names = "nordic_default", "nordic_sleep";
|
||||
pinctrl-0 = <&nordic_gpio6_active &nordic_ctrl_active>;
|
||||
pinctrl-1 = <&nordic_gpio6_suspend &nordic_ctrl_suspend>;
|
||||
|
||||
nordic,ledl-gpio = <&tlmm 134 0>;
|
||||
nordic,ledr-gpio = <&tlmm 135 0>;
|
||||
|
||||
interrupt-parent = <&tlmm>;
|
||||
interrupt-names = "nordicspi_irq";
|
||||
nordic,irq-gpio = <&tlmm 97 0>;
|
||||
nordic,irq_pin = <&tlmm 97 0x00>;
|
||||
interrupts = <64 1>;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user