Skip to content

Commit

Permalink
dts: bcm271-rpi-3-b: Make brcmvirt-gpio a firmware child
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
pelwell committed Dec 21, 2023
1 parent aff02bb commit a78422f
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions arch/arm/boot/dts/broadcom/bcm2710-rpi-3-b.dts
Original file line number Diff line number Diff line change
Expand Up @@ -168,17 +168,6 @@
};
};

&soc {
virtgpio: virtgpio {
compatible = "brcm,bcm2835-virtgpio";
gpio-controller;
#gpio-cells = <2>;
firmware = <&firmware>;
status = "okay";
};

};

&firmware {
expgpio: expgpio {
compatible = "raspberrypi,firmware-gpio";
Expand All @@ -194,6 +183,13 @@
"PWR_LOW_N";
status = "okay";
};

virtgpio: virtgpio {
compatible = "brcm,bcm2835-virtgpio";
gpio-controller;
#gpio-cells = <2>;
status = "okay";
};
};

&uart0 {
Expand Down

0 comments on commit a78422f

Please sign in to comment.