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