On Tue, Aug 13, 2019 at 10:21 AM Stefan Wahren <wahrenst@xxxxxxx> wrote: > > Convert the BCM2835/6/7 SoC bindings to DT schema format using json-schema. > All the other Broadcom boards are maintained by Florian Fainelli. > > Signed-off-by: Stefan Wahren <wahrenst@xxxxxxx> > Acked-by: Eric Anholt <eric@xxxxxxxxxx> > --- > .../devicetree/bindings/arm/bcm/bcm2835.yaml | 46 +++++++++++++++ > .../devicetree/bindings/arm/bcm/brcm,bcm2835.txt | 67 ---------------------- > 2 files changed, 46 insertions(+), 67 deletions(-) > create mode 100644 Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml > delete mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,bcm2835.txt > > diff --git a/Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml b/Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml > new file mode 100644 > index 0000000..1a4be26 > --- /dev/null > +++ b/Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml > @@ -0,0 +1,46 @@ > +# SPDX-License-Identifier: GPL-2.0 > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/arm/bcm/bcm2835.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Broadcom BCM2711/BCM2835 Platforms Device Tree Bindings > + > +maintainers: > + - Eric Anholt <eric@xxxxxxxxxx> > + - Stefan Wahren <wahrenst@xxxxxxx> > + > +properties: > + $nodename: > + const: '/' > + compatible: > + oneOf: > + - description: BCM2835 based Boards > + items: > + - enum: > + - raspberrypi,model-a > + - raspberrypi,model-a-plus > + - raspberrypi,model-b > + - raspberrypi,model-b-i2c0 # Raspberry Pi Model B (no P5) > + - raspberrypi,model-b-rev2 > + - raspberrypi,model-b-plus > + - raspberrypi,compute-module > + - raspberrypi,model-zero > + - raspberrypi,model-zero-w > + - const: brcm,bcm2835 > + > + - description: BCM2836 based Boards > + items: > + - enum: > + - raspberrypi,2-model-b Don't you need brcm,bcm2836 here? > + > + - description: BCM2837 based Boards > + items: > + - enum: > + - raspberrypi,3-model-a-plus > + - raspberrypi,3-model-b > + - raspberrypi,3-model-b-plus > + - raspberrypi,3-compute-module > + - raspberrypi,3-compute-module-lite Don't you need brcm,bcm2837 here? Please run 'dtbs_check' and make sure there aren't warnings (in the root node). Rob