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