platform/kernel/linux-rpi.git
2 years agoMerge tag 'stm32-dt-for-v5.19-1' of git://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Thu, 5 May 2022 14:44:18 +0000 (16:44 +0200)]
Merge tag 'stm32-dt-for-v5.19-1' of git://git./linux/kernel/git/atorgue/stm32 into arm/dt

STM32 DT for v5.19, round 1

Highlights:
----------

-MCU:
 -Fix pinctrl node names to match with pinctrl yaml.

- MPU:
 -General:
  - Fix pinctrl node names to match with pinctrl yaml.
  - Add Protonics boards support based on STM32MP151A SoC:
    - PRTT1C - 10BaseT1L switch: mainly embeds a sja1105q switch with
               TI and Micrel 10BaseT Phys and wifi support.
    - PRTT1S - 10BaseT1L CO2 sensor board: mainly embeds I2C humidity
               and CO2 sensors.
    - PRTT1A - 10BaseT1L multi functional controller.

 - ST boards:
  - Add RTC support on stm32mp13.
  - Add button and heartbit support on stm32mp13 DK board.
  - Add a secure version of STM32MP15 ED1/EV1/DK1/DK2 boards based
    on OP-TEE OS and SCMI protocol.

 - DH boards:
  - Use MCO2 to generate PHY clock and ETHRX clock in order to release
    internal PLL for a better SD card usage.
  - Add 1ms PHY post-reset on Avenger96 board to match with PHY
    requirements.

* tag 'stm32-dt-for-v5.19-1' of git://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32: (24 commits)
  ARM: dts: stm32: Add SCMI version of STM32 boards (DK1/DK2/ED1/EV1)
  dt-bindings: arm: stm32: Add SCMI version of STM32 boards (DK1/DK2/ED1/EV1)
  ARM: dts: stm32: enable optee firmware and SCMI support on STM32MP15
  dt-bindings: reset: stm32mp15: rename RST_SCMI define
  dt-bindings: clock: stm32mp15: rename CK_SCMI define
  dt-bindings: clock: stm32mp1: describes clocks if "st,stm32mp1-rcc-secure"
  dt-bindings: rcc: Add optional external ethernet RX clock properties
  ARM: dts: stm32: add UserPA13 button on stm32mp135f-dk
  ARM: dts: stm32: add blue led (Linux heartbeat) on stm32mp135f-dk
  ARM: dts: stm32: add EXTI interrupt-parent to pinctrl node on stm32mp131
  ARM: dts: stm32: add support for Protonic PRTT1x boards
  ARM: dts: stm32: stm32mp15-pinctrl: add spi1-1 pinmux group
  dt-bindings: net: silabs,wfx: add prt,prtt1c-wfm200 antenna variant
  dt-bindings: arm: stm32: Add compatible strings for Protonic T1L boards
  dt-bindings: arm: stm32: correct blank lines
  dt-bindings: arm: stm32: narrow DH STM32MP1 SoM boards
  ARM: dts: stm32: enable RTC support on stm32mp135f-dk
  ARM: dts: stm32: add RTC node on stm32mp131
  ARM: dts: stm32: Fix PHY post-reset delay on Avenger96
  ARM: dts: stm32: fix pinctrl node name warnings (MPU soc)
  ...

Link: https://lore.kernel.org/r/5818c943-882d-7e50-430d-ae3299a108ee@foss.st.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2 years agoARM: dts: stm32: Add SCMI version of STM32 boards (DK1/DK2/ED1/EV1)
Alexandre Torgue [Fri, 22 Apr 2022 15:09:52 +0000 (17:09 +0200)]
ARM: dts: stm32: Add SCMI version of STM32 boards (DK1/DK2/ED1/EV1)

Add a "secure" version based on SCMI of STM32 boards. Only boards
provided by STMicroelectronics are concerned:

-STM32MP157A-DK1
-STM32MP157C-DK2
-STM32MP157C-ED1
-STM32MP157C-EV1

Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
2 years agodt-bindings: arm: stm32: Add SCMI version of STM32 boards (DK1/DK2/ED1/EV1)
Alexandre Torgue [Fri, 22 Apr 2022 15:09:51 +0000 (17:09 +0200)]
dt-bindings: arm: stm32: Add SCMI version of STM32 boards (DK1/DK2/ED1/EV1)

Add a "secure" version based on SCMI of STM32 boards. Only boards
provided by STMicroelectronics are concerned:

-STM32MP157A-DK1
-STM32MP157C-DK2
-STM32MP157C-ED1
-STM32MP157C-EV1

Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
Acked-by: Rob Herring <robh@kernel.org>
2 years agoARM: dts: stm32: enable optee firmware and SCMI support on STM32MP15
Alexandre Torgue [Fri, 22 Apr 2022 15:09:50 +0000 (17:09 +0200)]
ARM: dts: stm32: enable optee firmware and SCMI support on STM32MP15

Enable optee and SCMI clocks/reset protocols support.

Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
2 years agodt-bindings: reset: stm32mp15: rename RST_SCMI define
Alexandre Torgue [Fri, 22 Apr 2022 15:09:48 +0000 (17:09 +0200)]
dt-bindings: reset: stm32mp15: rename RST_SCMI define

As we only have one SCMI instance, it's not necessary to add an index to
the name.

Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
Acked-by: Rob Herring <robh@kernel.org>
2 years agodt-bindings: clock: stm32mp15: rename CK_SCMI define
Alexandre Torgue [Fri, 22 Apr 2022 15:09:47 +0000 (17:09 +0200)]
dt-bindings: clock: stm32mp15: rename CK_SCMI define

As we only have one SCMI instance, it's not necessary to add an index to
the name.

Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
Acked-by: Rob Herring <robh@kernel.org>
2 years agodt-bindings: clock: stm32mp1: describes clocks if "st,stm32mp1-rcc-secure"
Alexandre Torgue [Fri, 22 Apr 2022 15:09:46 +0000 (17:09 +0200)]
dt-bindings: clock: stm32mp1: describes clocks if "st,stm32mp1-rcc-secure"

In case of "st,stm32mp1-rcc-secure" (stm32mp1 clock driver with RCC
security support hardened), "clocks" and "clock-names" describe oscillators
and are required.

Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
Reviewed-by: Rob Herring <robh@kernel.org>
2 years agodt-bindings: rcc: Add optional external ethernet RX clock properties
Marek Vasut [Sun, 10 Apr 2022 22:05:14 +0000 (00:05 +0200)]
dt-bindings: rcc: Add optional external ethernet RX clock properties

Describe optional external ethernet RX clock in the DT binding
to fix dtbs_check warnings like:

arch/arm/boot/dts/stm32mp153c-dhcom-drc02.dt.yaml: rcc@50000000: 'assigned-clock-parents', 'assigned-clock-rates', 'assigned-clocks', 'clock-names', 'clocks' do not match any of the regexes: 'pinctrl-[0-9]+'

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>
Cc: Gabriel Fernandez <gabriel.fernandez@foss.st.com>
Cc: Rob Herring <robh+dt@kernel.org>
To: devicetree@vger.kernel.org
Acked-by: Gabriel Fernandez <gabriel.fernandez@foss.st.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220410220514.21779-1-marex@denx.de
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
2 years agoARM: dts: stm32: add UserPA13 button on stm32mp135f-dk
Fabien Dessenne [Tue, 3 May 2022 09:41:33 +0000 (11:41 +0200)]
ARM: dts: stm32: add UserPA13 button on stm32mp135f-dk

The PA13 user button is connected to the PA13 pin of the stm32mp135f-dk
board. It requires an internal pull-up configuration.

Signed-off-by: Fabien Dessenne <fabien.dessenne@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
2 years agoARM: dts: stm32: add blue led (Linux heartbeat) on stm32mp135f-dk
Fabien Dessenne [Tue, 3 May 2022 09:41:24 +0000 (11:41 +0200)]
ARM: dts: stm32: add blue led (Linux heartbeat) on stm32mp135f-dk

The blue led (Linux heartbeat) is connected to the PA14 pin of the
stm32mp135f-dk board.

Signed-off-by: Fabien Dessenne <fabien.dessenne@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
2 years agoARM: dts: stm32: add EXTI interrupt-parent to pinctrl node on stm32mp131
Fabien Dessenne [Tue, 3 May 2022 09:06:21 +0000 (11:06 +0200)]
ARM: dts: stm32: add EXTI interrupt-parent to pinctrl node on stm32mp131

