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