platform/kernel/linux-starfive.git
14 months agoMerge tag 'imx-dt-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo...
Arnd Bergmann [Mon, 14 Aug 2023 21:38:26 +0000 (23:38 +0200)]
Merge tag 'imx-dt-6.6' of git://git./linux/kernel/git/shawnguo/linux into soc/dt

i.MX ARM device tree change for 6.6:

- New device tree for TQ-Systems MBLS102xA board.
- A bunch of dtschema warning fixes from Fabio Estevam and
  Krzysztof Kozlowski.
- Add missing supply regulator for imx6qdl-mba6 and imx6qdl-tqma6x.
- Replace deprecated extcon-usb-gpio id-gpio/vbus-gpio properties.
- Disable the internal i.MX6 watchdog and rely on PMIC reboot handler
  for phycore and pfla02 boards.
- Replace NO_PAD_CTL by explicit pad configuration for karo-tx25 board.

* tag 'imx-dt-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux: (35 commits)
  ARM: dts: imx6qdl: mba6: Fix gpio-keys button node names
  ARM: dts: imx6ul: Fix nand-controller #size-cells
  ARM: dts: imx6ul: mba6ulx: Fix stmpe811 node warnings
  ARM: dts: imx6dl-b1x5pv2: Fix simple-audio routing property
  ARM: dts: imx6q-prti6q: Fix the SDIO wifi node
  ARM: dts: vfxxx: Pass 'mmc' as the esdhc node names
  ARM: dts: imx53-smd: Remove invalid SPI flash entry
  ARM: dts: imx50-evk: Use generic node name for SPI NOR flash
  ARM: dts: imx6q-cm-fx6: Remove invalid SPI flash entry
  ARM: dts: ls1021a: add TQMLS1021A flash partition layout
  ARM: dts: ls1021a: add TQ-Systems MBLS102xA device tree
  ARM: dts: imx: Remove 'compatible' from the pfuze nodes
  ARM: dts: imx: Pass #sound-dai-cells to sgtl5000
  ARM: dts: nxp: mxs: split interrupts per cells
  ARM: dts: imx6ul-geam: Remove invalid sgtl5000 property
  ARM: dts: imx28: drop incorrect reg in fixed regulators
  ARM: dts: imx27: drop incorrect reg in fixed regulators
  ARM: dts: imx25: drop incorrect reg in fixed regulators
  ARM: dts: imx23: drop incorrect reg in fixed regulators
  ARM: dts: imx50-kobo-aura: switch to enable-gpios
  ...

Link: https://lore.kernel.org/r/20230813133354.847010-4-shawnguo@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
14 months agoMerge tag 'imx-bindings-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/shawngu...
Arnd Bergmann [Mon, 14 Aug 2023 21:34:06 +0000 (23:34 +0200)]
Merge tag 'imx-bindings-6.6' of git://git./linux/kernel/git/shawnguo/linux into soc/dt

i.MX dt-bindings update for 6.6:

- Add new compatibles for various i.MX based boards: DEBIX, TQMa93xxLA,
  Gateworks i.MX8M, etc.

* tag 'imx-bindings-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
  dt-bindings: arm: Add Polyhex DEBIX SOM A based boards
  dt-bindings: arm: fsl: fix DEBIX binding
  dt-bindings: arm: fsl: add TQ-Systems LS1021A board
  dt-bindings: arm: Add Gateworks i.MX8M Plus gw73xx-2x board
  dt-bindings: arm: Add Gateworks i.MX8M Plus gw72xx-2x board
  dt-bindings: arm: Add Gateworks i.MX8M Plus gw71xx-2x board
  dt-bindings: arm: Add Gateworks i.MX8M Mini GW7905-0x board
  dt-bindings: arm: add TQMa93xxLA SOM

Link: https://lore.kernel.org/r/20230813133354.847010-3-shawnguo@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
14 months agoMerge tag 'sunxi-dt-for-6.6-2' of https://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Mon, 14 Aug 2023 21:14:12 +0000 (23:14 +0200)]
Merge tag 'sunxi-dt-for-6.6-2' of https://git./linux/kernel/git/sunxi/linux into soc/dt

- Add D1 CAN controller nodes

* tag 'sunxi-dt-for-6.6-2' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux:
  riscv: dts: allwinner: d1: Add CAN controller nodes

Link: https://lore.kernel.org/r/ZNjRV0kJ7v7+DAH5@wens.tw
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
14 months agoMerge tag 'riscv-dt-for-v6.6' of https://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Mon, 14 Aug 2023 21:08:54 +0000 (23:08 +0200)]
Merge tag 'riscv-dt-for-v6.6' of https://git./linux/kernel/git/conor/linux into soc/dt

RISC-V Devicetrees for v6.6

StarFive:
There's only StarFive stuff this time around, starting with some
bindings to get clock ID defines out of the binding headers. Getting
these (and the syscon bindings) in unblocked a swathe of stuff sitting
on the list. Added are: new clock controllers and sycons, ethernet
support, thermal sensors, USB and PCIe PHYs, hwrng, mmc and a few more
besides for the VisionFive v2. The original VisionFive and BeagleV
Starlight got some the thermal sensor support too, as that is supported
by the same driver. These changes make the board actually usable with
something other than an initramfs.
Overlay support by way of the -@ flag set during dtb building, is added
also.

Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
* tag 'riscv-dt-for-v6.6' of https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux: (26 commits)
  riscv: dts: starfive: jh7110: Fix GMAC configuration
  riscv: dts: starfive - Add hwrng node for JH7110 SoC
  riscv: dts: starfive - Add crypto and DMA node for JH7110
  riscv: dts: starfive: Add mmc nodes on VisionFive 2 board
  riscv: dts: starfive: enable DCDC1&ALDO4 node in axp15060
  riscv: dts: starfive: Add QSPI controller node for StarFive JH7110 SoC
  riscv: dts: starfive: jh7110: add the node and pins configuration for tdm
  riscv: dts: starfive: jh7110: add dma controller node
  riscv: dts: starfive: Add spi node and pins configuration
  riscv: dts: starfive: Add USB dts node for JH7110
  riscv: dts: starfive: Add USB and PCIe PHY nodes for JH7110
  riscv: dts: starfive: jh7110: Add temperature sensor node and thermal-zones
  riscv: dts: starfive: jh7100: Add temperature sensor node and thermal-zones
  riscv: dts: starfive: visionfive 2: Add configuration of gmac and phy
  riscv: dts: starfive: jh7110: Add ethernet device nodes
  riscv: dts: starfive: jh7110: Add PLL clocks source in SYSCRG node
  riscv: dts: starfive: jh7110: Add syscon nodes
  riscv: dts: starfive: jh7110: Add STGCRG/ISPCRG/VOUTCRG nodes
  riscv: dts: starfive: jh7110: Add DVP and HDMI TX pixel external clocks
  dt-bindings: clock: Add StarFive JH7110 Video-Output clock and reset generator
  ...

Link: https://lore.kernel.org/r/20230813-naturist-fragment-ac7d10c453ba@spud
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
14 months agoMerge tag 'mvebu-dt-6.6-1' of git://git.kernel.org/pub/scm/linux/kernel/git/gclement...
Arnd Bergmann [Mon, 14 Aug 2023 17:08:04 +0000 (19:08 +0200)]
Merge tag 'mvebu-dt-6.6-1' of git://git./linux/kernel/git/gclement/mvebu into soc/dt

mvebu dt for 6.6 (part 1)

Fix style issue and incorrect syntax

