2018-06-22 20:45:40 +00:00
|
|
|
/* $FreeBSD$ */
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
/plugin/;
|
|
|
|
|
|
|
|
/ {
|
|
|
|
compatible = "brcm,bcm2836";
|
|
|
|
};
|
|
|
|
|
|
|
|
&{/soc/spi@7e204000} {
|
|
|
|
status = "okay";
|
|
|
|
spigen0: spigen0 {
|
|
|
|
compatible = "freebsd,spigen";
|
|
|
|
reg = <0>;
|
2019-01-16 01:08:34 +00:00
|
|
|
spi-max-frequency = <500000>; /* Req'd property, override with spi(8) */
|
2018-06-22 20:45:40 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
spigen1: spigen1 {
|
|
|
|
compatible = "freebsd,spigen";
|
|
|
|
reg = <1>;
|
2018-06-23 22:55:22 +00:00
|
|
|
spi-max-frequency = <500000>; /* Req'd property, override with spi(8) */
|
2018-06-22 20:45:40 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&{/soc/gpio@7e200000/spi0_cs_pins} {
|
2019-01-16 01:08:34 +00:00
|
|
|
brcm,pins = <8 7>;
|
2018-06-22 20:45:40 +00:00
|
|
|
brcm,function = <4>; /* ALT0 */
|
|
|
|
};
|
|
|
|
|