Add interrupt-parent property in pinctrl node to use GPIO as IRQ.

Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
Signed-off-by: Fabien Dessenne <fabien.dessenne@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
2 years agoMerge tag 'amlogic-arm-dt-for-v5.19' of git://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Tue, 3 May 2022 13:29:13 +0000 (15:29 +0200)]
Merge tag 'amlogic-arm-dt-for-v5.19' of git://git./linux/kernel/git/amlogic/linux into arm/dt

Amlogic ARM DT changes for v5.19:
- align SPI NOR node name with dtschema

* tag 'amlogic-arm-dt-for-v5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux:
  ARM: dts: meson: align SPI NOR node name with dtschema

Link: https://lore.kernel.org/r/fbd7cbe7-1fe9-7009-37d6-c01b15c93032@baylibre.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2 years agoMerge tag 'amlogic-arm64-dt-for-v5.19' of git://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Tue, 3 May 2022 13:27:58 +0000 (15:27 +0200)]
Merge tag 'amlogic-arm64-dt-for-v5.19' of git://git./linux/kernel/git/amlogic/linux into arm/dt

Amlogic ARM64 DT changes for v5.19:
- DTS makefile alpsa sort
- align SPI NOR node name with dtschema
- add support for S4 power domain, gpio_intc, pinctrl
- updates and fixes for JetHub D1/H1 boards

* tag 'amlogic-arm64-dt-for-v5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux:
  arm64: dts: meson: alpa sort the board Makefile
  arm64: dts: meson: align SPI NOR node name with dtschema
  arm64: dts: add support for S4 power domain controller
  arm64: dts: meson-s4: add gpio_intc node
  arm64: dts: meson-s4: add pinctrl node
  arm64: meson: update WiFi SDIO in dts for JetHub D1
  arm64: meson: update SDIO voltage in dts for JetHub D1
  arm64: meson: dts: update serial alias in dts for JetHub D1
  arm64: meson: add dts bluetooth node for JetHub H1

Link: https://lore.kernel.org/r/1e5179ab-2d92-0d64-c57b-e002ec2f0806@baylibre.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2 years agoMerge tag 'ux500-dts-v5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw...
Arnd Bergmann [Tue, 3 May 2022 13:27:33 +0000 (15:27 +0200)]
Merge tag 'ux500-dts-v5.19' of git://git./linux/kernel/git/linusw/linux-nomadik into arm/dt

Ux500 DTS updates for the v5.19 kernel cycle:

- New devicetree for Codina TMO (SGH-T599).

- Add the Amastaos proximity sensor to the Codina.

- Add line impedance per machine to the Fuel Gauge
  nodes.

- Add GPS to Janice, Skomer and Codina.

- Add NFC to the Codina for GT-I8160P.

- Some janitorial like clock names.

* tag 'ux500-dts-v5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik:
  ARM: dts: ux500: Add GPS to the Codina
  ARM: dts: ux500: Add NFC to the Codina
  ARM: dts: ux500: Add GPS to Skomer device tree
  ARM: dts: ux500: Add GPS to Janice device tree
  ARM: dts: ux500: Add line impedance to fuel gauge
  ARM: dts: ux500: Register Amstaos proximity sensor
  ARM: dts: ux500: Add Codina TMO device tree
  dt-bindings: arm: ux500: Document Codina-TMO
  ARM: dts: ste-dbx: Update spi clock-names property

Link: https://lore.kernel.org/r/CACRpkdYngWscqak5phKm58O2GF0RmVETgwW4NCKTBiASdaEcyg@mail.gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2 years agoMerge tag 'omap-for-v5.19/dt-signed' of git://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Tue, 3 May 2022 13:26:13 +0000 (15:26 +0200)]
Merge tag 'omap-for-v5.19/dt-signed' of git://git./linux/kernel/git/tmlind/linux-omap into arm/dt

Devicetree changes for omaps

Devicetree changes for omaps:

- A series of changes to fix devicetree binding check warnings for omaps
  the the use of clock-output-names and clksel bindings

- Update Ethernet node names for omaps

- Pinctrl updates for logicpd-som-lv

- A series of updates for am335x-guardian

- Regulator range update for  am335x-baltos

Note that this branch is based on a upstream IOMMU fix as it's needed for
booting on some SoCs.

* tag 'omap-for-v5.19/dt-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: (29 commits)
  ARM: dts: am335x-baltos: update MPU regulator range
  ARM: dts: am335x: Guardian: Update comments
  ARM: dts: am335x: Guardian: Add gpio line manes
  ARM: dts: am335x: Guardian: Update interface pinmux
  ARM: dts: am335x: Guardian: Disable DMA property of USB1
  ARM: dts: am335x: Guardian: Enable UART port two
  ARM: dts: am335x: Guardian: Update backlight parameter
  ARM: dts: am335x: Guardian: Add lcd port
  ARM: dts: am335x: Guardian: Update regulator node name
  ARM: dts: am335x: Guardian: Update beeper label
  ARM: dts: am335x: Guardian: Update life led
  ARM: dts: am335x: Guardian: Remove mmc status led
  ARM: dts: am335x: Guardian: Disable poweroff support from RTC
  ARM: dts: am335x: Guardian: Add keypad
  ARM: dts: am335x: Guardian: Rename power button label
  ARM: dts: am335x: Guardian: Update NAND partition table
  ARM: dts: logicpd-som-lv: Move pinmuxing to peripheral nodes
  ARM: dts: omap3/4/5: fix ethernet node name for different OMAP boards
  ARM: dts: Drop custom clkctrl compatible and update omap5 l4per
  ARM: dts: Add clock-output-names for omap5
  ...

Link: https://lore.kernel.org/r/pull-1650961799-428630@atomide.com-2
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2 years agoMerge tag 'bindings-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind...
Arnd Bergmann [Tue, 3 May 2022 13:25:36 +0000 (15:25 +0200)]
Merge tag 'bindings-signed' of git://git./linux/kernel/git/tmlind/linux-omap into arm/dt

Clock binding updates for omaps

Minor clock binding changes to document clock-output-names usage for omaps
so we can fix lots of related dt bindings check warnings. The related driver
changes already got merged for v5.18.

* tag 'bindings-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
  dt-bindings: clock: ti: Add clock-output-names for TI composite clocks
  dt-bindings: clock: ti: Add clock-output-names for clockctrl
  dt-bindings: omap: Add clock-output-names and #clock-cells

Link: https://lore.kernel.org/r/pull-1650961799-428630@atomide.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2 years agoMerge tag 'renesas-dt-bindings-for-v5.19-tag1' of git://git.kernel.org/pub/scm/linux...
Arnd Bergmann [Tue, 3 May 2022 13:25:04 +0000 (15:25 +0200)]
Merge tag 'renesas-dt-bindings-for-v5.19-tag1' of git://git./linux/kernel/git/geert/renesas-devel into arm/dt

Renesas DT binding updates for v5.19

  - Document support for the new RZ/G2UL SoC and the RZ/G2UL SMARC EVK
    development board.

* tag 'renesas-dt-bindings-for-v5.19-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel:
  dt-bindings: arm: renesas: Document Renesas RZ/G2UL SMARC EVK
  dt-bindings: power: renesas,rzg2l-sysc: Document RZ/G2UL SoC

Link: https://lore.kernel.org/r/cover.1650638516.git.geert+renesas@glider.be
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2 years agoMerge tag 'renesas-arm-dt-for-v5.19-tag1' of git://git.kernel.org/pub/scm/linux/kerne...
Arnd Bergmann [Tue, 3 May 2022 13:24:08 +0000 (15:24 +0200)]
Merge tag 'renesas-arm-dt-for-v5.19-tag1' of git://git./linux/kernel/git/geert/renesas-devel into arm/dt

