This commit is contained in:
Benjamin Kyd
2023-05-26 15:19:16 +01:00
parent c91949fa0f
commit e78432a258
6 changed files with 42 additions and 14 deletions

View File

@@ -1,3 +1,12 @@
&spi1 {
compatible = "raspberrypi,pico-spi", "arm,pl022";
cs-gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
#address-cells = <1>;
#size-cells = <0>;
reg = <0x40040000 DT_SIZE_K(4)>;
resets = <&reset RPI_PICO_RESETS_RESET_SPI1>;
clocks = <&peripheral_clk>;
interrupts = <19 RPI_PICO_DEFAULT_IRQ_PRIORITY>;
interrupt-names = "spi1";
status = "okay";
};