freebsd-skq/sys/dts/arm64/overlays/spigen-rpi3.dtso
Oleksandr Tymoshenko 00a4815fc6 [rpi] Reorganize spigen(4) overlays for Raspberry Pi
- Remove CS=2 entry from spigen-rpi2 since it didn't work
- Add spigen-rpi3 overlay for Raspberry Pi 3
- Enable rpi overlay modules for GENERIC kernel on aarch64

PR:		233489
Submitted by:	bobf@mrp3.com
Reviewed by:	db
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D16088
2019-01-16 01:08:34 +00:00

31 lines
544 B
Plaintext

/* $FreeBSD$ */
/dts-v1/;
/plugin/;
/ {
compatible = "brcm,bcm2837";
};
&{/soc/spi@7e204000} {
status = "okay";
spigen0: spigen0 {
compatible = "freebsd,spigen";
reg = <0>;
spi-max-frequency = <500000>; /* Req'd property, override with spi(8) */
status = "okay";
};
spigen1: spigen1 {
compatible = "freebsd,spigen";
reg = <1>;
spi-max-frequency = <500000>; /* Req'd property, override with spi(8) */
status = "okay";
};
};
&{/soc/gpio@7e200000/spi0_cs_pins} {
brcm,pins = <8 7>;
brcm,function = <4>; /* ALT0 */
};