Renesas ARM DT updates for v5.19

  - ADC, SDHI, CAN-FD, I2C, QSPI, timer, watchdog, sound, USB, SPI, GPU,
    cpufreq, and thermal support for the RZ/V2L SoC, and the RZ/V2L
    SMARC EVK development board,
  - USB, I2C, Audio, NOR Flash, timer, SPI support for RZ/G2LC SMARC EVK
    development board,
  - Can-FD support for the R-Car M30W+ and V3U SoCs, and the Falcon
    development board,
  - I2C and GPIO support for the R-Car S4-8 SoC,
  - I2C EEPROM support for the Falcon development board,
  - SPI Multi I/O Bus Controller (RPC-IF) support for the R-Car H3,
    M3-W(+), M3-N, E3, and D3 SoCs,
  - RPC HyperFlash support for the Draak, Ebisu, Salvator-X(S), and ULCB
    development boards,
  - Initial support (UART, DMAC, pin control, SDHI, eMMC, Ethernet) for
    the RZ/G2UL SoC, and the RZ/G2UL SMARC EVK development board,
  - Miscellaneous fixes and improvements.

* tag 'renesas-arm-dt-for-v5.19-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel: (55 commits)
  ARM: dts: r9a06g032: Drop "arm,cortex-a7-timer" from timer node
  arm64: dts: renesas: r8a779f0: Add GPIO nodes
  arm64: dts: renesas: rzg2ul-smarc-som: Enable Ethernet on SMARC platform
  arm64: dts: renesas: rzg2ul-smarc-som: Enable eMMC on SMARC platform
  arm64: dts: renesas: rzg2ul-smarc: Enable microSD on SMARC platform
  arm64: dts: renesas: r9a07g043: Add GbEthernet nodes
  arm64: dts: renesas: r9a07g043: Add SDHI nodes
  arm64: dts: renesas: rzg2ul-smarc: Add scif0 and audio clk pins
  arm64: dts: renesas: r9a07g043: Fillup the pinctrl stub node
  arm64: dts: renesas: Add initial device tree for RZ/G2UL Type-1 SMARC EVK
  arm64: dts: renesas: Add initial DTSI for RZ/G2UL SoC
  arm64: dts: renesas: rzg2l-smarc: Move gpios property of vccq_sdhi1 from common dtsi
  arm64: dts: renesas: rzg2lc-smarc: Enable RSPI1 on carrier board
  arm64: dts: renesas: ulcb: Add RPC HyperFlash device node
  arm64: dts: renesas: salvator-common: Add RPC HyperFlash device node
  arm64: dts: renesas: ebisu: Add RPC HyperFlash device node
  arm64: dts: renesas: draak: Add RPC HyperFlash device node
  arm64: dts: renesas: rcar-gen3: Add RPC device nodes
  arm64: dts: renesas: rcar-gen4: Add interrupt properties to watchdog nodes
  arm64: dts: renesas: rzg2: Add interrupt properties to watchdog nodes
  ...

Link: https://lore.kernel.org/r/cover.1650638505.git.geert+renesas@glider.be
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2 years agoARM: dts: stm32: add support for Protonic PRTT1x boards
Oleksij Rempel [Tue, 26 Apr 2022 07:35:11 +0000 (09:35 +0200)]
ARM: dts: stm32: add support for Protonic PRTT1x boards

This boards are based on STM32MP151AAD3 and use 10BaseT1L for communication.

- PRTT1C - 10BaseT1L switch
- PRTT1S - 10BaseT1L CO2 sensor board
- PRTT1A - 10BaseT1L multi functional controller

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
2 years agoARM: dts: stm32: stm32mp15-pinctrl: add spi1-1 pinmux group
Oleksij Rempel [Tue, 26 Apr 2022 07:35:10 +0000 (09:35 +0200)]
ARM: dts: stm32: stm32mp15-pinctrl: add spi1-1 pinmux group

Add spi1-1 pingroup as preparation for Protonic PRTT1C board.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
2 years agodt-bindings: net: silabs,wfx: add prt,prtt1c-wfm200 antenna variant
Oleksij Rempel [Tue, 26 Apr 2022 07:35:09 +0000 (09:35 +0200)]
dt-bindings: net: silabs,wfx: add prt,prtt1c-wfm200 antenna variant

Add compatible for wfm200 antenna configuration variant for Protonic PRTT1C
board.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
2 years agodt-bindings: arm: stm32: Add compatible strings for Protonic T1L boards
Oleksij Rempel [Tue, 26 Apr 2022 07:35:08 +0000 (09:35 +0200)]
dt-bindings: arm: stm32: Add compatible strings for Protonic T1L boards

This boards are based on STM32MP151AAD3 and use 10BaseT1L for
communication.

- PRTT1C - 10BaseT1L switch
- PRTT1S - 10BaseT1L CO2 sensor board
- PRTT1A - 10BaseT1L multi functional controller

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
2 years agodt-bindings: arm: stm32: correct blank lines
Krzysztof Kozlowski [Mon, 25 Apr 2022 14:04:36 +0000 (16:04 +0200)]
dt-bindings: arm: stm32: correct blank lines

Correct blank lines to precesily separate entries.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
2 years agodt-bindings: arm: stm32: narrow DH STM32MP1 SoM boards
Krzysztof Kozlowski [Mon, 25 Apr 2022 14:04:35 +0000 (16:04 +0200)]
dt-bindings: arm: stm32: narrow DH STM32MP1 SoM boards

The bindings for DH STM32MP1 SoM boards allows invalid combinations,
e.g. st,stm32mp153 SoC on a dh,stm32mp157c-dhcom-som SoM.

Split the enums to properly match valid setups.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
2 years agoARM: dts: ux500: Add GPS to the Codina
Linus Walleij [Thu, 14 Apr 2022 21:40:16 +0000 (23:40 +0200)]
ARM: dts: ux500: Add GPS to the Codina

The Codina has a Broadcom BCM4751 GPS chip.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2 years agoMerge tag 'samsung-dt64-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk...
Arnd Bergmann [Thu, 21 Apr 2022 15:14:52 +0000 (17:14 +0200)]
Merge tag 'samsung-dt64-5.19' of git://git./linux/kernel/git/krzk/linux into arm/dt

Samsung DTS ARM64 changes for v5.19

1. Cleanup: move aliases of board-related features to board in
   Exynos850.
2. Add specific compatibles to Multi Core Timer to allow stricter DT
   schema matching.

* tag 'samsung-dt64-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
  arm64: dts: tesla: add a specific compatible to MCT on FSD
  arm64: dts: exynos: add a specific compatible to MCT
  arm64: dts: exynos: move aliases to board in Exynos850

Link: https://lore.kernel.org/r/20220420072152.11696-3-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2 years agoMerge tag 'samsung-dt-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk...
Arnd Bergmann [Thu, 21 Apr 2022 15:10:01 +0000 (17:10 +0200)]
Merge tag 'samsung-dt-5.19' of git://git./linux/kernel/git/krzk/linux into arm/dt

Samsung DTS ARM changes for v5.19

1. Several DT schema related changes to make DTBs passing schema checks:
   EHCI/OHCI/DMA/Ethernet node names, DMA channels order, USB-like
   compatibles.
2. Add specific compatibles to Multi Core Timer to allow stricter DT
   schema matching.
3. Cleanup from deprecated bindings:
   - Remove deprecated unit-address workaround for Exynos5422 Odroid XU3
     LPDDR3 memory timings.
   - Do not use unit-address (and SFR region) in Exynos5250 MIPI phy in
     favor of syscon node (unit-address deprecated in 2016).
   - Use standard generic PHYs for EHCI/OHCI device in S5PV210.
4. Fix inverted SPI CS (thus blank panel) on S5PV210 Aries boards.
5. Correct Bluetooth interupt name on S5PV210 Aries boards.

* tag 'samsung-dt-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
  ARM: dts: s5pv210: align DMA channels with dtschema
  ARM: dts: s5pv210: Adjust DMA node names to match spec
  ARM: dts: s5pv210: Adjust memory reg entries to match spec
  ARM: dts: s5pv210: Correct interrupt name for bluetooth in Aries
  ARM: dts: s5pv210: Remove spi-cs-high on panel in Aries
  ARM: dts: s5pv210: Use standard arrays of generic PHYs for EHCI/OHCI device
  ARM: dts: s5pv210: align EHCI/OHCI nodes with dtschema
  ARM: dts: exynos: align EHCI/OHCI nodes with dtschema on Exynos4
  ARM: dts: exynos: drop deprecated SFR region from MIPI phy
  ARM: dts: exynos: add a specific compatible to MCT
  ARM: dts: exynos: remove deprecated unit address for LPDDR3 timings on Odroid
  ARM: dts: exynos: fix compatible strings for Ethernet USB devices
  ARM: dts: exynos: fix ethernet node name for different odroid boards

