Message ID | 20210730134552.853350-3-bert@biot.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Add support for EcoNet EN7523 SoC | expand |
On Fri, Jul 30, 2021 at 03:45:49PM +0200, Bert Vermeulen wrote: > From: John Crispin <john@phrozen.org> > > Add devicetree binding for Econet EN7523 SoC and evaluation board. > > Signed-off-by: John Crispin <john@phrozen.org> > Signed-off-by: Bert Vermeulen <bert@biot.com> > --- > .../devicetree/bindings/arm/econet.yaml | 27 +++++++++++++++++++ > 1 file changed, 27 insertions(+) > create mode 100644 Documentation/devicetree/bindings/arm/econet.yaml > > diff --git a/Documentation/devicetree/bindings/arm/econet.yaml b/Documentation/devicetree/bindings/arm/econet.yaml > new file mode 100644 > index 000000000000..39128f959fef > --- /dev/null > +++ b/Documentation/devicetree/bindings/arm/econet.yaml > @@ -0,0 +1,27 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/arm/econet.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: EcoNet SoC based Platforms Device Tree Bindings > + > +maintainers: > + - Felix Fietkau <nbd@nbd.name> > + - John Crispin <john@phrozen.org> Blank line > +description: | Don't need '|' if no formatting to maintain. > + Boards with an EcoNet SoC shall have the following properties. > + > +properties: > + $nodename: > + const: '/' > + compatible: > + oneOf: Expecting other SoCs soonish? If not, drop 'oneOf'. > + - items: > + - enum: > + - econet,en7523-evb > + - const: econet,en7523 > + > +additionalProperties: true > + > +... > -- > 2.25.1 > >
diff --git a/Documentation/devicetree/bindings/arm/econet.yaml b/Documentation/devicetree/bindings/arm/econet.yaml new file mode 100644 index 000000000000..39128f959fef --- /dev/null +++ b/Documentation/devicetree/bindings/arm/econet.yaml @@ -0,0 +1,27 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/econet.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: EcoNet SoC based Platforms Device Tree Bindings + +maintainers: + - Felix Fietkau <nbd@nbd.name> + - John Crispin <john@phrozen.org> +description: | + Boards with an EcoNet SoC shall have the following properties. + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - items: + - enum: + - econet,en7523-evb + - const: econet,en7523 + +additionalProperties: true + +...