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
This commit is contained in:
gonzo 2015-11-03 04:50:58 +00:00
parent 70321eeb6d
commit 771341089a
4 changed files with 10 additions and 2 deletions

View File

@ -474,11 +474,12 @@
reg-shift = <2>; reg-shift = <2>;
}; };
vchiq { vchiq: vchiq {
compatible = "broadcom,bcm2835-vchiq"; compatible = "broadcom,bcm2835-vchiq";
reg = <0xB800 0x50>; reg = <0xB800 0x50>;
interrupts = <2>; interrupts = <2>;
interrupt-parent = <&intc>; interrupt-parent = <&intc>;
cache-line-size = <32>;
}; };
usb { usb {

View File

@ -456,11 +456,12 @@
reg-shift = <2>; reg-shift = <2>;
}; };
vchiq { vchiq: vchiq {
compatible = "broadcom,bcm2835-vchiq"; compatible = "broadcom,bcm2835-vchiq";
reg = <0xB800 0x50>; reg = <0xB800 0x50>;
interrupts = <2>; interrupts = <2>;
interrupt-parent = <&intc>; interrupt-parent = <&intc>;
cache-line-size = <32>;
}; };
usb { usb {

View File

@ -389,4 +389,7 @@
stdout = "uart0"; stdout = "uart0";
}; };
__overrides__ {
cache_line_size = <&vchiq>, "cache-line-size:0";
};
}; };

View File

@ -400,4 +400,7 @@
stdout = "uart0"; stdout = "uart0";
}; };
__overrides__ {
cache_line_size = <&vchiq>, "cache-line-size:0";
};
}; };