Link: https://lore.kernel.org/r/20220420072152.11696-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2 years agoMerge tag 'dt-cleanup-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk...
Arnd Bergmann [Thu, 21 Apr 2022 15:08:54 +0000 (17:08 +0200)]
Merge tag 'dt-cleanup-5.19' of git://git./linux/kernel/git/krzk/linux into arm/dt

Minor cleanup of ARM DTS for v5.19

Align node names and unit addresses to DT schema and DT coding style in
nspire, ox820 and socfpga.

* tag 'dt-cleanup-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
  ARM: dts: socfpga: align interrupt controller node name with dtschema
  ARM: dts: ox820: align interrupt controller node name with dtschema
  ARM: dts: nspire: use lower case hex addresses in node unit addresses

Link: https://lore.kernel.org/r/20220420072152.11696-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2 years agoARM: dts: am335x-baltos: update MPU regulator range
Yegor Yefremov [Tue, 19 Apr 2022 14:39:23 +0000 (16:39 +0200)]
ARM: dts: am335x-baltos: update MPU regulator range

Update the max MPU voltage range to align with the maximum
possible value allowed in the operating-points table, which is max
target voltage of 132500 uV + 2%.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Message-Id: <20220419143923.25196-1-yegorslists@googlemail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2 years agoARM: dts: am335x: Guardian: Update comments
Gireesh Hiremath [Fri, 25 Mar 2022 10:06:13 +0000 (10:06 +0000)]
ARM: dts: am335x: Guardian: Update comments

* Add comment to improve readability

Signed-off-by: Gireesh Hiremath <Gireesh.Hiremath@in.bosch.com>
Message-Id: <20220325100613.1494-16-Gireesh.Hiremath@in.bosch.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2 years agoARM: dts: am335x: Guardian: Add gpio line manes
Gireesh Hiremath [Fri, 25 Mar 2022 10:06:12 +0000 (10:06 +0000)]
ARM: dts: am335x: Guardian: Add gpio line manes

 * assign name to gpio line

Signed-off-by: Gireesh Hiremath <Gireesh.Hiremath@in.bosch.com>
Message-Id: <20220325100613.1494-15-Gireesh.Hiremath@in.bosch.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2 years agoARM: dts: am335x: Guardian: Update interface pinmux
Gireesh Hiremath [Fri, 25 Mar 2022 10:06:11 +0000 (10:06 +0000)]
ARM: dts: am335x: Guardian: Update interface pinmux

* Update interface pinmux for
  - poweroff button
  - battery and coincell enable
  - ASP and Miraculix

Signed-off-by: Gireesh Hiremath <Gireesh.Hiremath@in.bosch.com>
Message-Id: <20220325100613.1494-14-Gireesh.Hiremath@in.bosch.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2 years agoARM: dts: am335x: Guardian: Disable DMA property of USB1
Gireesh Hiremath [Fri, 25 Mar 2022 10:06:10 +0000 (10:06 +0000)]
ARM: dts: am335x: Guardian: Disable DMA property of USB1

 * Dispble DMA property of USB1

Signed-off-by: Gireesh Hiremath <Gireesh.Hiremath@in.bosch.com>
Message-Id: <20220325100613.1494-13-Gireesh.Hiremath@in.bosch.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2 years agoARM: dts: am335x: Guardian: Enable UART port two
Gireesh Hiremath [Fri, 25 Mar 2022 10:06:09 +0000 (10:06 +0000)]
ARM: dts: am335x: Guardian: Enable UART port two

* Add support for uart2 port

Signed-off-by: Gireesh Hiremath <Gireesh.Hiremath@in.bosch.com>
Message-Id: <20220325100613.1494-12-Gireesh.Hiremath@in.bosch.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2 years agoARM: dts: am335x: Guardian: Update backlight parameter
Gireesh Hiremath [Fri, 25 Mar 2022 10:06:08 +0000 (10:06 +0000)]
ARM: dts: am335x: Guardian: Update backlight parameter

 * Update default brightness and dimming frequency
 * Enable current sink, while initialization

Signed-off-by: Gireesh Hiremath <Gireesh.Hiremath@in.bosch.com>
Message-Id: <20220325100613.1494-11-Gireesh.Hiremath@in.bosch.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2 years agoARM: dts: am335x: Guardian: Add lcd port
Gireesh Hiremath [Fri, 25 Mar 2022 10:06:07 +0000 (10:06 +0000)]
ARM: dts: am335x: Guardian: Add lcd port

* Add port to the node lcdc

Signed-off-by: Gireesh Hiremath <Gireesh.Hiremath@in.bosch.com>
Message-Id: <20220325100613.1494-10-Gireesh.Hiremath@in.bosch.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2 years agoARM: dts: am335x: Guardian: Update regulator node name
Gireesh Hiremath [Fri, 25 Mar 2022 10:06:06 +0000 (10:06 +0000)]
ARM: dts: am335x: Guardian: Update regulator node name

 * Update mmcsd voltage regulator node name

Signed-off-by: Gireesh Hiremath <Gireesh.Hiremath@in.bosch.com>
Message-Id: <20220325100613.1494-9-Gireesh.Hiremath@in.bosch.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2 years agoARM: dts: am335x: Guardian: Update beeper label
Gireesh Hiremath [Fri, 25 Mar 2022 10:06:05 +0000 (10:06 +0000)]
ARM: dts: am335x: Guardian: Update beeper label

 * Update lable pwm to guardian beeper

Signed-off-by: Gireesh Hiremath <Gireesh.Hiremath@in.bosch.com>
Message-Id: <20220325100613.1494-8-Gireesh.Hiremath@in.bosch.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2 years agoARM: dts: am335x: Guardian: Update life led
Gireesh Hiremath [Fri, 25 Mar 2022 10:06:04 +0000 (10:06 +0000)]
ARM: dts: am335x: Guardian: Update life led

 * update life led label and pin number

Signed-off-by: Gireesh Hiremath <Gireesh.Hiremath@in.bosch.com>
Message-Id: <20220325100613.1494-7-Gireesh.Hiremath@in.bosch.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2 years agoARM: dts: am335x: Guardian: Remove mmc status led
Gireesh Hiremath [Fri, 25 Mar 2022 10:06:03 +0000 (10:06 +0000)]
ARM: dts: am335x: Guardian: Remove mmc status led

 * MMC presence indicater LED removed from Guardian Board

Signed-off-by: Gireesh Hiremath <Gireesh.Hiremath@in.bosch.com>
Message-Id: <20220325100613.1494-6-Gireesh.Hiremath@in.bosch.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2 years agoARM: dts: am335x: Guardian: Disable poweroff support from RTC
Gireesh Hiremath [Fri, 25 Mar 2022 10:06:02 +0000 (10:06 +0000)]
ARM: dts: am335x: Guardian: Disable poweroff support from RTC

 * Disabling poweroff support form RTC will allow poweroff
   to handle from other machanism

Signed-off-by: Gireesh Hiremath <Gireesh.Hiremath@in.bosch.com>
Message-Id: <20220325100613.1494-5-Gireesh.Hiremath@in.bosch.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2 years agoARM: dts: am335x: Guardian: Add keypad
Gireesh Hiremath [Fri, 25 Mar 2022 10:06:01 +0000 (10:06 +0000)]
ARM: dts: am335x: Guardian: Add keypad

 * Add support to guardian mt gpio keypad

Signed-off-by: Gireesh Hiremath <Gireesh.Hiremath@in.bosch.com>
Message-Id: <20220325100613.1494-4-Gireesh.Hiremath@in.bosch.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2 years agoARM: dts: am335x: Guardian: Rename power button label
Gireesh Hiremath [Fri, 25 Mar 2022 10:06:00 +0000 (10:06 +0000)]
ARM: dts: am335x: Guardian: Rename power button label

 * Rename label button to power button

Signed-off-by: Gireesh Hiremath <Gireesh.Hiremath@in.bosch.com>
Message-Id: <20220325100613.1494-3-Gireesh.Hiremath@in.bosch.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2 years agoARM: dts: am335x: Guardian: Update NAND partition table
Gireesh Hiremath [Fri, 25 Mar 2022 10:05:59 +0000 (10:05 +0000)]
ARM: dts: am335x: Guardian: Update NAND partition table

 * Update partition table to save env and splash image
 * GPMC config values optimized for Bosch Guardian Board
 * NAND Chip used by Bosch Guardian Board is Micron MT29F4G08ABBFA

