Message ID | 20211117035106.321454-2-joel@jms.id.au (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | ARM: aspeed: Secure Boot Controller support | expand |
On Wed, Nov 17, 2021 at 11:51:04AM +0800, Joel Stanley wrote: > The secure boot controller was first introduced in the AST2600. > > Signed-off-by: Joel Stanley <joel@jms.id.au> > --- > .../bindings/arm/aspeed/aspeed,sbc.yaml | 37 +++++++++++++++++++ > 1 file changed, 37 insertions(+) > create mode 100644 Documentation/devicetree/bindings/arm/aspeed/aspeed,sbc.yaml > > diff --git a/Documentation/devicetree/bindings/arm/aspeed/aspeed,sbc.yaml b/Documentation/devicetree/bindings/arm/aspeed/aspeed,sbc.yaml > new file mode 100644 > index 000000000000..c72aab706484 > --- /dev/null > +++ b/Documentation/devicetree/bindings/arm/aspeed/aspeed,sbc.yaml > @@ -0,0 +1,37 @@ > +# SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) GPL-2.0-only OR BSD-2-Clause > +# Copyright 2021 Joel Stanley, IBM Corp. > +%YAML 1.2 > +--- > +$id: "http://devicetree.org/schemas/arm/aspeed/aspeed,sbc.yaml#" > +$schema: "http://devicetree.org/meta-schemas/core.yaml#" > + > +title: ASPEED Secure Boot Controller > + > +maintainers: > + - Joel Stanley <joel@jms.id.au> > + - Andrew Jeffery <andrew@aj.id.au> > + > +description: | Only need '|' to preserve formatting which you don't have. With those addressed, Reviewed-by: Rob Herring <robh@kernel.org> > + The ASPEED SoCs have a register bank for interacting with the secure boot > + controller. > + > +properties: > + compatible: > + items: > + - const: aspeed,ast2600-sbc > + > + reg: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + > +additionalProperties: false > + > +examples: > + - | > + sbc: secure-boot-controller@1e6f2000 { > + compatible = "aspeed,ast2600-sbc"; > + reg = <0x1e6f2000 0x1000>; > + }; > -- > 2.33.0 > >
diff --git a/Documentation/devicetree/bindings/arm/aspeed/aspeed,sbc.yaml b/Documentation/devicetree/bindings/arm/aspeed/aspeed,sbc.yaml new file mode 100644 index 000000000000..c72aab706484 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/aspeed/aspeed,sbc.yaml @@ -0,0 +1,37 @@ +# SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) +# Copyright 2021 Joel Stanley, IBM Corp. +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/arm/aspeed/aspeed,sbc.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: ASPEED Secure Boot Controller + +maintainers: + - Joel Stanley <joel@jms.id.au> + - Andrew Jeffery <andrew@aj.id.au> + +description: | + The ASPEED SoCs have a register bank for interacting with the secure boot + controller. + +properties: + compatible: + items: + - const: aspeed,ast2600-sbc + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + sbc: secure-boot-controller@1e6f2000 { + compatible = "aspeed,ast2600-sbc"; + reg = <0x1e6f2000 0x1000>; + };
The secure boot controller was first introduced in the AST2600. Signed-off-by: Joel Stanley <joel@jms.id.au> --- .../bindings/arm/aspeed/aspeed,sbc.yaml | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/aspeed/aspeed,sbc.yaml