* tag 'mvebu-dt-6.6-1' of git://git.kernel.org/pub/scm/linux/kernel/git/gclement/mvebu:
  ARM: dts: marvell: dove: drop incorrect reg in fixed regulators
  ARM: dts: marvell: armada: drop incorrect reg in fixed regulators
  ARM: dts: marvell: add missing space before {

Link: https://lore.kernel.org/r/87h6p4t0lv.fsf@BL-laptop
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
14 months agoMerge tag 'mvebu-dt64-6.6-1' of git://git.kernel.org/pub/scm/linux/kernel/git/gclemen...
Arnd Bergmann [Mon, 14 Aug 2023 17:07:44 +0000 (19:07 +0200)]
Merge tag 'mvebu-dt64-6.6-1' of git://git./linux/kernel/git/gclement/mvebu into soc/dt

mvebu dt64 for 6.6 (part 1)

Add the NAND Flash Controller on the AC5/AC5X SOC device tree
Fix style issue

* tag 'mvebu-dt64-6.6-1' of git://git.kernel.org/pub/scm/linux/kernel/git/gclement/mvebu:
  arm64: dts: marvell: Add NAND flash controller to AC5
  arm64: dts: marvell: add missing space before {

Link: https://lore.kernel.org/r/87edk8t0kl.fsf@BL-laptop
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
14 months agoriscv: dts: starfive: jh7110: Fix GMAC configuration
Samin Guo [Thu, 10 Aug 2023 07:46:46 +0000 (15:46 +0800)]
riscv: dts: starfive: jh7110: Fix GMAC configuration

Fixed configuration to improve the speed of TCP RX.

Before:
  # iperf3 -s
  -----------------------------------------------------------
  Server listening on 5201 (test #1)
  -----------------------------------------------------------
  Accepted connection from 192.168.1.4, port 47604
  [  5] local 192.168.1.3 port 5201 connected to 192.168.1.4 port 47612
  [ ID] Interval           Transfer     Bitrate
  [  5]   0.00-1.00   sec  36.3 MBytes   305 Mbits/sec
  [  5]   1.00-2.00   sec  35.6 MBytes   299 Mbits/sec
  [  5]   2.00-3.00   sec  36.5 MBytes   306 Mbits/sec
  [  5]   3.00-4.00   sec  36.5 MBytes   306 Mbits/sec
  [  5]   4.00-5.00   sec  35.7 MBytes   300 Mbits/sec
  [  5]   5.00-6.00   sec  35.4 MBytes   297 Mbits/sec
  [  5]   6.00-7.00   sec  37.1 MBytes   311 Mbits/sec
  [  5]   7.00-8.00   sec  35.6 MBytes   298 Mbits/sec
  [  5]   8.00-9.00   sec  36.4 MBytes   305 Mbits/sec
  [  5]   9.00-10.00  sec  36.3 MBytes   304 Mbits/sec
  - - - - - - - - - - - - - - - - - - - - - - - - -
  [ ID] Interval           Transfer     Bitrate
  [  5]   0.00-10.00  sec   361 MBytes   303 Mbits/sec        receiver

After:
  # iperf3 -s
  -----------------------------------------------------------
  Server listening on 5201 (test #1)
  -----------------------------------------------------------
  Accepted connection from 192.168.1.4, port 47710
  [  5] local 192.168.1.3 port 5201 connected to 192.168.1.4 port 47720
  [ ID] Interval           Transfer     Bitrate
  [  5]   0.00-1.00   sec   111 MBytes   932 Mbits/sec
  [  5]   1.00-2.00   sec   111 MBytes   934 Mbits/sec
  [  5]   2.00-3.00   sec   111 MBytes   934 Mbits/sec
  [  5]   3.00-4.00   sec   111 MBytes   934 Mbits/sec
  [  5]   4.00-5.00   sec   111 MBytes   934 Mbits/sec
  [  5]   5.00-6.00   sec   111 MBytes   935 Mbits/sec
  [  5]   6.00-7.00   sec   111 MBytes   934 Mbits/sec
  [  5]   7.00-8.00   sec   111 MBytes   935 Mbits/sec
  [  5]   8.00-9.00   sec   111 MBytes   934 Mbits/sec
  [  5]   9.00-10.00  sec   111 MBytes   934 Mbits/sec
  [  5]  10.00-10.00  sec   167 KBytes   933 Mbits/sec
  - - - - - - - - - - - - - - - - - - - - - - - - -
  [ ID] Interval           Transfer     Bitrate
  [  5]   0.00-10.00  sec  1.09 GBytes   934 Mbits/sec        receiver

Reviewed-by: Hal Feng <hal.feng@starfivetech.com>
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
Fixes: 1ff166c97972 ("riscv: dts: starfive: jh7110: Add ethernet device nodes")
Reviewed-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>
[conor: converted to decimal per emil's request]
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
14 months agoriscv: dts: allwinner: d1: Add CAN controller nodes
John Watts [Mon, 7 Aug 2023 19:19:52 +0000 (05:19 +1000)]
riscv: dts: allwinner: d1: Add CAN controller nodes

The Allwinner D1, T113 provide two CAN controllers that are variants
of the R40 controller.

I have tested support for these controllers on two boards:

- A Lichee Panel RV 86 Panel running a D1 chip
- A Mango Pi MQ Dual running a T113-s3 chip

Both of these fully support both CAN controllers.

Signed-off-by: John Watts <contact@jookia.org>
Link: https://lore.kernel.org/r/20230807191952.2019208-1-contact@jookia.org
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
14 months agoARM: dts: marvell: dove: drop incorrect reg in fixed regulators
Krzysztof Kozlowski [Wed, 26 Jul 2023 07:02:54 +0000 (09:02 +0200)]
ARM: dts: marvell: dove: drop incorrect reg in fixed regulators

Fixed regulators are not in some bus and bindings do not allow a "reg"
property.  Move them out of "regulators" node to top-level.

  dove-cubox.dtb: regulator@1: Unevaluated properties are not allowed ('reg' was unexpected)

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
14 months agoARM: dts: marvell: armada: drop incorrect reg in fixed regulators
Krzysztof Kozlowski [Wed, 26 Jul 2023 07:02:53 +0000 (09:02 +0200)]
ARM: dts: marvell: armada: drop incorrect reg in fixed regulators

Fixed regulators are not in some bus and bindings do not allow a "reg"
property.  Move them out of "regulators" node to top-level.

  armada-370-dlink-dns327l.dtb: regulator@1: Unevaluated properties are not allowed ('reg' was unexpected)

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
14 months agoARM: dts: nuvoton: Fix pca954x i2c-mux node names
Geert Uytterhoeven [Mon, 17 Jul 2023 13:32:13 +0000 (15:32 +0200)]
ARM: dts: nuvoton: Fix pca954x i2c-mux node names

"make dtbs_check":

    arch/arm/boot/dts/nuvoton-npcm730-gbs.dtb: i2c-switch@71: $nodename:0: 'i2c-switch@71' does not match '^(i2c-?)?mux'
    From schema: Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.yaml
    ...

Fix this by renaming PCA954x nodes to "i2c-mux", to match the I2C bus
multiplexer/switch DT bindings and the Generic Names Recommendation in
the Devicetree Specification.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
14 months agoARM: dts: aspeed: Fix pca954x i2c-mux node names
Geert Uytterhoeven [Mon, 17 Jul 2023 13:30:55 +0000 (15:30 +0200)]
ARM: dts: aspeed: Fix pca954x i2c-mux node names

"make dtbs_check":

    arch/arm/boot/dts/aspeed-bmc-bytedance-g220a.dtb: i2c-switch@70: $nodename:0: 'i2c-switch@70' does not match '^(i2c-?)?mux'
    From schema: Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.yaml
    arm/boot/dts/aspeed-bmc-bytedance-g220a.dtb: i2c-switch@70: Unevaluated properties are not allowed ('#address-cells', '#size-cells', 'i2c@0', 'i2c@1', 'i2c@2', 'i2c@3' were unexpected)
    From schema: Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.yaml
    ...

Fix this by renaming PCA954x nodes to "i2c-mux", to match the I2C bus
multiplexer/switch DT bindings and the Generic Names Recommendation in
the Devicetree Specification.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
14 months agoARM: dts: nspire: Remove file name from the files themselves
Andrew Davis [Wed, 2 Aug 2023 15:33:31 +0000 (10:33 -0500)]
ARM: dts: nspire: Remove file name from the files themselves

File names inside the file does not add much and just makes it
difficult to move the files, often the file name is not updated
and becomes wrong. Remove them.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
14 months agoARM: dts: nspire: Use MATRIX_KEY macro for linux,keymap
Andrew Davis [Wed, 2 Aug 2023 15:33:30 +0000 (10:33 -0500)]
ARM: dts: nspire: Use MATRIX_KEY macro for linux,keymap

This looks better and allows us to see the row and column numbers
more easily. Switch to this macro here.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
14 months agoARM: dts: nspire: Fix uart node to conform with DT binding
Andrew Davis [Wed, 2 Aug 2023 15:33:29 +0000 (10:33 -0500)]
ARM: dts: nspire: Fix uart node to conform with DT binding

This node does not follow the DT binding schema, correct this.
The arm,pl011 binding requires the first clock to be named "uartclk".
Should result in no functional change.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
14 months agoARM: dts: nspire: Fix vbus_reg node to conform with DT binding
Andrew Davis [Wed, 2 Aug 2023 15:33:28 +0000 (10:33 -0500)]
ARM: dts: nspire: Fix vbus_reg node to conform with DT binding

This node does not follow the DT binding schema, correct this.
All "regulator-fixed" are voltage type, so drop "regulator-type".
Should result in no functional change.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
14 months agoARM: dts: nspire: Fix sram node to conform with DT binding
Andrew Davis [Wed, 2 Aug 2023 15:33:27 +0000 (10:33 -0500)]
ARM: dts: nspire: Fix sram node to conform with DT binding

This node does not follow the DT binding schema, correct this.
Should result in no functional change.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
14 months agoARM: dts: nspire: Fix cpu node to conform with DT binding
Andrew Davis [Wed, 2 Aug 2023 15:33:26 +0000 (10:33 -0500)]
ARM: dts: nspire: Fix cpu node to conform with DT binding

This node does not follow the DT binding schema, correct this.
Should result in no functional change.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
14 months agoARM: dts: nspire: Use syscon-reboot to handle restart
Andrew Davis [Wed, 2 Aug 2023 15:33:25 +0000 (10:33 -0500)]
ARM: dts: nspire: Use syscon-reboot to handle restart

Writing this bit can be handled by the syscon-reboot driver.
Add this node to DT.

Signed-off-by: Andrew Davis <afd@ti.com>
Tested-by: Fabian Vogt <fabian@ritter-vogt.de>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Fabian Vogt <fabian@ritter-vogt.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
14 months agoMerge tag 'samsung-dt-6.6' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk...
Arnd Bergmann [Sat, 12 Aug 2023 08:58:17 +0000 (10:58 +0200)]
Merge tag 'samsung-dt-6.6' of https://git./linux/kernel/git/krzk/linux into soc/dt

Samsung DTS ARM changes for v6.6

1. Galaxy S II: correct LCD screen's physical size.
2. Add Samsung Galaxy Tab 3 8.0 boards (Exynos4212).
3. Galaxy S3 family: add USB connector and USB OTG. Full USB OTG still
   seems not to work, but at least HDMI improved and dtbs_check is
   happy.
4. Fix issues pointed out by dtbs_check and W=1: unit addresses, use
   'gpios' suffix over 'gpio', update i2c-arb device node to newer
   binding.
5. Few white-space cleanups.

* tag 'samsung-dt-6.6' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
  ARM: dts: samsung: exynos4412-midas: add USB connector and USB OTG
  ARM: dts: samsung: exynos5250-snow: switch i2c-arb to new child variant
  ARM: dts: samsung: exynos5250-snow: use 'gpios' suffix for i2c-arb
  ARM: dts: samsung: fix Exynos4212 Tab3 makefile entries
  ARM: dts: exynos: Add Samsung Galaxy Tab 3 8.0 boards
  ARM: dts: samsung: s5pv210-smdkv210: correct ethernet reg addresses (split)
  ARM: dts: samsung: s3c6410-mini6410: correct ethernet reg addresses (split)
  ARM: dts: samsung: exynos4210-i9100: Fix LCD screen's physical size
  ARM: dts: s5pv210: minor whitespace cleanup around '='
  ARM: dts: exynos: minor whitespace cleanup around '='

Link: https://lore.kernel.org/r/20230810151250.220202-3-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
14 months agoMerge tag 'samsung-dt64-6.6' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk...
Arnd Bergmann [Sat, 12 Aug 2023 08:57:42 +0000 (10:57 +0200)]
Merge tag 'samsung-dt64-6.6' of https://git./linux/kernel/git/krzk/linux into soc/dt

Samsung DTS ARM64 changes for v6.6

1. Add dedicated compatibles for PWM block.
2. Add PWM to ExynosAutov9 SADK board.
3. Few white-space and other cleanups.

* tag 'samsung-dt64-6.6' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
  arm64: dts: exynos: exynos5433-tm2: drop redundant status=okay
  arm64: dts: exynos: add pwm node for exynosautov9-sadk
  dt-bindings: pwm: samsung: add exynosautov9 compatible
  arm64: dts: fsd: minor whitespace cleanup around '='
  arm64: dts: exynos: minor whitespace cleanup around '='
  arm64: dts: exynos: add missing space before {

Link: https://lore.kernel.org/r/20230810151250.220202-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
14 months agoMerge tag 'aspeed-6.6-devicetree-2' of git://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Sat, 12 Aug 2023 08:56:57 +0000 (10:56 +0200)]
Merge tag 'aspeed-6.6-devicetree-2' of git://git./linux/kernel/git/joel/bmc into soc/dt

ASPEED device tree updates for 6.6

 - New machines

  * Inventec's Starscream AST2600 BMC, for a x86 server platform
  * Meta's Yossemite 4 AST2600 BMC, for a multi-node server platform

 - Big device tree rework for IBM's Power10 BMC platforms

 - Updates for wedge400 and Mt Mitchell

 - AST2600 I3C and VUART descriptions

* tag 'aspeed-6.6-devicetree-2' of git://git.kernel.org/pub/scm/linux/kernel/git/joel/bmc:
  ARM: dts: aspeed: Add AST2600 I3C control pins
  ARM: dts: aspeed: everest: Move common devices up
  ARM: dts: aspeed: everest: Reorganise FSI description
  ARM: dts: aspeed: rainier: Reorganise FSI description
  ARM: dts: aspeed: bonnell: Reorganise FSI description
  ARM: dts: aspeed: Add P10 FSI descriptions
  ARM: dts: aspeed: yosemite4: add Facebook Yosemite 4 BMC
  dt-bindings: arm: aspeed: add Facebook Yosemite 4 board
  ARM: dts: aspeed: wedge400: Set eMMC max frequency
  ARM: dts: aspeed: wedge400: Enable more ADC channels
  ARM: dts: aspeed: Update spi alias in Facebook AST2500 Common dtsi
  ARM: dts: aspeed: rainier: Remove TPM device
  ARM: dts: aspeed: Add AST2600 VUARTs
  ARM: dts: aspeed: mtmitchell: Add MCTP
  ARM: dts: aspeed: mtmitchell: Update ADC sensors for Mt.Mitchell DVT systems
  ARM: dts: aspeed: mtmitchell: Enable the BMC UART8 and UART9
  ARM: dts: aspeed: Adding Inventec Starscream BMC
  dt-bindings: arm: aspeed: add Inventec starscream-bmc
  ARM: dts: aspeed: bonnell: Add DIMM SPD

Link: https://lore.kernel.org/r/CACPK8Xc76O5kLEAXRtbFXZcP=ObrKR0Kpez_er+zV2vZffZe7A@mail.gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
14 months agoMerge tag 'omap-for-v6.6/dt-take2-signed' of git://git.kernel.org/pub/scm/linux/kerne...
Arnd Bergmann [Sat, 12 Aug 2023 08:56:09 +0000 (10:56 +0200)]
Merge tag 'omap-for-v6.6/dt-take2-signed' of git://git./linux/kernel/git/tmlind/linux-omap into soc/dt

Devicetree changes for omaps for v6.6

Updates for opp and pinctrl nodes to follow the devicetree bindings.

* tag 'omap-for-v6.6/dt-take2-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
  arm: dts: ti: omap: Fix OPP table node names
  arm: dts: ti: omap: am5729-beagleboneai: Drop the OPP
  arm: dts: ti: omap: omap36xx: Rename opp_supply nodename
  ARM: dts: ti: add missing space before {
  ARM: dts: ti: split interrupts per cells
  ARM: dts: Unify pinctrl-single pin group nodes for davinci

Link: https://lore.kernel.org/r/pull-1691658952-110529@atomide.com-3
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
14 months agoMerge tag 'omap-for-v6.6/dt-bindings-signed' of git://git.kernel.org/pub/scm/linux...
Arnd Bergmann [Sat, 12 Aug 2023 08:53:27 +0000 (10:53 +0200)]
Merge tag 'omap-for-v6.6/dt-bindings-signed' of git://git./linux/kernel/git/tmlind/linux-omap into soc/dt

Devicetree binding changes for omaps for v6.6

Just one change to get started on SoC yaml binding changes for omaps.

* tag 'omap-for-v6.6/dt-bindings-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
  dt-bindings: omap: Partially convert omap.txt to yaml

Link: https://lore.kernel.org/r/pull-1691658952-110529@atomide.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
14 months agoMerge tag 'sunxi-dt-for-6.6-1' of https://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Sat, 12 Aug 2023 08:46:57 +0000 (10:46 +0200)]
Merge tag 'sunxi-dt-for-6.6-1' of https://git./linux/kernel/git/sunxi/linux into soc/dt

- Add D1 GPADC node
- Introduce support for OrangePi Zero 3 SBC
- Enable DT overlay support for Allwinner H3 boards

* tag 'sunxi-dt-for-6.6-1' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux:
  arm: dts: Enable device-tree overlay support for sun8i-h3 pi devices
  arm64: dts: allwinner: h616: Add OrangePi Zero 3 board support
  dt-bindings: arm: sunxi: document Orange Pi Zero 3 board name
  arm64: dts: allwinner: h616: Split Orange Pi Zero 2 DT
  riscv: dts: allwinner: d1: Add GPADC node

Link: https://lore.kernel.org/r/20230806180546.GA127039@jernej-laptop
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
14 months agoarm64: dts: mediatek: Fix "status" values
Rob Herring [Fri, 4 Aug 2023 22:58:13 +0000 (16:58 -0600)]
arm64: dts: mediatek: Fix "status" values

The defined value for "status" is "disabled", not "disable".

Reviewed-by: Alexandre Mergnat <amergnat@baylibre.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230804225813.12493-1-robh@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
14 months agoMerge tag 'amlogic-arm64-dt-for-v6.6' of https://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Sat, 12 Aug 2023 08:45:30 +0000 (10:45 +0200)]
Merge tag 'amlogic-arm64-dt-for-v6.6' of https://git./linux/kernel/git/amlogic/linux into soc/dt

Amlogic ARM64 DT changes for v6.6:
- Add initial support for A311D2
- Add AN400 board
- Add gpio_intc, power domain for C3 SoC
- Again some DT bindings fixes & cleanups

* tag 'amlogic-arm64-dt-for-v6.6' of https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux:
  arm64: dts: amlogic: drop cooling-[min|max]-state from pwm-fan
  arm64: dts: amlogic: meson-g12-common: change aobus-pinctrl node name
  arm64: dts: amlogic: meson-g12b-odroid-n2: fix usb hub hog name
  arm64: dts: amlogic: drop redundant status=okay in sound nodes
  arm64: dts: amlogic: meson-g12b-bananapi: switch to enable-gpios
  arm64: dts: add support for C3 power domain controller
  arm64: dts: Add gpio_intc node and pinctrl node for Amlogic C3 SoCs
  arm64: dts: add board AN400
  dt-bindings: arm: amlogic: add board AN400
  arm64: dts: amlogic: minor whitespace cleanup around '='
  arm64: dts: amlogic-t7-a311d2-khadas-vim4: add initial device-tree
  dt-bindings: arm: amlogic: add Amlogic A311D2 bindings

Link: https://lore.kernel.org/r/d5f95654-ebcd-bd37-02f9-840e50b17e44@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
14 months agoMerge tag 'juno-update-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep...
Arnd Bergmann [Sat, 12 Aug 2023 08:44:45 +0000 (10:44 +0200)]
Merge tag 'juno-update-6.6' of git://git./linux/kernel/git/sudeep.holla/linux into soc/dt

Armv8 Juno/FVP update for v6.6

Just a single minor whitespace cleanup in couple of FVP device trees.

* tag 'juno-update-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux:
  arm64: dts: arm: minor whitespace cleanup around '='

Link: https://lore.kernel.org/r/20230804123223.3258086-1-sudeep.holla@arm.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
14 months agoMerge tag 'zynqmp-dt-for-6.6' of https://github.com/Xilinx/linux-xlnx into soc/dt
Arnd Bergmann [Sat, 12 Aug 2023 08:44:02 +0000 (10:44 +0200)]
Merge tag 'zynqmp-dt-for-6.6' of https://github.com/Xilinx/linux-xlnx into soc/dt

arm64: ZynqMP DT changes for v6.6

- Describe caches
- Fix i2c gpio recovery description
- Setting up default i2c frequency
- Describe GEM TSU clock and assigned rates for SOMs
- Reserved 1MB for internal firmware usage
- Fix dwc3 IRQ description
- Describe interrupts by using macros

* tag 'zynqmp-dt-for-6.6' of https://github.com/Xilinx/linux-xlnx:
  arm64: zynqmp: Describe interrupts by using macros
  arm64: zynqmp: Fix dwc3 usb interrupt description
  arm64: zynqmp: Add memory reserved node for k26 Kria SOM board
  arm64: zynqmp: Assign TSU clock frequency for GEMs
  arm64: zynqmp: Setting default i2c clock frequency to 400kHz
  arm64: zynqmp: Fix open drain warning on ZynqMP
  arm64: zynqmp: Add L2 cache nodes

Link: https://lore.kernel.org/r/fde6d7b4-c751-219d-3ec5-04e5bad2aa17@monstr.eu
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
14 months agoMerge tag 'hisi-arm32-dt-for-6.6' of https://github.com/hisilicon/linux-hisi into...
Arnd Bergmann [Sat, 12 Aug 2023 08:43:22 +0000 (10:43 +0200)]
Merge tag 'hisi-arm32-dt-for-6.6' of https://github.com/hisilicon/linux-hisi into soc/dt

ARM: DT: HiSilicon ARM32 DT updates for v6.6

- Fix "status" values

* tag 'hisi-arm32-dt-for-6.6' of https://github.com/hisilicon/linux-hisi:
  ARM: dts: hisilicon: Fix "status" values

Link: https://lore.kernel.org/r/64CC9B21.70907@hisilicon.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
14 months agoMerge tag 'hisi-arm64-dt-for-6.6' of https://github.com/hisilicon/linux-hisi into...
Arnd Bergmann [Sat, 12 Aug 2023 08:42:44 +0000 (10:42 +0200)]
Merge tag 'hisi-arm64-dt-for-6.6' of https://github.com/hisilicon/linux-hisi into soc/dt

ARM64: DT: HiSilicon ARM64 DT updates for v6.6

- Miscellaneous fixes according the DTS coding style
- Correct the clocks order of the sd0 for the hi3798cv200

* tag 'hisi-arm64-dt-for-6.6' of https://github.com/hisilicon/linux-hisi:
  arm64: dts: hi3798cv200: Fix clocks order of sd0
  arm64: dts: hisilicon: add missing space before {
  arm64: dts: hisilicon: minor whitespace cleanup around '='

Link: https://lore.kernel.org/r/64CC99A3.5030701@hisilicon.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
14 months agoMerge tag 'microchip-dt64-6.6' of https://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Sat, 12 Aug 2023 08:42:15 +0000 (10:42 +0200)]
Merge tag 'microchip-dt64-6.6' of https://git./linux/kernel/git/at91/linux into soc/dt

Microchip ARM64 device tree updates for 6.6

It contains:
- one cleanup patch that removes whitespaces around '='

* tag 'microchip-dt64-6.6' of https://git.kernel.org/pub/scm/linux/kernel/git/at91/linux:
  arm64: dts: microchip: minor whitespace cleanup around '='

Link: https://lore.kernel.org/r/20230804044132.231508-1-claudiu.beznea@tuxon.dev
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
14 months agoMerge tag 'at91-dt-6.6' of https://git.kernel.org/pub/scm/linux/kernel/git/at91/linux...
Arnd Bergmann [Sat, 12 Aug 2023 08:41:37 +0000 (10:41 +0200)]
Merge tag 'at91-dt-6.6' of https://git./linux/kernel/git/at91/linux into soc/dt

AT91 device tree updates for 6.6

It contains:
- TCB timer nodes adition for at91-sama5d3_ksz9477_evb board
- device tee cleanups

* tag 'at91-dt-6.6' of https://git.kernel.org/pub/scm/linux/kernel/git/at91/linux:
  ARM: dts: at91: remove duplicated entries
  ARM: dts: microchip: split interrupts per cells
  ARM: dts: at91: ksz9477_evb: Add tx-internal-delay-ps property for port5
  ARM: dts: at91: ksz9477_evb: Add missing timer nodes
  ARM: dts: at91-vinco: Fix "status" values
  ARM: dts: microchip: add missing space before {
  ARM: dts: microchip: minor whitespace cleanup around '='

Link: https://lore.kernel.org/r/20230804044102.231448-1-claudiu.beznea@tuxon.dev
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
14 months agoARM: dts: st: spear: split interrupts per cells
Krzysztof Kozlowski [Sun, 30 Jul 2023 11:15:36 +0000 (13:15 +0200)]
ARM: dts: st: spear: split interrupts per cells

Each interrupt should be in its own cell.  This is much more readable.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Link: https://lore.kernel.org/r/20230730111536.98164-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
14 months agoMerge tag 'renesas-dts-for-v6.6-tag1' of git://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Sat, 12 Aug 2023 08:39:59 +0000 (10:39 +0200)]
Merge tag 'renesas-dts-for-v6.6-tag1' of git://git./linux/kernel/git/geert/renesas-devel into soc/dt

Renesas DTS updates for v6.6

  - Add Clocked Serial Interface (CSI) support for the RZ/V2M SoC,
  - Add PMIC, RTC, and PWM support for the RZ/G2L, RZ/G2LC, and RZ/V2L
    SMARC EVK development boards,
  - Add PWM (MTU3a) support for the RZ/G2UL and RZ/Five SoCs,
  - Add External interrupt (INTC-EX) support for the R-Car S4-8 SoC,
  - Add LED support for the Spider development board,
  - Miscellaneous fixes and improvements.

* tag 'renesas-dts-for-v6.6-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel:
  arm64: dts: renesas: spider-cpu: Add GP LEDs
  arm64: dts: renesas: r8a779f0: Add INTC-EX node
  arm64: dts: renesas: rzg2ul-smarc: Add support for enabling MTU3
  arm64: dts: renesas: r9a07g043: Add MTU3a node
  ARM dts: renesas: armadillo800eva: Switch to enable-gpios
  arm64: dts: renesas: rzg2lc-smarc-som: Enable PMIC and built-in RTC
  arm64: dts: renesas: rzg2lc-smarc-som: Add PHY interrupt support for ETH0
  riscv: dts: renesas: Clean up dtbs_check W=1 warning due to empty phy node
  arm64: dts: renesas: rzg2lc-smarc: Add support for enabling MTU3
  arm64: dts: renesas: rzg2l-smarc: Add support for enabling MTU3
  arm64: dts: renesas: Add missing space before {
  ARM: dts: renesas: Add missing space before {
  arm64: dts: renesas: Minor whitespace cleanup around '='
  arm64: dts: renesas: rzg2l-smarc-som: Enable PMIC and built-in RTC
  arm64: dts: renesas: r9a09g011: Add CSI nodes
  arm64: dts: renesas: rzg2l: Fix txdv-skew-psec typos
  arm64: dts: renesas: rzg2l: Update overfow/underflow IRQ names for MTU3 channels

Link: https://lore.kernel.org/r/cover.1690545144.git.geert+renesas@glider.be
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
14 months agoMerge tag 'tegra-for-6.6-arm64-dt' of git://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Sat, 12 Aug 2023 08:39:04 +0000 (10:39 +0200)]
Merge tag 'tegra-for-6.6-arm64-dt' of git://git./linux/kernel/git/tegra/linux into soc/dt

arm64: tegra: Device tree changes for v6.6-rc1

The majority of this is fixes all over the place for DT schema
validation warnings. However, there are also cleanups for some things in
DT and audio support is added on IGX Orin. Jetson Orin NX and Nano also
gain a new thermal trip point to help keep the device cool at moderate
loads.

* tag 'tegra-for-6.6-arm64-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux: (22 commits)
  arm64: tegra: Add blank lines for better readability
  arm64: tegra: Remove {clock,reset}-names from VIC powergate
  arm64: tegra: Drop incorrect maxim,disable-etr on Smaug
  arm64: tegra: Add SPI device tree nodes for Tegra234
  arm64: tegra: Enable UARTA and UARTE for Orin Nano
  arm64: tegra: Add UARTE device tree node on Tegra234
  arm64: tegra: Adapt to LP855X bindings changes
  arm64: tegra: Add PCIe and DP 3.3V supplies
  arm64: tegra: Add missing reset-names for Tegra HS UART
  arm64: tegra: Remove current-speed for SBSA UART
  arm64: tegra: smaug: Remove reg-shift for high-speed UART
  arm64: tegra: Remove dmas and dma-names for debug UART
  arm64: tegra: Add 35°C trip point for Jetson Orin NX/Nano
  arm64: tegra: Remove duplicate PCI nodes
  arm64: tegra: Sort PCI nodes correctly on Orin
  arm64: tegra: Add audio support for IGX Orin
  arm64: tegra: Update CPU OPP tables
  arm64: tegra: Fix HSUART for Smaug
  arm64: tegra: Fix HSUART for Jetson AGX Orin
  arm64: tegra: Add missing alias for NVIDIA IGX Orin
  ...

Link: https://lore.kernel.org/r/20230728094129.3587109-4-thierry.reding@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
14 months agoMerge tag 'tegra-for-6.6-arm-dt' of git://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Sat, 12 Aug 2023 08:38:27 +0000 (10:38 +0200)]
Merge tag 'tegra-for-6.6-arm-dt' of git://git./linux/kernel/git/tegra/linux into soc/dt

ARM: tegra: Device tree changes for v6.6-rc1

This contains various fixes for DT schema validation and the Pegatron
Chagall and Nexus 7 get specific compatible strings for the panels that
they use.

* tag 'tegra-for-6.6-arm-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
  ARM: tegra: Provide specific compatible string for Nexus 7 panel
  ARM: tegra: Use Hannstar HSD101PWW2 on Pegatron Chagall
  ARM: tegra: Reuse I2C3 for NVEC
  ARM: tegra: Add missing reset-names for Tegra HS UART
  ARM: tegra: Remove reset-names for UART devices
  ARM: tegra: Remove dmas and dma-names for debug UART

Link: https://lore.kernel.org/r/20230728094129.3587109-3-thierry.reding@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
14 months agoMerge tag 'tegra-for-6.6-dt-bindings' of git://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Sat, 12 Aug 2023 08:37:10 +0000 (10:37 +0200)]
Merge tag 'tegra-for-6.6-dt-bindings' of git://git./linux/kernel/git/tegra/linux into soc/dt

dt-bindings: Changes for v6.6-rc1

A number of Tegra-specific bindings are converted to json-schema and the
reserved-memory and BPMP bindings get support for Tegra264.

* tag 'tegra-for-6.6-dt-bindings' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
  dt-bindings: firmware: Add support for tegra186-bpmp DRAM MRQ GSCs
  dt-bindings: reserved-memory: Add support for DRAM MRQ GSCs
  dt-bindings: thermal: tegra: Convert to json-schema
  dt-bindings: arm: tegra: nvec: Convert to json-schema
  dt-bindings: clock: tegra: Document Tegra132 compatible
  dt-bindings: cpu: Document NVIDIA Tegra186 CCPLEX cluster
  dt-bindings: serial: tegra-hsuart: Convert to json-schema
  dt-bindings: arm: tegra: ahb: Convert to json-schema
  dt-bindings: arm: tegra: flowctrl: Convert to json-schema

Link: https://lore.kernel.org/r/20230728094129.3587109-2-thierry.reding@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
14 months agoARM: dts: imx6qdl: mba6: Fix gpio-keys button node names
Alexander Stein [Thu, 10 Aug 2023 14:37:27 +0000 (16:37 +0200)]
ARM: dts: imx6qdl: mba6: Fix gpio-keys button node names

Numbers are separated by dashes. Fixes the warnings:
arch/arm/boot/dts/nxp/imx/imx6q-mba6a.dtb: gpio-buttons: 'button1',
 'button2', 'button3' do not match any of the regexes:
 '^(button|event|key|switch|(button|event|key|switch)-[a-z0-9-]+|[a-z0-9-]+-(button|event|key|switch))$', 'pinctrl-[0-9]+'
 from schema $id: http://devicetree.org/schemas/input/gpio-keys.yaml#

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
14 months agoARM: dts: imx6ul: Fix nand-controller #size-cells
Alexander Stein [Thu, 10 Aug 2023 09:55:41 +0000 (11:55 +0200)]
ARM: dts: imx6ul: Fix nand-controller #size-cells

nand-controller.yaml bindings says #size-cells shall be set to 0.
Fixes the dtbs_check warning:
arch/arm/boot/dts/nxp/imx/imx6ul-tqma6ul2l-mba6ulx.dtb:
 nand-controller@1806000: #size-cells:0:0: 0 was expected
 from schema $id: http://devicetree.org/schemas/mtd/gpmi-nand.yaml#

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
14 months agoARM: dts: imx6ul: mba6ulx: Fix stmpe811 node warnings
Alexander Stein [Thu, 10 Aug 2023 09:55:39 +0000 (11:55 +0200)]
ARM: dts: imx6ul: mba6ulx: Fix stmpe811 node warnings

interrupt-controller is only valid for gpio subnode, remove it.
Rename touchscreen subnode according to bindings.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
14 months agoARM: dts: imx6dl-b1x5pv2: Fix simple-audio routing property
Fabio Estevam [Wed, 9 Aug 2023 11:44:31 +0000 (08:44 -0300)]
ARM: dts: imx6dl-b1x5pv2: Fix simple-audio routing property

Per simple-card.yaml, 'simple-audio-card,audio-routing' is not a valid
property.

Change it to 'simple-audio-card,routing'.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
14 months agodt-bindings: arm: Add Polyhex DEBIX SOM A based boards
Marco Felsch [Wed, 9 Aug 2023 07:10:25 +0000 (09:10 +0200)]
dt-bindings: arm: Add Polyhex DEBIX SOM A based boards

Add devicetree bindings for i.MX8MP based DEBIX SOM A and SOM A I/O
baseboard:
  - https://debix.io/hardware/debix-som-a.html
  - https://debix.io/hardware/debix-som-a-io-board.html

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
14 months agodt-bindings: arm: fsl: fix DEBIX binding
Marco Felsch [Wed, 9 Aug 2023 07:10:24 +0000 (09:10 +0200)]
dt-bindings: arm: fsl: fix DEBIX binding

The current imx8mp-debix-model-a.dts uses all three compatibles. Fix the
corresponding bindings by adding an own entry for it. Adapt the comment
for the "polyhex,imx8mp-debix" binding to make it clear that this should
only be used for DEBIX Model A/B i.MX8MP SBCs.

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
14 months agoARM: dts: aspeed: Add AST2600 I3C control pins
Dylan Hung [Wed, 9 Aug 2023 13:44:13 +0000 (21:44 +0800)]
ARM: dts: aspeed: Add AST2600 I3C control pins

Add pinctrl support for the I3C1 and I3C2 pins.

Signed-off-by: Dylan Hung <dylan_hung@aspeedtech.com>
Reviewed-by: Jeremy Kerr <jk@codeconstruct.com.au>
Link: https://lore.kernel.org/r/20230809134413.3614535-1-dylan_hung@aspeedtech.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
14 months agoARM: dts: aspeed: everest: Move common devices up
Joel Stanley [Wed, 9 Aug 2023 07:49:21 +0000 (17:19 +0930)]
ARM: dts: aspeed: everest: Move common devices up

Other systems have the SoC devices listed before the FSI description.
Move them up in order to make them similar.

Link: https://lore.kernel.org/r/20230809074921.116987-6-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
14 months agoARM: dts: aspeed: everest: Reorganise FSI description
Eddie James [Wed, 9 Aug 2023 07:49:20 +0000 (17:19 +0930)]
ARM: dts: aspeed: everest: Reorganise FSI description

Use the P10 quad FSI CFAM description to reduce duplication and add the
I2C responders and associated engines.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Link: https://lore.kernel.org/r/20230809074921.116987-5-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
14 months agoARM: dts: aspeed: rainier: Reorganise FSI description
Joel Stanley [Wed, 9 Aug 2023 07:49:19 +0000 (17:19 +0930)]
ARM: dts: aspeed: rainier: Reorganise FSI description

Use the P10 quad FSI CFAM description to reduce duplication.

Link: https://lore.kernel.org/r/20230809074921.116987-4-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
14 months agoARM: dts: aspeed: bonnell: Reorganise FSI description
Joel Stanley [Wed, 9 Aug 2023 07:49:18 +0000 (17:19 +0930)]
ARM: dts: aspeed: bonnell: Reorganise FSI description

Use the P10 dual FSI CFAM description to reduce duplication.

Link: https://lore.kernel.org/r/20230809074921.116987-3-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
14 months agoARM: dts: aspeed: Add P10 FSI descriptions
Eddie James [Wed, 9 Aug 2023 07:49:17 +0000 (17:19 +0930)]
ARM: dts: aspeed: Add P10 FSI descriptions

These will be used by BMCs attached to a IBM Power10 server CPU.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Link: https://lore.kernel.org/r/20230809074921.116987-2-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
14 months agoARM: dts: aspeed: yosemite4: add Facebook Yosemite 4 BMC
Delphine CC Chiu [Thu, 10 Aug 2023 07:00:30 +0000 (15:00 +0800)]
ARM: dts: aspeed: yosemite4: add Facebook Yosemite 4 BMC

Add linux device tree entry for Yosemite 4 devices connected to BMC.
The Yosemite 4 is a Meta multi-node server platform, based on AST2600 SoC.

Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20230810070032.335161-3-Delphine_CC_Chiu@wiwynn.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
14 months agodt-bindings: arm: aspeed: add Facebook Yosemite 4 board
Delphine CC Chiu [Thu, 10 Aug 2023 07:00:29 +0000 (15:00 +0800)]
dt-bindings: arm: aspeed: add Facebook Yosemite 4 board

Document the new compatibles used on Facebook Yosemite 4.

Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230810070032.335161-2-Delphine_CC_Chiu@wiwynn.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
14 months agoARM: dts: aspeed: wedge400: Set eMMC max frequency
Tao Ren [Thu, 3 Aug 2023 23:03:24 +0000 (16:03 -0700)]
ARM: dts: aspeed: wedge400: Set eMMC max frequency

Set eMMC max frequency to 25MHz to prevent intermittent eMMC access
failures.

Signed-off-by: Tao Ren <rentao.bupt@gmail.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20230803230324.731268-4-rentao.bupt@gmail.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
14 months agoARM: dts: aspeed: wedge400: Enable more ADC channels
Tao Ren [Thu, 3 Aug 2023 23:03:23 +0000 (16:03 -0700)]
ARM: dts: aspeed: wedge400: Enable more ADC channels

Enable ASPEED-ADC channels 5-8 to support voltage monitoring of all the
Wedge400 hardware revisions.

Signed-off-by: Tao Ren <rentao.bupt@gmail.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20230803230324.731268-3-rentao.bupt@gmail.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
14 months agoARM: dts: aspeed: Update spi alias in Facebook AST2500 Common dtsi
Tao Ren [Thu, 3 Aug 2023 23:03:22 +0000 (16:03 -0700)]
ARM: dts: aspeed: Update spi alias in Facebook AST2500 Common dtsi

Set FMC controller to "spi0" in ast2500-facebook-netbmc-common.dtsi so
the spi bus is consistent with the flash labels defined in flash layout.

Signed-off-by: Tao Ren <rentao.bupt@gmail.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20230803230324.731268-2-rentao.bupt@gmail.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
14 months agoARM: dts: aspeed: rainier: Remove TPM device
Lakshmi Yadlapati [Tue, 25 Jul 2023 14:16:06 +0000 (09:16 -0500)]
ARM: dts: aspeed: rainier: Remove TPM device

TPM is disabled in Rainier, remove TPM device.

Signed-off-by: Lakshmi Yadlapati <lakshmiy@us.ibm.com>
Link: https://lore.kernel.org/r/20230725141606.1641080-2-lakshmiy@us.ibm.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
14 months agoARM: dts: aspeed: Add AST2600 VUARTs
Joel Stanley [Tue, 20 Jun 2023 04:22:57 +0000 (13:52 +0930)]
ARM: dts: aspeed: Add AST2600 VUARTs

The AST2600 has two more vuarts, placed between the existing two in the
memory map.

Link: https://lore.kernel.org/r/20230620042257.73665-1-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
14 months agoARM: dts: aspeed: mtmitchell: Add MCTP
Chanh Nguyen [Tue, 20 Jun 2023 09:25:37 +0000 (16:25 +0700)]
ARM: dts: aspeed: mtmitchell: Add MCTP

Enable MCTP driver on I2C3 bus for MCTP transaction

Signed-off-by: Chanh Nguyen <chanh@os.amperecomputing.com>
Link: https://lore.kernel.org/r/20230620092537.20007-4-chanh@os.amperecomputing.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
14 months agoARM: dts: aspeed: mtmitchell: Update ADC sensors for Mt.Mitchell DVT systems
Chanh Nguyen [Tue, 20 Jun 2023 09:25:36 +0000 (16:25 +0700)]
ARM: dts: aspeed: mtmitchell: Update ADC sensors for Mt.Mitchell DVT systems

Change to use I2C ADC controller (ltc2497) for Mt.Mitchell DVT and
later hardware.

Signed-off-by: Chanh Nguyen <chanh@os.amperecomputing.com>
Link: https://lore.kernel.org/r/20230620092537.20007-3-chanh@os.amperecomputing.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
14 months agoARM: dts: aspeed: mtmitchell: Enable the BMC UART8 and UART9
Chanh Nguyen [Tue, 20 Jun 2023 09:25:35 +0000 (16:25 +0700)]
ARM: dts: aspeed: mtmitchell: Enable the BMC UART8 and UART9

The BMC UART8 and UART9 were connected to the Secpro and Mpro console
of socket S1 on the Mt.Mitchell system.

Signed-off-by: Chanh Nguyen <chanh@os.amperecomputing.com>
Link: https://lore.kernel.org/r/20230620092537.20007-2-chanh@os.amperecomputing.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
14 months agoriscv: dts: starfive - Add hwrng node for JH7110 SoC
Jia Jie Ho [Tue, 8 Aug 2023 14:15:58 +0000 (22:15 +0800)]
riscv: dts: starfive - Add hwrng node for JH7110 SoC

Add hardware rng controller node for StarFive JH7110 SoC.

Co-developed-by: Jenny Zhang <jenny.zhang@starfivetech.com>
Signed-off-by: Jenny Zhang <jenny.zhang@starfivetech.com>
Signed-off-by: Jia Jie Ho <jiajie.ho@starfivetech.com>
Acked-by: Palmer Dabbelt <palmer@rivosinc.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
14 months agoriscv: dts: starfive - Add crypto and DMA node for JH7110
Jia Jie Ho [Tue, 8 Aug 2023 14:15:57 +0000 (22:15 +0800)]
riscv: dts: starfive - Add crypto and DMA node for JH7110

Add hardware crypto module and dedicated dma controller node to StarFive
JH7110 SoC.

Co-developed-by: Huan Feng <huan.feng@starfivetech.com>
Signed-off-by: Huan Feng <huan.feng@starfivetech.com>
Signed-off-by: Jia Jie Ho <jiajie.ho@starfivetech.com>
Acked-by: Palmer Dabbelt <palmer@rivosinc.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
14 months agoriscv: dts: starfive: Add mmc nodes on VisionFive 2 board
William Qiu [Wed, 9 Aug 2023 01:39:17 +0000 (09:39 +0800)]
riscv: dts: starfive: Add mmc nodes on VisionFive 2 board

Add the mmc nodes for the StarFive JH7110 SoC.
Set mmc0 node to emmc and set mmc1 node to sd.

Signed-off-by: William Qiu <william.qiu@starfivetech.com>
Reviewed-by: Hal Feng <hal.feng@starfivetech.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
14 months agoriscv: dts: starfive: enable DCDC1&ALDO4 node in axp15060
William Qiu [Wed, 9 Aug 2023 01:39:16 +0000 (09:39 +0800)]
riscv: dts: starfive: enable DCDC1&ALDO4 node in axp15060

Enable DCDC1 node for vmmc-supply and enable ALDO4 node for
vqmmc-supply.

Signed-off-by: William Qiu <william.qiu@starfivetech.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
14 months agoarm64: dts: exynos: exynos5433-tm2: drop redundant status=okay
Krzysztof Kozlowski [Mon, 31 Jul 2023 09:08:21 +0000 (11:08 +0200)]
arm64: dts: exynos: exynos5433-tm2: drop redundant status=okay

status=okay is by default.

Link: https://lore.kernel.org/r/20230731090821.104733-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
14 months agoARM: dts: imx6q-prti6q: Fix the SDIO wifi node
Fabio Estevam [Mon, 31 Jul 2023 20:36:10 +0000 (17:36 -0300)]
ARM: dts: imx6q-prti6q: Fix the SDIO wifi node

Wifi chip description, which causes the following schema warning:

imx6q-prti6q.dtb: mmc@2194000: Unevaluated properties are not allowed ('wifi' was unexpected)

Pass the missing items to fix it.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
14 months agoARM: dts: vfxxx: Pass 'mmc' as the esdhc node names
Fabio Estevam [Mon, 31 Jul 2023 20:15:42 +0000 (17:15 -0300)]
ARM: dts: vfxxx: Pass 'mmc' as the esdhc node names

Pass 'mmc' as the esdhc node names to fix the following schema
warnings:

vf610-cosmic.dtb: esdhc@400b1000: $nodename:0: 'esdhc@400b1000' does not match '^mmc(@.*)?$'

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
14 months agoARM: dts: imx53-smd: Remove invalid SPI flash entry
Fabio Estevam [Mon, 31 Jul 2023 13:34:21 +0000 (10:34 -0300)]
ARM: dts: imx53-smd: Remove invalid SPI flash entry

"st,m25p" is not a valid compatible according to jedec,spi-nor.yaml.

Remove it.

Also, node names should be generic, so use 'flash' as the SPI NOR flash
node name.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
14 months agoARM: dts: imx50-evk: Use generic node name for SPI NOR flash
Fabio Estevam [Mon, 31 Jul 2023 13:34:20 +0000 (10:34 -0300)]
ARM: dts: imx50-evk: Use generic node name for SPI NOR flash

Node names should be generic, so use 'flash' as the SPI NOR flash node
name.

This fixes the following schema warning:

imx53-smd.dtb: m25p32@1: $nodename:0: 'm25p32@1' does not match '^(flash|.*sram|nand)(@.*)?$'
from schema $id: http://devicetree.org/schemas/mtd/jedec,spi-nor.yaml#

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
14 months agoARM: dts: imx6q-cm-fx6: Remove invalid SPI flash entry
Fabio Estevam [Mon, 31 Jul 2023 13:34:19 +0000 (10:34 -0300)]
ARM: dts: imx6q-cm-fx6: Remove invalid SPI flash entry

"st,m25p" is not a valid compatible according to jedec,spi-nor.yaml.

Remove it.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
14 months agoARM: dts: ls1021a: add TQMLS1021A flash partition layout
Alexander Stein [Mon, 31 Jul 2023 09:23:31 +0000 (11:23 +0200)]
ARM: dts: ls1021a: add TQMLS1021A flash partition layout

The bootloader does not add the partitions into DT, so add them manually
here.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
14 months agoARM: dts: ls1021a: add TQ-Systems MBLS102xA device tree
Alexander Stein [Mon, 31 Jul 2023 09:23:30 +0000 (11:23 +0200)]
ARM: dts: ls1021a: add TQ-Systems MBLS102xA device tree

Add device tree for the MBLS102xA mainboard with TQMLS1021A SoM.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
14 months agodt-bindings: arm: fsl: add TQ-Systems LS1021A board
Matthias Schiffer [Mon, 31 Jul 2023 09:23:29 +0000 (11:23 +0200)]
dt-bindings: arm: fsl: add TQ-Systems LS1021A board

TQMLS102xA is a SOM family using NXP LS1021A CPU family.
MBLS102xA is an evaluation mainboard for this SOM.

Signed-off-by: Matthias Schiffer <matthias.schiffer@tq-group.com>
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
14 months agoARM: dts: imx: Remove 'compatible' from the pfuze nodes
Fabio Estevam [Sun, 30 Jul 2023 13:35:50 +0000 (10:35 -0300)]
ARM: dts: imx: Remove 'compatible' from the pfuze nodes

Passing the 'compatible' property inside the pfuze100 regulator nodes
is not allowed per pfuze100.yaml and results in the following
warning:

imx6q-bosch-acc.dtb: pmic@8: regulators:sw3a: Unevaluated properties are not allowed ('compatible' was unexpected)

Remove it.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
14 months agoARM: dts: imx: Pass #sound-dai-cells to sgtl5000
Fabio Estevam [Sun, 30 Jul 2023 13:35:49 +0000 (10:35 -0300)]
ARM: dts: imx: Pass #sound-dai-cells to sgtl5000

As per sgtl5000.yaml, '#sound-dai-cells' is a required property.

Pass it to fix the following schema warnings:

imx53-mba53.dtb: sgtl5000@a: '#sound-dai-cells' is a required property

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
14 months agoarm: dts: Enable device-tree overlay support for sun8i-h3 pi devices
Felix Moessbauer [Tue, 27 Jun 2023 13:37:03 +0000 (21:37 +0800)]
arm: dts: Enable device-tree overlay support for sun8i-h3 pi devices

Add the '-@' DTC option for the sun8i-h3 pi-class devices. This option
populates the '__symbols__' node that contains all the necessary symbols
for supporting device-tree overlays (for instance from the firmware or
the bootloader) on these devices.

These devices allow various modules to be connected and this enables
users to create out-of-tree device-tree overlays for these modules.

Please note that this change does increase the size of the resulting DTB
by ~30%. For example, with v6.4 increase in size is as follows:

22909 -> 29564 sun8i-h3-orangepi-lite.dtb
24214 -> 30935 sun8i-h3-bananapi-m2-plus.dtb
23915 -> 30664 sun8i-h3-nanopi-m1-plus.dtb
22969 -> 29537 sun8i-h3-nanopi-m1.dtb
24157 -> 30836 sun8i-h3-nanopi-duo2.dtb
24110 -> 30845 sun8i-h3-orangepi-plus2e.dtb
23472 -> 30037 sun8i-h3-orangepi-one.dtb
24600 -> 31410 sun8i-h3-orangepi-plus.dtb
23618 -> 30230 sun8i-h3-orangepi-2.dtb
22170 -> 28548 sun8i-h3-orangepi-zero-plus2.dtb
23258 -> 29795 sun8i-h3-nanopi-neo-air.dtb
23113 -> 29699 sun8i-h3-zeropi.dtb
22803 -> 29270 sun8i-h3-nanopi-neo.dtb
24674 -> 31318 sun8i-h3-nanopi-r1.dtb
23477 -> 30038 sun8i-h3-orangepi-pc.dtb
24622 -> 31380 sun8i-h3-bananapi-m2-plus-v1.2.dtb
23750 -> 30366 sun8i-h3-orangepi-pc-plus.dtb

Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20230627133703.355893-1-felix.moessbauer@siemens.com
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
14 months agoarm64: dts: allwinner: h616: Add OrangePi Zero 3 board support
Andre Przywara [Fri, 4 Aug 2023 17:08:56 +0000 (18:08 +0100)]
arm64: dts: allwinner: h616: Add OrangePi Zero 3 board support

The OrangePi Zero 3 is a development board based on the Allwinner H618 SoC,
which seems to be just an H616 with more L2 cache. The board itself is a
slightly updated version of the Orange Pi Zero 2. It features:
- Four ARM Cortex-A53 cores, Mali-G31 MP2 GPU
- 1/1.5/2/4 GiB LPDDR4 DRAM SKUs (only up to 1GB on the Zero2)
- AXP313a PMIC (more capable AXP305 on the Zero2)
- Raspberry-Pi-1 compatible GPIO header
- extra 13 pin expansion header, exposing pins for 2x USB 2.0 ports
- 1 USB 2.0 host port
- 1 USB 2.0 type C port (power supply + OTG)
- MicroSD slot
- on-board 16MiB bootable SPI NOR flash (only 2MB on the Zero2)
- 1Gbps Ethernet port (via Motorcomm YT8531 PHY) (RTL8211 on the Zero2)
- micro-HDMI port
- (yet) unsupported Allwinner WiFi/BT chip

Add the devicetree file describing the currently supported features,
namely LEDs, SD card, PMIC, SPI flash, USB. Ethernet seems unstable at
the moment, though the basic functionality works.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20230804170856.1237202-4-andre.przywara@arm.com
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
14 months agodt-bindings: arm: sunxi: document Orange Pi Zero 3 board name
Andre Przywara [Fri, 4 Aug 2023 17:08:55 +0000 (18:08 +0100)]
dt-bindings: arm: sunxi: document Orange Pi Zero 3 board name

The Orange Pi Zero 3 board is an updated version of the Zero 2 board.
It uses a SoC called H618, which just seems to be an H616 with more L2
cache.

Add the board/SoC compatible string pair to the list of known boards.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20230804170856.1237202-3-andre.przywara@arm.com
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
14 months agoarm64: dts: allwinner: h616: Split Orange Pi Zero 2 DT
Andre Przywara [Fri, 4 Aug 2023 17:08:54 +0000 (18:08 +0100)]
arm64: dts: allwinner: h616: Split Orange Pi Zero 2 DT

The Orange Pi Zero 2 got a successor (Zero 3), which shares quite some
DT nodes with the Zero 2, but comes with a different PMIC.

Move the common parts (except the PMIC) into a new shared file, and
include that from the existing board .dts file.

No functional change, the generated DTB is the same, except for some
phandle numbering differences.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20230804170856.1237202-2-andre.przywara@arm.com
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
14 months agoARM: dts: nxp: mxs: split interrupts per cells
Krzysztof Kozlowski [Sun, 30 Jul 2023 11:15:39 +0000 (13:15 +0200)]
ARM: dts: nxp: mxs: split interrupts per cells

Each interrupt should be in its own cell.  This is much more readable.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
14 months agoARM: dts: imx6ul-geam: Remove invalid sgtl5000 property
Fabio Estevam [Fri, 28 Jul 2023 19:31:04 +0000 (16:31 -0300)]
ARM: dts: imx6ul-geam: Remove invalid sgtl5000 property

As per sgtl5000.yaml, 'clock-names' is not a valid property.

Remove it to fix the following schema warning:

imx6ul-isiot-nand.dtb: codec@a: Unevaluated properties are not allowed ('clock-names' was unexpected)

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
14 months agoriscv: dts: starfive: Add QSPI controller node for StarFive JH7110 SoC
William Qiu [Fri, 4 Aug 2023 02:02:54 +0000 (10:02 +0800)]
riscv: dts: starfive: Add QSPI controller node for StarFive JH7110 SoC

Add the quad spi controller node for the StarFive JH7110 SoC.

Co-developed-by: Ziv Xu <ziv.xu@starfivetech.com>
Signed-off-by: Ziv Xu <ziv.xu@starfivetech.com>
Signed-off-by: William Qiu <william.qiu@starfivetech.com>
Reviewed-by: Hal Feng <hal.feng@starfivetech.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
15 months agoARM: dts: at91: remove duplicated entries
Claudiu Beznea [Fri, 21 Jul 2023 05:39:18 +0000 (08:39 +0300)]
ARM: dts: at91: remove duplicated entries

Remove duplicated DTC_FLAGS_<board> := -@ entries which intends to enable
the building of device tree overlays.
Commit 724ba6751532 ("ARM: dts: Move .dts files to vendor sub-directories")
added those entries at the beginning of file w/o removing the already
available entries spread though file.

Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20230721053918.33944-1-claudiu.beznea@tuxon.dev
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
15 months agoarm64: dts: hi3798cv200: Fix clocks order of sd0
David Yang [Sun, 14 May 2023 12:25:33 +0000 (20:25 +0800)]
arm64: dts: hi3798cv200: Fix clocks order of sd0

"ciu" and "biu" were incorrectly swapped. Fix their order.

Signed-off-by: David Yang <mmyangfl@gmail.com>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
15 months agoARM: dts: microchip: split interrupts per cells
Krzysztof Kozlowski [Sun, 30 Jul 2023 11:15:41 +0000 (13:15 +0200)]
ARM: dts: microchip: split interrupts per cells

Each interrupt should be in its own cell.  This is much more readable.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230730111542.98238-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
15 months agoarm64: dts: amlogic: drop cooling-[min|max]-state from pwm-fan
Neil Armstrong [Thu, 6 Jul 2023 08:00:21 +0000 (10:00 +0200)]
arm64: dts: amlogic: drop cooling-[min|max]-state from pwm-fan

Drop the invalid cooling-min-state & cooling-max-state from the
pwm-fan node defined in the bananapi dtsi and odroid-hc4 DT.

Link: https://lore.kernel.org/r/20230706-topic-amlogic-upstream-dt-fixes-take3-v1-3-63ed070eeab2@linaro.org
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
15 months agoarm64: dts: amlogic: meson-g12-common: change aobus-pinctrl node name
Neil Armstrong [Thu, 6 Jul 2023 08:00:20 +0000 (10:00 +0200)]
arm64: dts: amlogic: meson-g12-common: change aobus-pinctrl node name

Bindings expects name to be "pinctrl", fix it.

Link: https://lore.kernel.org/r/20230706-topic-amlogic-upstream-dt-fixes-take3-v1-2-63ed070eeab2@linaro.org
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
15 months agoarm64: dts: amlogic: meson-g12b-odroid-n2: fix usb hub hog name
Neil Armstrong [Thu, 6 Jul 2023 08:00:19 +0000 (10:00 +0200)]
arm64: dts: amlogic: meson-g12b-odroid-n2: fix usb hub hog name

This fixes the following dtschema check error:
arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2-plus.dtb: pinctrl@40: bank@40: Unevaluated properties are not allowed ('hog-0' was unexpected)

Link: https://lore.kernel.org/r/20230706-topic-amlogic-upstream-dt-fixes-take3-v1-1-63ed070eeab2@linaro.org
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
15 months agoarm64: dts: amlogic: drop redundant status=okay in sound nodes
Krzysztof Kozlowski [Mon, 31 Jul 2023 09:36:15 +0000 (11:36 +0200)]
arm64: dts: amlogic: drop redundant status=okay in sound nodes

status=okay is by default.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20230731093615.148949-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
15 months agoarm64: dts: amlogic: meson-g12b-bananapi: switch to enable-gpios
Krzysztof Kozlowski [Tue, 25 Jul 2023 14:27:03 +0000 (16:27 +0200)]
arm64: dts: amlogic: meson-g12b-bananapi: switch to enable-gpios

The recommended name for enable GPIOs property in regulator-gpio is
enable-gpios.  This is also required by bindings:

  meson-g12b-bananapi-cm4-cm4io.dtb: regulator-vddio-c: Unevaluated properties are not allowed ('enable-gpio' was unexpected)

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20230725142703.157547-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
15 months agoarm64: dts: add support for C3 power domain controller
Xianwei Zhao [Fri, 7 Jul 2023 00:37:10 +0000 (08:37 +0800)]
arm64: dts: add support for C3 power domain controller

Enable power domain controller for Amlogic C3 SoC

Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20230707003710.2667989-5-xianwei.zhao@amlogic.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
15 months agoarm64: dts: Add gpio_intc node and pinctrl node for Amlogic C3 SoCs
Huqiang Qin [Thu, 20 Jul 2023 11:46:39 +0000 (19:46 +0800)]
arm64: dts: Add gpio_intc node and pinctrl node for Amlogic C3 SoCs

Add gpio interrupt controller device and pinctrl device.

Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
Reviewed-by: Dmitry Rokosov <ddrokosov@sberdevices.ru>
Link: https://lore.kernel.org/r/20230720114639.833436-1-huqiang.qin@amlogic.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
15 months agoarm64: dts: add board AN400
Xianwei Zhao [Thu, 6 Jul 2023 09:19:53 +0000 (17:19 +0800)]
arm64: dts: add board AN400

Add devicetrees support for Amlogic AN400  board based T7 SoC.

Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
Link: https://lore.kernel.org/r/20230706091954.3301224-3-xianwei.zhao@amlogic.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
15 months agodt-bindings: arm: amlogic: add board AN400
Xianwei Zhao [Thu, 6 Jul 2023 09:19:52 +0000 (17:19 +0800)]
dt-bindings: arm: amlogic: add board AN400

Add the board AN400 tree bindings based Amloigc T7 SoC.

Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230706091954.3301224-2-xianwei.zhao@amlogic.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
15 months agoarm64: dts: amlogic: minor whitespace cleanup around '='
Krzysztof Kozlowski [Sun, 2 Jul 2023 18:53:27 +0000 (20:53 +0200)]
arm64: dts: amlogic: minor whitespace cleanup around '='

Use space after '=' sign to match DTS coding style.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20230702185327.44625-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
15 months agoarm64: dts: amlogic-t7-a311d2-khadas-vim4: add initial device-tree
Lucas Tanure [Thu, 29 Jun 2023 07:34:19 +0000 (08:34 +0100)]
arm64: dts: amlogic-t7-a311d2-khadas-vim4: add initial device-tree

The Khadas VIM4 uses the Amlogic A311D2 SoC, based on the Amlogic T7 SoC
family, on a board with the same form factor as the VIM3 models.

- 8GB LPDDR4X 2016MHz
- 32GB eMMC 5.1 storage
- 32MB SPI flash
- 10/100/1000 Base-T Ethernet
- AP6275S Wireless (802.11 a/b/g/n/ac/ax, BT5.1)
- HDMI 2.1 video
- HDMI Input
- 1x USB 2.0 + 1x USB 3.0 ports
- 1x USB-C (power) with USB 2.0 OTG
- 3x LED's (1x red, 1x blue, 1x white)
- 3x buttons (power, function, reset)
- M2 socket with PCIe, USB, ADC & I2C
- 40pin GPIO Header
- 1x micro SD card slot

Signed-off-by: Lucas Tanure <tanure@linux.com>
Link: https://lore.kernel.org/r/20230629073419.207886-5-tanure@linux.com
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
15 months agodt-bindings: arm: amlogic: add Amlogic A311D2 bindings
Lucas Tanure [Thu, 29 Jun 2023 07:34:16 +0000 (08:34 +0100)]
dt-bindings: arm: amlogic: add Amlogic A311D2 bindings

Add bindings for the Khadas Vim4 board, using A311D2 Soc from Amlogic T7
family chip.

Signed-off-by: Lucas Tanure <tanure@linux.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230629073419.207886-2-tanure@linux.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
15 months agoarm: dts: ti: omap: Fix OPP table node names
Nishanth Menon [Mon, 24 Jul 2023 15:39:09 +0000 (10:39 -0500)]
arm: dts: ti: omap: Fix OPP table node names

Fix the opp table node names for opps to be compliant with bindings.

Signed-off-by: Nishanth Menon <nm@ti.com>
Message-ID: <20230724153911.1376830-4-nm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
15 months agoarm: dts: ti: omap: am5729-beagleboneai: Drop the OPP
Nishanth Menon [Mon, 24 Jul 2023 15:39:08 +0000 (10:39 -0500)]
arm: dts: ti: omap: am5729-beagleboneai: Drop the OPP

opp_slow is not defined in the table in dra7 or derivatives, drop the
definition.

Signed-off-by: Nishanth Menon <nm@ti.com>
Message-ID: <20230724153911.1376830-3-nm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
15 months agoarm: dts: ti: omap: omap36xx: Rename opp_supply nodename
Nishanth Menon [Mon, 24 Jul 2023 15:39:07 +0000 (10:39 -0500)]
arm: dts: ti: omap: omap36xx: Rename opp_supply nodename

Use opp-supply as the proper node name.

Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Dhruva Gole <d-gole@ti.com>
Message-ID: <20230724153911.1376830-2-nm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>