Signed-off-by: Gireesh Hiremath <Gireesh.Hiremath@in.bosch.com>
Message-Id: <20220325100613.1494-2-Gireesh.Hiremath@in.bosch.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2 years agoARM: dts: logicpd-som-lv: Move pinmuxing to peripheral nodes
Adam Ford [Thu, 3 Mar 2022 17:18:18 +0000 (11:18 -0600)]
ARM: dts: logicpd-som-lv: Move pinmuxing to peripheral nodes

Move some pinmux references to their respective peripherals.
This keeps the pins in safe-mode until they are requested.

Signed-off-by: Adam Ford <aford173@gmail.com>
Message-Id: <20220303171818.11060-2-aford173@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2 years agoARM: dts: omap3/4/5: fix ethernet node name for different OMAP boards
Oleksij Rempel [Wed, 16 Feb 2022 07:49:25 +0000 (08:49 +0100)]
ARM: dts: omap3/4/5: fix ethernet node name for different OMAP boards

The node name of Ethernet controller should be "ethernet" instead of
"usbether" as required by Ethernet controller devicetree schema:
 Documentation/devicetree/bindings/net/ethernet-controller.yaml

This patch can potentially affect boot loaders patching against full
node path instead of using device aliases.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Message-Id: <20220216074927.3619425-8-o.rempel@pengutronix.de>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2 years agoARM: dts: stm32: enable RTC support on stm32mp135f-dk
Valentin Caron [Thu, 7 Apr 2022 16:20:42 +0000 (18:20 +0200)]
ARM: dts: stm32: enable RTC support on stm32mp135f-dk

Enables the support of RTC on stm32mp135f-dk board.

Signed-off-by: Gabriel Fernandez <gabriel.fernandez@foss.st.com>
Signed-off-by: Valentin Caron <valentin.caron@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
2 years agoARM: dts: stm32: add RTC node on stm32mp131
Valentin Caron [Thu, 7 Apr 2022 16:20:41 +0000 (18:20 +0200)]
ARM: dts: stm32: add RTC node on stm32mp131

Add RTC node with compatible, clock, and interrupt properties
on stm32mp131.

Add clk_rtc_k fixed clock for RTC.

Signed-off-by: Gabriel Fernandez <gabriel.fernandez@foss.st.com>
Signed-off-by: Valentin Caron <valentin.caron@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
2 years agoARM: dts: stm32: Fix PHY post-reset delay on Avenger96
Marek Vasut [Fri, 25 Mar 2022 17:58:51 +0000 (18:58 +0100)]
ARM: dts: stm32: Fix PHY post-reset delay on Avenger96

Per KSZ9031RNX PHY datasheet FIGURE 7-5: POWER-UP/POWER-DOWN/RESET TIMING
Note 2: After the de-assertion of reset, wait a minimum of 100 Î¼s before
starting programming on the MIIM (MDC/MDIO) interface.

Add 1ms post-reset delay to guarantee this figure.

Fixes: 010ca9fe500bf ("ARM: dts: stm32: Add missing ethernet PHY reset on AV96")
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>
Cc: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
Cc: linux-stm32@st-md-mailman.stormreply.com
To: linux-arm-kernel@lists.infradead.org
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
2 years agoARM: dts: stm32: fix pinctrl node name warnings (MPU soc)
Fabien Dessenne [Fri, 11 Mar 2022 12:13:23 +0000 (13:13 +0100)]
ARM: dts: stm32: fix pinctrl node name warnings (MPU soc)

