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) */ 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) */ 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 40