brcm2708: add linux 4.19 support
[openwrt/openwrt.git] / target / linux / brcm2708 / patches-4.19 / 950-0215-BCM2708_DT-update-firmware-node-binding.patch
1 From 2a98edd2e5a5477d9649f0682c9b195c8b6c7656 Mon Sep 17 00:00:00 2001
2 From: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
3 Date: Wed, 28 Nov 2018 10:36:01 +0100
4 Subject: [PATCH 215/703] BCM2708_DT: update firmware node binding
5
6 The upstreamed version of the firmware node has been updated to present
7 it as a "simple-bus". We need to get this in order to accomodate other
8 device bindings, namely RPi's firmware based gpio expander.
9
10 Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
11 ---
12 arch/arm/boot/dts/bcm2708-rpi.dtsi | 4 +++-
13 1 file changed, 3 insertions(+), 1 deletion(-)
14
15 --- a/arch/arm/boot/dts/bcm2708-rpi.dtsi
16 +++ b/arch/arm/boot/dts/bcm2708-rpi.dtsi
17 @@ -50,7 +50,9 @@
18 };
19
20 firmware: firmware {
21 - compatible = "raspberrypi,bcm2835-firmware";
22 + compatible = "raspberrypi,bcm2835-firmware", "simple-bus";
23 + #address-cells = <0>;
24 + #size-cells = <0>;
25 mboxes = <&mailbox>;
26 };
27