The recent addition pinctrl.yaml in commit c09acbc499e8 ("dt-bindings:
pinctrl: use pinctrl.yaml") resulted in some node name warnings.
Fix the node names to the preferred 'pinctrl'.

Signed-off-by: Fabien Dessenne <fabien.dessenne@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
2 years agoARM: dts: stm32: fix pinctrl node name warnings (MCU soc)
Fabien Dessenne [Fri, 11 Mar 2022 12:14:48 +0000 (13:14 +0100)]
ARM: dts: stm32: fix pinctrl node name warnings (MCU soc)

The recent addition pinctrl.yaml in commit c09acbc499e8 ("dt-bindings:
pinctrl: use pinctrl.yaml") resulted in some node name warnings.
Fix the node names to the preferred 'pinctrl'.

Signed-off-by: Fabien Dessenne <fabien.dessenne@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
2 years agoARM: dts: r9a06g032: Drop "arm,cortex-a7-timer" from timer node
Geert Uytterhoeven [Mon, 11 Apr 2022 12:32:44 +0000 (14:32 +0200)]
ARM: dts: r9a06g032: Drop "arm,cortex-a7-timer" from timer node

"make dtbs_check":

    arch/arm/boot/dts/r9a06g032-rzn1d400-db.dt.yaml: timer: compatible: 'oneOf' conditional failed, one must be fixed:
    ['arm,cortex-a7-timer', 'arm,armv7-timer'] is too long
    'arm,cortex-a7-timer' is not one of ['arm,cortex-a15-timer']
    'arm,cortex-a7-timer' is not one of ['arm,armv7-timer']
    'arm,cortex-a7-timer' is not one of ['arm,armv8-timer']
    From schema: Documentation/devicetree/bindings/timer/arm,arch_timer.yaml

The Cortex-A7 timer should just declare compatibility with
"arm,armv7-timer".

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/a8e0cf00a983b4c539cdb1cfad5cc6b10b423c5b.1649680220.git.geert+renesas@glider.be
2 years agoarm64: dts: renesas: r8a779f0: Add GPIO nodes
Geert Uytterhoeven [Mon, 4 Apr 2022 15:35:32 +0000 (17:35 +0200)]
arm64: dts: renesas: r8a779f0: Add GPIO nodes

Add device nodes for the General Purpose Input/Output (GPIO) blocks on
the Renesas R-Car S4-8 (R8A779F0) SoC.

Note that GPIO blocks 4-7 are not added, as they can only be accessed
from the Control Domain.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/7fb68561026fa8bb5d9baf0596560c5c719a38cc.1649086225.git.geert+renesas@glider.be
2 years agoARM: dts: ux500: Add NFC to the Codina
Linus Walleij [Wed, 13 Apr 2022 18:46:33 +0000 (20:46 +0200)]
ARM: dts: ux500: Add NFC to the Codina

This adds the PN544 NFC chip mounted on some of the Codina models
numbered GT-I8160P. The "P" at the end of the product number
indicates that an NFC chip is mounted.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2 years agoarm64: dts: renesas: rzg2ul-smarc-som: Enable Ethernet on SMARC platform
Biju Das [Sat, 2 Apr 2022 08:13:28 +0000 (09:13 +0100)]
arm64: dts: renesas: rzg2ul-smarc-som: Enable Ethernet on SMARC platform

Enable Ethernet{0,1} interfaces on RZ/G2UL SMARC EVK.

Ethernet0 pins are muxed with CAN0, CAN1, SSI1 and RSPI1 pins and Ethernet0
device selection is based on the SW1[3] switch position.

Set SW1[3] to position OFF for selecting CAN0, CAN1, SSI1 and RSPI1.
Set SW1[3] to position ON for selecting Ethernet0.

This patch disables Ethernet0 on RZ/G2UL SMARC platform by default.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Link: https://lore.kernel.org/r/20220402081328.26292-8-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
2 years agoarm64: dts: renesas: rzg2ul-smarc-som: Enable eMMC on SMARC platform
Biju Das [Sat, 2 Apr 2022 08:13:27 +0000 (09:13 +0100)]
arm64: dts: renesas: rzg2ul-smarc-som: Enable eMMC on SMARC platform

RZ/G2UL SoM has both 64GB eMMC and microSD connected to SDHI0.

Both these interfaces are mutually exclusive and the SD0 device
selection is based on SW1[2] on SoM module.

Set SW1[2] to position OFF for selecting eMMC
Set SW1[2] to position ON for selecting microSD

This patch enables eMMC on RZ/G2UL SMARC platform by default.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Link: https://lore.kernel.org/r/20220402081328.26292-7-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
2 years agoarm64: dts: renesas: rzg2ul-smarc: Enable microSD on SMARC platform
Biju Das [Sat, 2 Apr 2022 08:13:26 +0000 (09:13 +0100)]
arm64: dts: renesas: rzg2ul-smarc: Enable microSD on SMARC platform

Enable the microSD card slot connected to SDHI1 on the RZ/G2UL SMARC
platform by removing the sdhi1 override which disabled it, and by adding
the necessary pinmux required for SDHI1.

This patch also adds gpios property to vccq_sdhi1 regulator.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Link: https://lore.kernel.org/r/20220402081328.26292-6-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
2 years agoarm64: dts: renesas: r9a07g043: Add GbEthernet nodes
Biju Das [Sat, 2 Apr 2022 08:13:25 +0000 (09:13 +0100)]
arm64: dts: renesas: r9a07g043: Add GbEthernet nodes

Add Gigabit Ethernet{0,1} nodes to SoC DTSI.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Link: https://lore.kernel.org/r/20220402081328.26292-5-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
2 years agoarm64: dts: renesas: r9a07g043: Add SDHI nodes
Biju Das [Sat, 2 Apr 2022 08:13:24 +0000 (09:13 +0100)]
arm64: dts: renesas: r9a07g043: Add SDHI nodes

Add SDHI{0, 1} nodes to RZ/G2UL SoC DTSI.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Link: https://lore.kernel.org/r/20220402081328.26292-4-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
2 years agoarm64: dts: renesas: rzg2ul-smarc: Add scif0 and audio clk pins
Biju Das [Sat, 2 Apr 2022 08:13:23 +0000 (09:13 +0100)]
arm64: dts: renesas: rzg2ul-smarc: Add scif0 and audio clk pins

Add scif0 and audio clk pins to soc pinctrl dtsi and drop deleting
the pinctrl-0 and pinctrl-names properties for scif0 node so that
we now actually make use of these properties for scif0.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Link: https://lore.kernel.org/r/20220402081328.26292-3-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
2 years agoarm64: dts: renesas: r9a07g043: Fillup the pinctrl stub node
Biju Das [Sat, 2 Apr 2022 08:13:22 +0000 (09:13 +0100)]
arm64: dts: renesas: r9a07g043: Fillup the pinctrl stub node

Fillup the pinctrl(GPIO) stub node in RZ/G2UL SoC DTSI.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Link: https://lore.kernel.org/r/20220402081328.26292-2-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
2 years agoarm64: dts: renesas: Add initial device tree for RZ/G2UL Type-1 SMARC EVK
Biju Das [Tue, 12 Apr 2022 16:13:14 +0000 (17:13 +0100)]
arm64: dts: renesas: Add initial device tree for RZ/G2UL Type-1 SMARC EVK

Add basic support for RZ/G2UL SMARC EVK (based on R9A07G043U11):
- memory
- External input clock
- CPG
- DMA
- SCIF

It shares the same carrier board with RZ/G2L, but the pin mapping is
different. Disable the device nodes which are not tested and delete the
corresponding pinctrl definitions.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Link: https://lore.kernel.org/r/20220412161314.13800-4-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
2 years agoarm64: dts: renesas: Add initial DTSI for RZ/G2UL SoC
Biju Das [Tue, 12 Apr 2022 16:13:13 +0000 (17:13 +0100)]
arm64: dts: renesas: Add initial DTSI for RZ/G2UL SoC

Add initial DTSI for RZ/G2UL SoC.

Both RZ/G2L and RZ/G2UL uses the same SMARC EVK. Therefore they share
the common dtsi (rz-smarc.dtsi) file. Place holders are added in
device nodes to avoid compilation errors for the devices which have
not been enabled yet on RZ/G2UL SoC.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Link: https://lore.kernel.org/r/20220412161314.13800-3-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
2 years agoMerge tag 'renesas-r9a07g043-dt-binding-defs-tag' into HEAD
Geert Uytterhoeven [Wed, 13 Apr 2022 11:56:04 +0000 (13:56 +0200)]
Merge tag 'renesas-r9a07g043-dt-binding-defs-tag' into HEAD

Renesas RZ/G2UL DT Binding Definitions

Clock and reset definitions for the Renesas RZ/G2UL (R9A07G043) SoC,
shared by driver and DT source files.

2 years agoarm64: dts: renesas: rzg2l-smarc: Move gpios property of vccq_sdhi1 from common dtsi
Biju Das [Fri, 1 Apr 2022 17:54:27 +0000 (18:54 +0100)]
arm64: dts: renesas: rzg2l-smarc: Move gpios property of vccq_sdhi1 from common dtsi

On RZ/G2{L,LC} SoM module, gpio for power selection is connected to
P39_1 whereas on RZ/G2UL it is connected to P6_1. So move gpios property
of vccq_sdhi1 regulator from common dtsi to soc specific dtsi.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/20220401175427.19078-1-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
2 years agoarm64: dts: renesas: rzg2lc-smarc: Enable RSPI1 on carrier board
Biju Das [Fri, 1 Apr 2022 14:57:02 +0000 (15:57 +0100)]
arm64: dts: renesas: rzg2lc-smarc: Enable RSPI1 on carrier board

RSPI1 (SPI1) interface is available on PMOD0 connector (J1) on the
carrier board.  This patch adds pinmux and spi1 nodes to the carrier
board dtsi file and drops deleting pinctl* properties from DTS file.

RSPI1 interface is tested by setting the macro SW_RSPI_CAN to 0.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Link: https://lore.kernel.org/r/20220401145702.17954-1-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
2 years agoarm64: dts: renesas: ulcb: Add RPC HyperFlash device node
Geert Uytterhoeven [Tue, 29 Mar 2022 12:20:05 +0000 (14:20 +0200)]
arm64: dts: renesas: ulcb: Add RPC HyperFlash device node

Add the RPC HyperFlash device node along with its partitions to the
common ULCB board DTS file.

Based on a patch in the BSP by Valentine Barshak.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/61a63e819d4296760ca7ae83ef5226a2c4d7bd93.1648548339.git.geert+renesas@glider.be
2 years agoarm64: dts: renesas: salvator-common: Add RPC HyperFlash device node
Geert Uytterhoeven [Tue, 29 Mar 2022 12:20:04 +0000 (14:20 +0200)]
arm64: dts: renesas: salvator-common: Add RPC HyperFlash device node

Add the RPC HyperFlash device node along with its partitions to the
common Salvator-X(S) board DTS file.

Based on a patch in the BSP by Valentine Barshak.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/cfc6af8a4c42febcc405b7356c38448eec8e29b0.1648548339.git.geert+renesas@glider.be
2 years agoarm64: dts: renesas: ebisu: Add RPC HyperFlash device node
Geert Uytterhoeven [Tue, 29 Mar 2022 12:20:03 +0000 (14:20 +0200)]
arm64: dts: renesas: ebisu: Add RPC HyperFlash device node

Add the RPC HyperFlash device node along with its partitions to the
common Ebisu board DTS file.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/b14c769f62211b67d90dbd2f127357756e6cb4fa.1648548339.git.geert+renesas@glider.be
2 years agoarm64: dts: renesas: draak: Add RPC HyperFlash device node
Geert Uytterhoeven [Tue, 29 Mar 2022 12:20:02 +0000 (14:20 +0200)]
arm64: dts: renesas: draak: Add RPC HyperFlash device node

Add the RPC HyperFlash device node along with its partitions to the
common Draak board DTS file.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/0f3d3018ecfcdce1bce67708708a6d3a98368b10.1648548339.git.geert+renesas@glider.be
2 years agoarm64: dts: renesas: rcar-gen3: Add RPC device nodes
Geert Uytterhoeven [Tue, 29 Mar 2022 12:20:01 +0000 (14:20 +0200)]
arm64: dts: renesas: rcar-gen3: Add RPC device nodes

Add device nodes for the SPI Multi I/O Bus Controllers (RPC-IF) on the
various R-Car Gen3 SoCs that do not have support for them yet in their
device trees (R-Car H3, M3-W, M3-W+, M3-N, E3, and D3).

Based on patches in the BSP by Valentine Barshak.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/3231749c7b63df1a2134daabe66446a3e0e5515b.1648548339.git.geert+renesas@glider.be
2 years agoarm64: dts: renesas: rcar-gen4: Add interrupt properties to watchdog nodes
Wolfram Sang [Tue, 22 Mar 2022 09:55:12 +0000 (10:55 +0100)]
arm64: dts: renesas: rcar-gen4: Add interrupt properties to watchdog nodes

Driver doesn't use it yet, but let's describe the HW properly.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20220322095512.4707-6-wsa+renesas@sang-engineering.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
2 years agoarm64: dts: renesas: rzg2: Add interrupt properties to watchdog nodes
Wolfram Sang [Tue, 22 Mar 2022 09:55:11 +0000 (10:55 +0100)]
arm64: dts: renesas: rzg2: Add interrupt properties to watchdog nodes

Driver doesn't use it yet, but let's describe the HW properly.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20220322095512.4707-5-wsa+renesas@sang-engineering.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
2 years agoarm64: dts: renesas: rcar-gen3: Add interrupt properties to watchdog nodes
Wolfram Sang [Tue, 22 Mar 2022 09:55:10 +0000 (10:55 +0100)]
arm64: dts: renesas: rcar-gen3: Add interrupt properties to watchdog nodes

Driver doesn't use it yet, but let's describe the HW properly.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20220322095512.4707-4-wsa+renesas@sang-engineering.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
2 years agoARM: dts: rzg1: Add interrupt properties to watchdog nodes
Wolfram Sang [Tue, 22 Mar 2022 09:55:09 +0000 (10:55 +0100)]
ARM: dts: rzg1: Add interrupt properties to watchdog nodes

Driver doesn't use it yet, but let's describe the HW properly.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20220322095512.4707-3-wsa+renesas@sang-engineering.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
2 years agoARM: dts: rcar-gen2: Add interrupt properties to watchdog nodes
Wolfram Sang [Tue, 22 Mar 2022 09:55:08 +0000 (10:55 +0100)]
ARM: dts: rcar-gen2: Add interrupt properties to watchdog nodes

Driver doesn't use it yet, but let's describe the HW properly.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20220322095512.4707-2-wsa+renesas@sang-engineering.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
2 years agodt-bindings: clock: Add R9A07G043 CPG Clock and Reset Definitions
Biju Das [Sat, 2 Apr 2022 07:30:34 +0000 (08:30 +0100)]
dt-bindings: clock: Add R9A07G043 CPG Clock and Reset Definitions

Define RZ/G2UL (R9A07G043U) Clock Pulse Generator Core Clock and module
clock outputs, as listed in Table 7.1.4.2 ("Clock List r0.51") and also
add Reset definitions referring to registers CPG_RST_* in Section 7.2.3
("Register configuration") of the RZ/G2UL Hardware User's Manual (Rev.
0.51, Nov. 2021).

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220402073037.23947-3-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
2 years agodt-bindings: arm: renesas: Document Renesas RZ/G2UL SMARC EVK
Biju Das [Sat, 2 Apr 2022 07:32:34 +0000 (08:32 +0100)]
dt-bindings: arm: renesas: Document Renesas RZ/G2UL SMARC EVK

Document the Renesas SMARC EVK board which is based on the Renesas
RZ/G2UL Type-1 (R9A07G043U11) SoC.  The SMARC EVK consists of an
RZ/G2UL Type-1 SoM module and a SMARC carrier board.  The SoM module
sits on top of the carrier board.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/20220402073234.24625-1-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
2 years agoARM: dts: Drop custom clkctrl compatible and update omap5 l4per
Tony Lindgren [Fri, 4 Feb 2022 08:43:38 +0000 (10:43 +0200)]
ARM: dts: Drop custom clkctrl compatible and update omap5 l4per

We can now use the clock-output-names and don't need custom compatible
values for each clkctrl instance. And we can use a generic name also for
the clock manager instance.

Cc: Stephen Boyd <sboyd@kernel.org>
Cc: Tero Kristo <kristo@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Message-Id: <20220204084339.12341-5-tony@atomide.com>

2 years agoARM: dts: Add clock-output-names for omap5
Tony Lindgren [Fri, 4 Feb 2022 08:43:37 +0000 (10:43 +0200)]
ARM: dts: Add clock-output-names for omap5

To stop using the non-standard node name based clock naming, let's
first add the clock-output-names property. This allows us to stop using
the internal legacy clock naming and unify the naming for the TI SoCs in
the following patches.

Note that we must wait on fixing the node naming issues until after the
internal clock names have been updated to avoid adding name translation
unnecessarily.

Cc: Stephen Boyd <sboyd@kernel.org>
Cc: Tero Kristo <kristo@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Message-Id: <20220204084339.12341-4-tony@atomide.com>

2 years agoARM: dts: Drop custom clkctrl compatible and update omap4 l4per
Tony Lindgren [Fri, 4 Feb 2022 08:43:36 +0000 (10:43 +0200)]
ARM: dts: Drop custom clkctrl compatible and update omap4 l4per

We can now use the clock-output-names and don't need custom compatible
values for each clkctrl instance. And we can use a generic name also for
the clock manager instance.

Cc: Stephen Boyd <sboyd@kernel.org>
Cc: Tero Kristo <kristo@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Message-Id: <20220204084339.12341-3-tony@atomide.com>

2 years agoARM: dts: Add clock-output-names for omap4
Tony Lindgren [Fri, 4 Feb 2022 08:43:35 +0000 (10:43 +0200)]
ARM: dts: Add clock-output-names for omap4

To stop using the non-standard node name based clock naming, let's
first add the clock-output-names property. This allows us to stop using
the internal legacy clock naming and unify the naming for the TI SoCs in
the following patches.

Note that we must wait on fixing the node naming issues until after the
internal clock names have been updated to avoid adding name translation
unnecessarily.

Cc: Stephen Boyd <sboyd@kernel.org>
Cc: Tero Kristo <kristo@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Message-Id: <20220204084339.12341-2-tony@atomide.com>

2 years agoARM: dts: Use clock-output-names for am4
Tony Lindgren [Fri, 4 Feb 2022 08:15:29 +0000 (10:15 +0200)]
ARM: dts: Use clock-output-names for am4

With the TI clocks supporting the use of clock-output-names devicetree
property, we no longer need to use non-standard node names for clocks.

Cc: Stephen Boyd <sboyd@kernel.org>
Cc: Tero Kristo <kristo@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Message-Id: <20220204081529.57694-1-tony@atomide.com>

2 years agoARM: dts: Use clock-output-names for dra7
Tony Lindgren [Fri, 4 Feb 2022 08:08:42 +0000 (10:08 +0200)]
ARM: dts: Use clock-output-names for dra7

With the TI clocks supporting the use of clock-output-names devicetree
property, we no longer need to use non-standard node names for clocks.

Depends-on: 31aa7056bbec ("ARM: dts: Don't use legacy clock defines for dra7 clkctrl")
Depends-on: 9206a3af4fc0 ("clk: ti: Move dra7 clock devices out of the legacy section")
Cc: Stephen Boyd <sboyd@kernel.org>
Cc: Tero Kristo <kristo@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Message-Id: <20220204080842.40673-1-tony@atomide.com>

2 years agoARM: dts: Use clock-output-names for am3
Tony Lindgren [Fri, 4 Feb 2022 07:33:33 +0000 (09:33 +0200)]
ARM: dts: Use clock-output-names for am3

With the TI clocks supporting the use of clock-output-names devicetree
property, we no longer need to use non-standard node names for clocks.

Cc: Stephen Boyd <sboyd@kernel.org>
Cc: Tero Kristo <kristo@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Message-Id: <20220204073333.18175-5-tony@atomide.com>

2 years agoARM: dts: Add clksel node for am3 clkout
Tony Lindgren [Fri, 4 Feb 2022 07:33:32 +0000 (09:33 +0200)]
ARM: dts: Add clksel node for am3 clkout

Let's add a clksel node for the component clocks to avoid devicetree
unique_unit_address warnings. The component clocks can now get IO address
from the parent clksel node.

Cc: Stephen Boyd <sboyd@kernel.org>
Cc: Tero Kristo <kristo@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Message-Id: <20220204073333.18175-4-tony@atomide.com>

2 years agoARM: dts: Add clksel node for am3 gfx
Tony Lindgren [Fri, 4 Feb 2022 07:33:31 +0000 (09:33 +0200)]
ARM: dts: Add clksel node for am3 gfx

Let's add a clksel node for the component clocks to avoid devicetree
unique_unit_address warnings. The component clocks can now get IO address
from the parent clksel node.

Cc: Stephen Boyd <sboyd@kernel.org>
Cc: Tero Kristo <kristo@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Message-Id: <20220204073333.18175-3-tony@atomide.com>

2 years agoARM: dts: Add clksel node for am3 ehrpwm
Tony Lindgren [Fri, 4 Feb 2022 07:33:30 +0000 (09:33 +0200)]
ARM: dts: Add clksel node for am3 ehrpwm

Let's add a clksel node for the component clocks to avoid devicetree
unique_unit_address warnings. The component clocks can now get IO address
from the parent clksel node.

Cc: Stephen Boyd <sboyd@kernel.org>
Cc: Tero Kristo <kristo@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Message-Id: <20220204073333.18175-2-tony@atomide.com>

2 years agodt-bindings: clock: ti: Add clock-output-names for TI composite clocks
Tony Lindgren [Thu, 3 Feb 2022 11:23:37 +0000 (13:23 +0200)]
dt-bindings: clock: ti: Add clock-output-names for TI composite clocks

For the TI composite clocks, we currently have only the divider clock
list clock-output-names as an optional devicetree property. Let's add
clock-output-names for all the TI composite clock bindings.

This allows us to use clock-output-names for the clockctrl instance name
instead of relying on a custom compatible or non-standard node names.

Cc: Stephen Boyd <sboyd@kernel.org>
Cc: Tero Kristo <kristo@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Acked-by: Rob Herring <robh@kernel.org>
Message-Id: <20220203112337.19821-3-tony@atomide.com>

2 years agodt-bindings: clock: ti: Add clock-output-names for clockctrl
Tony Lindgren [Thu, 3 Feb 2022 11:23:36 +0000 (13:23 +0200)]
dt-bindings: clock: ti: Add clock-output-names for clockctrl

This allows us to use clock-output-names for the clockctrl instance
name instead of relying on a custom compatible or non-standard node
names.

Cc: Stephen Boyd <sboyd@kernel.org>
Cc: Tero Kristo <kristo@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Acked-by: Rob Herring <robh@kernel.org>
Message-Id: <20220203112337.19821-2-tony@atomide.com>

2 years agodt-bindings: omap: Add clock-output-names and #clock-cells
Tony Lindgren [Thu, 3 Feb 2022 11:23:35 +0000 (13:23 +0200)]
dt-bindings: omap: Add clock-output-names and #clock-cells

This allows us to use clock-output-names for the clock manager instance
name instead of relying on non-standard node names.

Cc: Stephen Boyd <sboyd@kernel.org>
Cc: Tero Kristo <kristo@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Acked-by: Rob Herring <robh@kernel.org>
Message-Id: <20220203112337.19821-1-tony@atomide.com>

2 years agoarm64: dts: meson: alpa sort the board Makefile
Christian Hewitt [Sat, 9 Apr 2022 06:42:57 +0000 (06:42 +0000)]
arm64: dts: meson: alpa sort the board Makefile

Let's alpha-sort the board Makefile to keep things organised.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://lore.kernel.org/r/20220409064257.24453-1-christianshewitt@gmail.com
2 years agoarm64: dts: renesas: spider: Add Ethernet sub-board
Geert Uytterhoeven [Thu, 3 Feb 2022 15:26:49 +0000 (16:26 +0100)]
arm64: dts: renesas: spider: Add Ethernet sub-board

Add a DTS file for the Spider Ether TSN sub-board (RTP8A779F0ASKB0ST0S),
and include it from the main r8a779f0-spider.dts.

For now its contents are limited to the Board ID EEPROM.

Extracted from a larger patch in the BSP by LUU HOAI.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/5aa58816182b34d9e5795bc1e22784f4e4879d13.1643898884.git.geert+renesas@glider.be
2 years agoarm64: dts: renesas: spider-cpu: Add I2C4 and EEPROMs
Geert Uytterhoeven [Thu, 3 Feb 2022 15:26:48 +0000 (16:26 +0100)]
arm64: dts: renesas: spider-cpu: Add I2C4 and EEPROMs

Enable the I2C4 bus on the Falcon CPU board, and describe the I2C EEPROMs
present on the Spider CPU and BreakOut boards.

Extracted from a larger patch in the BSP by LUU HOAI.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/6d8917e49f83b6a932970ca169100eb086d11f16.1643898884.git.geert+renesas@glider.be
2 years agoarm64: dts: renesas: r8a779f0: Add I2C nodes
Geert Uytterhoeven [Thu, 3 Feb 2022 15:26:47 +0000 (16:26 +0100)]
arm64: dts: renesas: r8a779f0: Add I2C nodes

Add device nodes for the I2C Bus Interfaces on the Renesas R-Car S4-8
(R8A779F0) SoC.

Based on a larger patch in the BSP by LUU HOAI.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/e1c7fb17801bc82a74aa5364212d02ba51535dd2.1643898884.git.geert+renesas@glider.be
2 years agoARM: dts: s5pv210: align DMA channels with dtschema
Krzysztof Kozlowski [Sun, 27 Mar 2022 18:08:54 +0000 (11:08 -0700)]
ARM: dts: s5pv210: align DMA channels with dtschema

dtschema expects DMA channels in specific order (tx, rx and tx-sec).
The order actually should not matter because dma-names is used however
let's make it aligned with dtschema to suppress warnings like:

  i2s@eee30000: dma-names: ['rx', 'tx', 'tx-sec'] is not valid under any of the given schemas

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Co-developed-by: Jonathan Bakker <xc-racer2@live.ca>
Signed-off-by: Jonathan Bakker <xc-racer2@live.ca>
Link: https://lore.kernel.org/r/CY4PR04MB056779A9C50DC95987C5272ACB1C9@CY4PR04MB0567.namprd04.prod.outlook.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
2 years agoARM: dts: s5pv210: Adjust DMA node names to match spec
Jonathan Bakker [Sun, 27 Mar 2022 18:08:53 +0000 (11:08 -0700)]
ARM: dts: s5pv210: Adjust DMA node names to match spec

DMA node names should be dma-controller according to the DT spec,
so rename them from pdma/mdma.  Prevents warnings when running
make dtbs_check

Signed-off-by: Jonathan Bakker <xc-racer2@live.ca>
Link: https://lore.kernel.org/r/CY4PR04MB0567F52ABAE0A3CCD3C7CE59CB1C9@CY4PR04MB0567.namprd04.prod.outlook.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
2 years agoARM: dts: s5pv210: Adjust memory reg entries to match spec
Jonathan Bakker [Sun, 27 Mar 2022 18:08:52 +0000 (11:08 -0700)]
ARM: dts: s5pv210: Adjust memory reg entries to match spec

The reg property of memory nodes should have pairs of offset, size;
not all memory banks lumped in as one.

Signed-off-by: Jonathan Bakker <xc-racer2@live.ca>
Link: https://lore.kernel.org/r/CY4PR04MB05677849A13F41BF603906DFCB1C9@CY4PR04MB0567.namprd04.prod.outlook.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
2 years agoARM: dts: s5pv210: Correct interrupt name for bluetooth in Aries
Jonathan Bakker [Sun, 27 Mar 2022 18:08:51 +0000 (11:08 -0700)]
ARM: dts: s5pv210: Correct interrupt name for bluetooth in Aries

Correct the name of the bluetooth interrupt from host-wake to
host-wakeup.

Fixes: 1c65b6184441b ("ARM: dts: s5pv210: Correct BCM4329 bluetooth node")
Cc: <stable@vger.kernel.org>
Signed-off-by: Jonathan Bakker <xc-racer2@live.ca>
Link: https://lore.kernel.org/r/CY4PR04MB0567495CFCBDC8D408D44199CB1C9@CY4PR04MB0567.namprd04.prod.outlook.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
2 years agoARM: dts: s5pv210: Remove spi-cs-high on panel in Aries
Jonathan Bakker [Sun, 27 Mar 2022 18:08:50 +0000 (11:08 -0700)]
ARM: dts: s5pv210: Remove spi-cs-high on panel in Aries

Since commit 766c6b63aa04 ("spi: fix client driver breakages when using
GPIO descriptors"), the panel has been blank due to an inverted CS GPIO.
In order to correct this, drop the spi-cs-high from the panel SPI device.

Fixes: 766c6b63aa04 ("spi: fix client driver breakages when using GPIO descriptors")
Cc: <stable@vger.kernel.org>
Signed-off-by: Jonathan Bakker <xc-racer2@live.ca>
Link: https://lore.kernel.org/r/CY4PR04MB05670C771062570E911AF3B4CB1C9@CY4PR04MB0567.namprd04.prod.outlook.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>