xref: /freebsd/sys/dts/arm64/overlays/spigen-rpi4.dtso (revision db33c6f3ae9d1231087710068ee4ea5398aacca7)
1
2/dts-v1/;
3/plugin/;
4
5/ {
6	compatible = "brcm,bcm2711";
7};
8
9&{/soc/spi@7e204000} {
10	status = "okay";
11	spigen0: spigen0 {
12		compatible = "freebsd,spigen";
13		reg = <0>;
14		spi-max-frequency = <500000>; /* Req'd property, override with spi(8) */
15		status = "okay";
16	};
17	spigen1: spigen1 {
18		compatible = "freebsd,spigen";
19		reg = <1>;
20		spi-max-frequency = <500000>; /* Req'd property, override with spi(8) */
21		status = "okay";
22	};
23};
24
25&{/soc/gpio@7e200000/spi0_cs_pins} {
26	brcm,pins = <8 7>;
27	brcm,function = <4>; /* ALT0 */
28};
29
30