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