ARM: dts: bcm2835: make the firmware node into a bus
authorBaruch Siach <baruch@tkos.co.il>
Tue, 20 Feb 2018 12:19:34 +0000 (14:19 +0200)
committerEric Anholt <eric@anholt.net>
Thu, 22 Feb 2018 19:32:29 +0000 (11:32 -0800)
This allows adding devices for which the firmware exposes control interface
via the mailbox. An example of such device is the GPIO expander.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Eric Anholt <eric@anholt.net>
arch/arm/boot/dts/bcm2835-rpi.dtsi

index e36c392a2b8fdfe36dab81b0128e85dfd422ab7b..0198bd46ef7cd228d99f83e7b80c2f455b0f5f33 100644 (file)
@@ -18,7 +18,9 @@
 
        soc {
                firmware: firmware {
-                       compatible = "raspberrypi,bcm2835-firmware";
+                       compatible = "raspberrypi,bcm2835-firmware", "simple-bus";
+                       #address-cells = <0>;
+                       #size-cells = <0>;
                        mboxes = <&mailbox>;
                };