xref: /freebsd/sys/dts/arm/overlays/spigen-rpi2.dtso (revision 00a4815fc63eb64e70d2c51ab7e28c12588fc3b7)
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>;
15*00a4815fSOleksandr Tymoshenko		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>;
2195e390b6SIan 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} {
27*00a4815fSOleksandr Tymoshenko	brcm,pins = <8 7>;
28ce0b0df7SIan Lepore	brcm,function = <4>; /* ALT0 */
29ce0b0df7SIan Lepore};
30ce0b0df7SIan Lepore
31