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