Skip to content

Commit

Permalink
rpi: add a sample DT node for SPI SOF
Browse files Browse the repository at this point in the history
This sample SPI SOF DT node is solely an illustration to accompany
respective SOF changes, all values are completely fictitious.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@intel.com>
  • Loading branch information
lyakh authored and lgirdwood committed Sep 6, 2018
1 parent b647da2 commit 3c28960
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions arch/arm/boot/dts/bcm283x-rpi-sof.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// FIXME: which SPI bus is the card connected to?
@spi {
status = "okay";

sue-creek: sof-sue-creek@0 {
reg = <0>;
compatible = "sof,spi-sue-creek";
// FIXME: frequency value
spi-max-frequency = <54000000>;
fw_filename = "intel/sof-spi.ri";
tplg_filename = "intel/sof-spi.tplg";
// FIXME: GPIO controller and IRQ number and sense
interrupt-parent = <&gpio1>;
interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
irq-gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
};
};

0 comments on commit 3c28960

Please sign in to comment.