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