diff --git a/boards/arm/zaphod/zaphod.dts b/boards/arm/zaphod/zaphod.dts index c9810f95..7a0c3930 100644 --- a/boards/arm/zaphod/zaphod.dts +++ b/boards/arm/zaphod/zaphod.dts @@ -8,6 +8,27 @@ #include #include +&pinctrl { + spi0_default: spi0_default { + group1 { + psels = + , + , + ; + }; + }; + + spi0_sleep: spi0_sleep { + group1 { + psels = + , + , + ; + low-power-enable; + }; + }; +}; + / { model = "zaphod"; compatible = "petejohanson,zaphod"; @@ -100,9 +121,11 @@ &spi0 { compatible = "nordic,nrf-spim"; status = "okay"; - sck-pin = <7>; - mosi-pin = <5>; - miso-pin = <8>; + + pinctrl-0 = <&spi0_default>; + pinctrl-1 = <&spi0_default>; + pinctrl-names = "default", "sleep"; + cs-gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>; ls0xx: ls0xx@0 {