xref: /freebsd/sys/dts/arm/overlays/spigen-rpi2.dtso (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
1
2/dts-v1/;
3/plugin/;
4
5/ {
6	compatible = "brcm,bcm2836";
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