refactor(boards): Move to pinctrl.

This commit is contained in:
Peter Johanson
2022-11-05 00:35:58 -04:00
committed by Pete Johanson
parent 518f9a550f
commit 1493620bf7
89 changed files with 1981 additions and 376 deletions

View File

@@ -4,11 +4,21 @@
* SPDX-License-Identifier: MIT
*/
&pinctrl {
spi0_default: spi0_default {
group1 {
psels = <NRF_PSEL(SPIM_SCK, 0, 17)>,
<NRF_PSEL(SPIM_MOSI, 0, 15)>,
<NRF_PSEL(SPIM_MISO, 0, 25)>;
};
};
};
nice_view_spi: &spi0 {
compatible = "nordic,nrf-spim";
sck-pin = <17>;
mosi-pin = <15>;
miso-pin = <25>;
pinctrl-0 = &spi0_default;
pinctrl-names = "default";
cs-gpios = <&pro_micro 1 GPIO_ACTIVE_HIGH>;
};

View File

@@ -4,11 +4,20 @@
* SPDX-License-Identifier: MIT
*/
&pinctrl {
spi0_default: spi0_default {
group1 {
psels = <NRF_PSEL(SPIM_SCK, 0, 20)>,
<NRF_PSEL(SPIM_MOSI, 0, 17)>,
<NRF_PSEL(SPIM_MISO, 0, 5)>;
};
};
};
nice_view_spi: &spi0 {
compatible = "nordic,nrf-spim";
sck-pin = <20>;
mosi-pin = <17>;
miso-pin = <5>;
pinctrl-0 = &spi0_default;
pinctrl-names = "default";
cs-gpios = <&pro_micro 1 GPIO_ACTIVE_HIGH>;
};

View File

@@ -4,11 +4,20 @@
* SPDX-License-Identifier: MIT
*/
&pinctrl {
spi0_default: spi0_default {
group1 {
psels = <NRF_PSEL(SPIM_SCK, 0, 20)>,
<NRF_PSEL(SPIM_MOSI, 0, 17)>,
<NRF_PSEL(SPIM_MISO, 0, 25)>;
};
};
};
nice_view_spi: &spi0 {
compatible = "nordic,nrf-spim";
sck-pin = <20>;
mosi-pin = <17>;
miso-pin = <25>;
pinctrl-0 = &spi0_default;
pinctrl-names = "default";
cs-gpios = <&pro_micro 1 GPIO_ACTIVE_HIGH>;
};

View File

@@ -4,11 +4,20 @@
* SPDX-License-Identifier: MIT
*/
&pinctrl {
spi0_default: spi0_default {
group1 {
psels = <NRF_PSEL(SPIM_SCK, 0, 20)>,
<NRF_PSEL(SPIM_MOSI, 0, 17)>,
<NRF_PSEL(SPIM_MISO, 0, 25)>;
};
};
};
nice_view_spi: &spi0 {
compatible = "nordic,nrf-spim";
sck-pin = <20>;
mosi-pin = <17>;
miso-pin = <25>;
pinctrl-0 = <&spi0_default>;
pinctrl-names = "default";
cs-gpios = <&pro_micro 1 GPIO_ACTIVE_HIGH>;
};

View File

@@ -4,11 +4,21 @@
* SPDX-License-Identifier: MIT
*/
&pinctrl {
spi0_default: spi0_default {
group1 {
psels = <NRF_PSEL(SPIM_SCK, 0, 17)>,
<NRF_PSEL(SPIM_MOSI, 0, 15)>,
<NRF_PSEL(SPIM_MISO, 0, 25)>;
};
};
};
nice_view_spi: &spi0 {
compatible = "nordic,nrf-spim";
sck-pin = <17>;
mosi-pin = <15>;
miso-pin = <25>;
pinctrl-0 = &spi0_default;
pinctrl-names = "default";
cs-gpios = <&pro_micro 1 GPIO_ACTIVE_HIGH>;
};

View File

@@ -4,11 +4,20 @@
* SPDX-License-Identifier: MIT
*/
&pinctrl {
spi0_default: spi0_default {
group1 {
psels = <NRF_PSEL(SPIM_SCK, 0, 31)>,
<NRF_PSEL(SPIM_MOSI, 0, 30)>,
<NRF_PSEL(SPIM_MISO, 0, 25)>;
};
};
};
nice_view_spi: &spi0 {
compatible = "nordic,nrf-spim";
sck-pin = <31>;
mosi-pin = <30>;
miso-pin = <25>;
pinctrl-0 = &spi0_default;
pinctrl-names = "default";
cs-gpios = <&pro_micro 1 GPIO_ACTIVE_HIGH>;
};

View File

@@ -4,11 +4,20 @@
* SPDX-License-Identifier: MIT
*/
&pinctrl {
spi0_default: spi0_default {
group1 {
psels = <NRF_PSEL(SPIM_SCK, 0, 17)>,
<NRF_PSEL(SPIM_MOSI, 0, 15)>,
<NRF_PSEL(SPIM_MISO, 0, 25)>;
};
};
};
nice_view_spi: &spi0 {
compatible = "nordic,nrf-spim";
sck-pin = <17>;
mosi-pin = <15>;
miso-pin = <25>;
pinctrl-0 = &spi0_default;
pinctrl-names = "default";
cs-gpios = <&pro_micro 1 GPIO_ACTIVE_HIGH>;
};

View File

@@ -4,11 +4,20 @@
* SPDX-License-Identifier: MIT
*/
&pinctrl {
spi0_default: spi0_default {
group1 {
psels = <NRF_PSEL(SPIM_SCK, 0, 17)>,
<NRF_PSEL(SPIM_MOSI, 0, 15)>,
<NRF_PSEL(SPIM_MISO, 0, 25)>;
};
};
};
nice_view_spi: &spi0 {
compatible = "nordic,nrf-spim";
sck-pin = <17>;
mosi-pin = <15>;
miso-pin = <25>;
pinctrl-0 = &spi0_default;
pinctrl-names = "default";
cs-gpios = <&pro_micro 1 GPIO_ACTIVE_HIGH>;
};