diff options
author | gonzo <gonzo@FreeBSD.org> | 2015-11-03 04:50:58 +0000 |
---|---|---|
committer | gonzo <gonzo@FreeBSD.org> | 2015-11-03 04:50:58 +0000 |
commit | 771341089acb872e09d72aedab61064e6673ab20 (patch) | |
tree | 8cdc0d9545760866969503c0a78fa52cfe78efc0 /sys/boot/fdt/dts | |
parent | 70321eeb6da6bc19d564844ec8225b67a8f22806 (diff) | |
download | FreeBSD-src-771341089acb872e09d72aedab61064e6673ab20.zip FreeBSD-src-771341089acb872e09d72aedab61064e6673ab20.tar.gz |
Raspberry Pi firmware passes cache line size as a DTB parameter
- Add cache-line-size paramter to vchiq node
- Add cache_line_size DTB parameter referencing to
.../vchiq/cache-line-size property
Diffstat (limited to 'sys/boot/fdt/dts')
-rw-r--r-- | sys/boot/fdt/dts/arm/bcm2835.dtsi | 3 | ||||
-rw-r--r-- | sys/boot/fdt/dts/arm/bcm2836.dtsi | 3 | ||||
-rw-r--r-- | sys/boot/fdt/dts/arm/rpi.dts | 3 | ||||
-rw-r--r-- | sys/boot/fdt/dts/arm/rpi2.dts | 3 |
4 files changed, 10 insertions, 2 deletions
diff --git a/sys/boot/fdt/dts/arm/bcm2835.dtsi b/sys/boot/fdt/dts/arm/bcm2835.dtsi index 6ff1944..0b73401 100644 --- a/sys/boot/fdt/dts/arm/bcm2835.dtsi +++ b/sys/boot/fdt/dts/arm/bcm2835.dtsi @@ -474,11 +474,12 @@ reg-shift = <2>; }; - vchiq { + vchiq: vchiq { compatible = "broadcom,bcm2835-vchiq"; reg = <0xB800 0x50>; interrupts = <2>; interrupt-parent = <&intc>; + cache-line-size = <32>; }; usb { diff --git a/sys/boot/fdt/dts/arm/bcm2836.dtsi b/sys/boot/fdt/dts/arm/bcm2836.dtsi index c1caac3..ce967df 100644 --- a/sys/boot/fdt/dts/arm/bcm2836.dtsi +++ b/sys/boot/fdt/dts/arm/bcm2836.dtsi @@ -456,11 +456,12 @@ reg-shift = <2>; }; - vchiq { + vchiq: vchiq { compatible = "broadcom,bcm2835-vchiq"; reg = <0xB800 0x50>; interrupts = <2>; interrupt-parent = <&intc>; + cache-line-size = <32>; }; usb { diff --git a/sys/boot/fdt/dts/arm/rpi.dts b/sys/boot/fdt/dts/arm/rpi.dts index 08d9d24..548f888 100644 --- a/sys/boot/fdt/dts/arm/rpi.dts +++ b/sys/boot/fdt/dts/arm/rpi.dts @@ -389,4 +389,7 @@ stdout = "uart0"; }; + __overrides__ { + cache_line_size = <&vchiq>, "cache-line-size:0"; + }; }; diff --git a/sys/boot/fdt/dts/arm/rpi2.dts b/sys/boot/fdt/dts/arm/rpi2.dts index e32cfb0..951bca3 100644 --- a/sys/boot/fdt/dts/arm/rpi2.dts +++ b/sys/boot/fdt/dts/arm/rpi2.dts @@ -400,4 +400,7 @@ stdout = "uart0"; }; + __overrides__ { + cache_line_size = <&vchiq>, "cache-line-size:0"; + }; }; |