The driver makes use of the fact that the firmware node is its parent,
so we'd better make it so.
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
};
};
-&soc {
- virtgpio: virtgpio {
- compatible = "brcm,bcm2835-virtgpio";
- gpio-controller;
- #gpio-cells = <2>;
- firmware = <&firmware>;
- status = "okay";
- };
-
-};
-
&firmware {
expgpio: expgpio {
compatible = "raspberrypi,firmware-gpio";
"PWR_LOW_N";
status = "okay";
};
+
+ virtgpio: virtgpio {
+ compatible = "brcm,bcm2835-virtgpio";
+ gpio-controller;
+ #gpio-cells = <2>;
+ status = "okay";
+ };
};
&uart0 {