1/* $FreeBSD$ */ 2 3/dts-v1/; 4/plugin/; 5 6/ { 7 compatible = "brcm,bcm2837"; 8}; 9 10&{/soc/spi@7e204000} { 11 status = "okay"; 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