Re: [PATCH v2 1/5] dt-bindings: Add compatible string opencores,gpio to gpio-mmio
Linus Walleij <[email protected]>
| Newsgroups | org.kernel.vger.linux-openrisc,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-gpio,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <CAD++jLn6FrJ4ZsMMQxiKkYZ5k-ekEXw8B8+1FXUYycqN4Cm-Hg@mail.gmail.com> |
On Wed, Dec 17, 2025 at 9:09 AM Stafford Horne <[email protected]> wrote: > In FPGA Development boards with GPIOs we use the opencores gpio verilog > rtl. This is compatible with the gpio-mmio. Add the compatible string > to allow as below. > > Example: > > gpio0: gpio@91000000 { > compatible = "opencores,gpio", "brcm,bcm6345-gpio"; > reg = <0x91000000 0x1>, <0x91000001 0x1>; > reg-names = "dat", "dirout"; > gpio-controller; > #gpio-cells = <2>; > status = "okay"; > }; > > Link: https://opencores.org/projects/gpio > Signed-off-by: Stafford Horne <[email protected]> Looks reasonable, Reviewed-by: Linus Walleij <[email protected]> Yours, Linus Walleij