xref: /freebsd/sys/dts/arm/overlays/spigen-rpi2.dtso (revision ce0b0df7ab9fd067a6b3f3c7c9b025fdb9d62d69)
1*ce0b0df7SIan Lepore/* $FreeBSD$ */
2*ce0b0df7SIan Lepore
3*ce0b0df7SIan Lepore/dts-v1/;
4*ce0b0df7SIan Lepore/plugin/;
5*ce0b0df7SIan Lepore
6*ce0b0df7SIan Lepore/ {
7*ce0b0df7SIan Lepore	compatible = "brcm,bcm2836";
8*ce0b0df7SIan Lepore};
9*ce0b0df7SIan Lepore
10*ce0b0df7SIan Lepore&{/soc/spi@7e204000} {
11*ce0b0df7SIan Lepore	status = "okay";
12*ce0b0df7SIan Lepore	spigen0: spigen0 {
13*ce0b0df7SIan Lepore		compatible = "freebsd,spigen";
14*ce0b0df7SIan Lepore		reg = <0>;
15*ce0b0df7SIan Lepore		status = "okay";
16*ce0b0df7SIan Lepore	};
17*ce0b0df7SIan Lepore	spigen1: spigen1 {
18*ce0b0df7SIan Lepore		compatible = "freebsd,spigen";
19*ce0b0df7SIan Lepore		reg = <1>;
20*ce0b0df7SIan Lepore		status = "okay";
21*ce0b0df7SIan Lepore	};
22*ce0b0df7SIan Lepore	spigen2: spigen2 {
23*ce0b0df7SIan Lepore		compatible = "freebsd,spigen";
24*ce0b0df7SIan Lepore		reg = <2>;
25*ce0b0df7SIan Lepore		status = "okay";
26*ce0b0df7SIan Lepore	};
27*ce0b0df7SIan Lepore};
28*ce0b0df7SIan Lepore
29*ce0b0df7SIan Lepore&{/soc/gpio@7e200000/spi0_cs_pins} {
30*ce0b0df7SIan Lepore	brcm,pins = <8 7 16>;
31*ce0b0df7SIan Lepore	brcm,function = <4>; /* ALT0 */
32*ce0b0df7SIan Lepore};
33*ce0b0df7SIan Lepore
34*ce0b0df7SIan Lepore&{/soc/gpio@7e200000/spi0_gpio7} {
35*ce0b0df7SIan Lepore	brcm,pins = <7 8 16 9 10 11>;
36*ce0b0df7SIan Lepore};
37*ce0b0df7SIan Lepore
38