mbox series

[v3,0/4] Add Avenger96 board support

Message ID 20190531063849.26142-1-manivannan.sadhasivam@linaro.org
Headers show
Series Add Avenger96 board support | expand

Message

Manivannan Sadhasivam May 31, 2019, 6:38 a.m. UTC
Hello,

This patchset adds Avenger96 board support. This board is one of the
Consumer Edition boards of the 96Boards family from Arrow Electronics
featuring STM32MP157A MPU and has the following features:

SoC: STM32MP157AAC
PMIC: STPMIC1A
RAM: 1024 Mbyte @ 533MHz
Storage: eMMC v4.51: 8 Gbyte
         microSD Socket: UHS-1 v3.01
Ethernet Port: 10/100/1000 Mbit/s, IEEE 802.3 Compliant
Wireless: WiFi 5 GHz & 2.4GHz IEEE 802.11a/b/g/n/ac
          Bluetooth®v4.2 (BR/EDR/BLE)
USB: 2x Type A (USB 2.0) Host and 1x Micro B (USB 2.0) OTG
Display: HDMI: WXGA (1366x768)@ 60 fps, HDMI 1.4
LED: 4x User LED, 1x WiFi LED, 1x BT LED

More information about this board can be found in 96Boards website:
https://www.96boards.org/product/avenger96/

Thanks,
Mani

Changes in v3:

* Converted STM32 platform bindings to DT schema

Changes in v2:

As per Alex's review:

* Fixed I2C2 pinctrl node
* Sorted the avenger96 dtb in alphabetical order
* Added device-type property to memory node

Manivannan Sadhasivam (4):
  ARM: dts: stm32mp157: Add missing pinctrl definitions
  dt-bindings: arm: stm32: Convert STM32 SoC bindings to DT schema
  dt-bindings: arm: stm32: Document Avenger96 devicetree binding
  ARM: dts: Add Avenger96 devicetree support based on STM32MP157A

 .../devicetree/bindings/arm/stm32/stm32.yaml  |  31 ++
 arch/arm/boot/dts/Makefile                    |   1 +
 arch/arm/boot/dts/stm32mp157-pinctrl.dtsi     |  75 ++++
 arch/arm/boot/dts/stm32mp157a-avenger96.dts   | 321 ++++++++++++++++++
 4 files changed, 428 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/arm/stm32/stm32.yaml
 create mode 100644 arch/arm/boot/dts/stm32mp157a-avenger96.dts

-- 
2.17.1

Comments

Rob Herring June 10, 2019, 9:57 p.m. UTC | #1
On Fri, May 31, 2019 at 12:39 AM Manivannan Sadhasivam
<manivannan.sadhasivam@linaro.org> wrote:
>

> This commit converts STM32 SoC bindings to DT schema using jsonschema.

>

> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>

> ---

>  .../devicetree/bindings/arm/stm32/stm32.yaml  | 29 +++++++++++++++++++

>  1 file changed, 29 insertions(+)

>  create mode 100644 Documentation/devicetree/bindings/arm/stm32/stm32.yaml


Converting implies removal of something. The schema looks fine though.

>

> diff --git a/Documentation/devicetree/bindings/arm/stm32/stm32.yaml b/Documentation/devicetree/bindings/arm/stm32/stm32.yaml

> new file mode 100644

> index 000000000000..f53dc0f2d7b3

> --- /dev/null

> +++ b/Documentation/devicetree/bindings/arm/stm32/stm32.yaml

> @@ -0,0 +1,29 @@

> +# SPDX-License-Identifier: GPL-2.0

> +%YAML 1.2

> +---

> +$id: http://devicetree.org/schemas/arm/stm32/stm32.yaml#

> +$schema: http://devicetree.org/meta-schemas/core.yaml#

> +

> +title: STMicroelectronics STM32 Platforms Device Tree Bindings

> +

> +maintainers:

> +  - Alexandre Torgue <alexandre.torgue@st.com>

> +

> +properties:

> +  compatible:

> +    oneOf:

> +      - items:

> +          - const: st,stm32f429

> +

> +      - items:

> +          - const: st,stm32f469

> +

> +      - items:

> +          - const: st,stm32f746

> +

> +      - items:

> +          - const: st,stm32h743

> +

> +      - items:

> +          - const: st,stm32mp157

> +...

> --

> 2.17.1

>
Manivannan Sadhasivam June 12, 2019, 7:47 a.m. UTC | #2
Hi Rob,

On Mon, Jun 10, 2019 at 03:57:43PM -0600, Rob Herring wrote:
> On Fri, May 31, 2019 at 12:39 AM Manivannan Sadhasivam

> <manivannan.sadhasivam@linaro.org> wrote:

> >

> > This commit converts STM32 SoC bindings to DT schema using jsonschema.

> >

> > Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>

> > ---

> >  .../devicetree/bindings/arm/stm32/stm32.yaml  | 29 +++++++++++++++++++

> >  1 file changed, 29 insertions(+)

> >  create mode 100644 Documentation/devicetree/bindings/arm/stm32/stm32.yaml

> 

> Converting implies removal of something. The schema looks fine though.

> 


Ah, sorry. I forgot to delete the .txt file. Will do it in next revision.

Thanks,
Mani

> >

> > diff --git a/Documentation/devicetree/bindings/arm/stm32/stm32.yaml b/Documentation/devicetree/bindings/arm/stm32/stm32.yaml

> > new file mode 100644

> > index 000000000000..f53dc0f2d7b3

> > --- /dev/null

> > +++ b/Documentation/devicetree/bindings/arm/stm32/stm32.yaml

> > @@ -0,0 +1,29 @@

> > +# SPDX-License-Identifier: GPL-2.0

> > +%YAML 1.2

> > +---

> > +$id: http://devicetree.org/schemas/arm/stm32/stm32.yaml#

> > +$schema: http://devicetree.org/meta-schemas/core.yaml#

> > +

> > +title: STMicroelectronics STM32 Platforms Device Tree Bindings

> > +

> > +maintainers:

> > +  - Alexandre Torgue <alexandre.torgue@st.com>

> > +

> > +properties:

> > +  compatible:

> > +    oneOf:

> > +      - items:

> > +          - const: st,stm32f429

> > +

> > +      - items:

> > +          - const: st,stm32f469

> > +

> > +      - items:

> > +          - const: st,stm32f746

> > +

> > +      - items:

> > +          - const: st,stm32h743

> > +

> > +      - items:

> > +          - const: st,stm32mp157

> > +...

> > --

> > 2.17.1

> >