Commit Graph

25455 Commits

Author SHA1 Message Date
Krzysztof Kozlowski
e150315394 ARM: dts: vexpress: align LED node names with dtschema
The node names should be generic and DT schema expects certain pattern.

  vexpress-v2p-ca9.dtb: leds: 'user1', 'user2', 'user3', 'user4', 'user5', 'user6', 'user7', 'user8' do not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20221125144112.476817-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
2022-11-25 15:48:48 +00:00
Horatiu Vultur
eb93f1d7c9 ARM: dts: lan966x: Add otp support
Add OTP (one time programmable) support.
The both lan966x SocS (lan9662 and lan9668) have the same OTP IP.

Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20220916194946.2869510-1-horatiu.vultur@microchip.com
2022-11-25 11:11:50 +02:00
Eugen Hristev
3cf2291777 ARM: dts: at91: sama7g5ek: align power rails for sdmmc0/1
On this board SDMMC0 has a 1.8 signaled eMMC device powered at
3.3V. Hence, correctly describe the connected rails from the PMIC.

SDMMC1 is connected to a voltage switch that can change from
3.3V to 1.8V by a hardware controlled pin.
However SDMMC1 at the moment works only in 3.3V mode (default speed,
no UHS-I modes), thus connect the signaling to the 3.3V rail.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
[claudiu.beznea: reshaped a bit the commit message]
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20221124154610.246790-1-eugen.hristev@microchip.com
2022-11-25 10:33:17 +02:00
Lad Prabhakar
a9d88b6aa9 media: ARM: dts: imx6qdl-wandboard: Drop clock-names property
Now that the driver has been updated to drop fetching the clk reference by
name we no longer need the clock-names property in the ov5645 sensor node.

This is in preparation for removal for clock-names property from the DT
binding.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Acked-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2022-11-25 06:46:46 +00:00
Lad Prabhakar
f776916b6e media: ARM: dts: imx6qdl-pico: Drop clock-names property
Now that the driver has been updated to drop fetching the clk reference by
name we no longer need the clock-names property in the ov5645 sensor node.

This is in preparation for removal for clock-names property from the
DT binding.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Acked-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2022-11-25 06:46:26 +00:00
Arnd Bergmann
b10dbd6fbd Merge tag 'v6.2-rockchip-dts32-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into arm/fixes
Disabling of the unreliable arm-global-timer on earliest
Rockchip SoCs, due to its frequency being bound to the
changing cpu clock.

* tag 'v6.2-rockchip-dts32-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip:
  ARM: dts: rockchip: disable arm_global_timer on rk3066 and rk3188
2022-11-24 15:36:13 +01:00
Arnd Bergmann
706450b5c3 Merge tag 'v6.1-rockchip-dtsfixes1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into arm/fixes
Fixes to make the automated binding tools happier (node-names,
undocumented + unneeded properties) and fixes for non-working
devices on some boards.

* tag 'v6.1-rockchip-dtsfixes1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip:
  arm64: dts: rockchip: Fix Pine64 Quartz4-B PMIC interrupt
  ARM: dts: rockchip: rk3188: fix lcdc1-rgb24 node name
  arm64: dts: rockchip: fix ir-receiver node names
  ARM: dts: rockchip: fix ir-receiver node names
  arm64: dts: rockchip: fix adc-keys sub node names
  ARM: dts: rockchip: fix adc-keys sub node names
  arm: dts: rockchip: remove clock-frequency from rtc
  arm: dts: rockchip: fix node name for hym8563 rtc
  arm64: dts: rockchip: remove clock-frequency from rtc
  arm64: dts: rockchip: fix node name for hym8563 rtc
  arm64: dts: rockchip: lower rk3399-puma-haikou SD controller clock frequency
  arm64: dts: rockchip: keep I2S1 disabled for GPIO function on ROCK Pi 4 series
  arm64: dts: rockchip: fix quartz64-a bluetooth configuration
  arm64: dts: rockchip: add enable-strobe-pulldown to emmc phy on nanopi4
  arm64: dts: rockchip: remove i2c5 from rk3566-roc-pc
  arm64: dts: rockchip: Fix i2c3 pinctrl on rk3566-roc-pc
  arm64: dts: rockchip: Fix gmac failure of rgmii-id from rk3566-roc-pc
  arm64: dts: rockchip: Drop RK3399-Scarlet's repeated ec_ap_int_l definition

Link: https://lore.kernel.org/r/6274427.GXAFRqVoOG@phil
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-11-23 12:44:07 +01:00
Arnd Bergmann
62cc4a55fd Merge tag 'nuvoton-6.2-devicetree' of git://git.kernel.org/pub/scm/linux/kernel/git/joel/bmc into soc/dt
Nuvoton device tree updates for 6.2

 - Update fix-partition syntax

 - WPCM450 updates for SPI controller, clock, watchdog, serial

 - GPIO line names for Supermicro X9SCI-LN4F BMC

* tag 'nuvoton-6.2-devicetree' of git://git.kernel.org/pub/scm/linux/kernel/git/joel/bmc:
  ARM: dts: nuvoton: wpcm450: Add missing aliases for serial0/serial1
  ARM: dts: wpcm450: Enable watchdog by default
  ARM: dts: wpcm450: Add clock controller node
  ARM: dts: wpcm450-supermicro-x9sci-ln4f: Add SPI flash
  ARM: dts: wpcm450: Add FIU SPI controller node
  ARM: dts: nuvoton: Remove bogus unit addresses from fixed-partition nodes
  ARM: dts: nuvoton,wpcm450-supermicro-x9sci-ln4f: Add GPIO line names

Link: https://lore.kernel.org/r/CACPK8XffL5_L5D_ZGQid0r4h0wfTc+XBGUO1-0QW7ErPPrrvEQ@mail.gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-11-23 12:40:27 +01:00
Arnd Bergmann
375aab1018 Merge tag 'aspeed-6.2-devicetree' of git://git.kernel.org/pub/scm/linux/kernel/git/joel/bmc into soc/dt
ASPEED device tree updates for 6.2

 - New machines

  * IBM Bonnell AST2600 BMC, for a Power10 server
  * Delta AHE-50DC AST1250 BMC, for a 1U Open19 power shelf

 - Removed machines

  * IBM Mihawk AST2500 BMC, a Power9 server similar to Witherspoon

 - Fixes and updates for bletchley, mtjade/mtmitchell, rainier/everest

* tag 'aspeed-6.2-devicetree' of git://git.kernel.org/pub/scm/linux/kernel/git/joel/bmc:
  ARM: dts: aspeed: mtjade: Add SMPro nodes
  ARM: dts: aspeed: mtjade,mtmitchell: Add BMC SSIF nodes
  ARM: dts: aspeed: Add Delta AHE-50DC BMC
  dt-bindings: arm: aspeed: document Delta AHE-50DC BMC
  ARM: dts: aspeed: rainier: Fix pca9551 nodes
  ARM: dts: aspeed: p10bmc: Add occ-hwmon nodes
  ARM: dts: aspeed-g6: Add aliases for mdio nodes
  ARM: dts: aspeed: Remove Mihawk
  ARM: dts: aspeed: rainier,everest: Move reserved memory regions
  ARM: dts: aspeed: Add IBM Bonnell system BMC devicetree
  ARM: dts: aspeed: bletchley: Enable emmc and ehci1
  ARM: dts: aspeed: bletchley: Update and fix gpio-line-names
  ARM: dts: aspeed: bletchley: Update fusb302 nodes
  ARM: dts: aspeed: bletchley: Bind presence-sledX pins via gpio-keys
  ARM: dts: aspeed: bletchley: Disable GPIOV2 pull-down
  ARM: dts: aspeed: bletchley: Change LED sys_log_id to active low

Link: https://lore.kernel.org/r/CACPK8Xfsc8BaL_qAgV+3Rk-AFcQoDVfTpMzHvq_rR-UYqwpNNQ@mail.gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-11-23 12:29:32 +01:00
Arnd Bergmann
714aac5dcd Merge tag 'tegra-for-6.2-arm-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into soc/dt
ARM: tegra: Device tree changes for v6.2-rc1

This fixes various minor issues in device trees that are flagged by the
DT validation tools.

* tag 'tegra-for-6.2-arm-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
  ARM: tegra: Remove duplicate pin entry in pinmux
  ARM: tegra: Remove unused interrupt-parent properties
  ARM: tegra: Fix nvidia,io-reset properties
  ARM: tegra: Add missing power-supply for panels
  ARM: tegra: Fixup pinmux node names
  ARM: tegra: Use correct compatible string for ASUS TF101 panel

Link: https://lore.kernel.org/r/20221119012025.3968358-6-thierry.reding@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-11-23 12:28:47 +01:00
Arnd Bergmann
867531d95c Merge tag 'socfpga_dts_updates_for_v6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux into soc/dt
SoCFPGA dts updates for v6.2
- Use the "clk-phase-sd-hs" property for SDMMC
- Remove the "clk-phase" fom the sdmmc_clk that is no longer used
- Clean dtschema for mmc node
- Increase NAND partition for Arria10

* tag 'socfpga_dts_updates_for_v6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux:
  arm64: dts: socfpga: Add clk-phase-sd-hs property to the sdmmc node
  arm: dts: socfpga: Add clk-phase-sd-hs property to the sdmmc node
  arm: dts: socfpga: remove "clk-phase" in sdmmc_clk
  arm: dts: socfpga: align mmc node names with dtschema
  ARM: dts: socfpga: arria10: Increase NAND boot partition size

Link: https://lore.kernel.org/r/20221121163259.341974-1-dinguyen@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-11-22 23:00:06 +01:00
Tony Lindgren
4f15fc7c0f ARM: dts: Unify pwm-omap-dmtimer node names
There is no reg property for pwm-omap-dmtimer.

Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
Cc: Rob Herring <robh+dt@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2022-11-22 14:15:09 +02:00
Tony Lindgren
02871d2d4e ARM: dts: Update omap3 musb to probe with ti-sysc
We can drop the legacy booting for the related musb driver if we update
the omap3 SoCs variants to boot using ti-sysc interconnect target module.

devicetree@vger.kernel.org
Cc: H. Nikolaus Schaller <hns@goldelico.com>
Tested-by: Sicelo A. Mhlongo <absicsz@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2022-11-22 13:25:18 +02:00
Geert Uytterhoeven
9916bc8c29 ARM: dts: am335x: Fix TDA998x ports addressing
Fix addressing in the NXP TDA998x HDMI transmitters' subnodes:
  - Add missing #{address,size}-cells properties to ports capsule,
  - Add missing reg properties to port child nodes,
  - Drop bogus unit addresses from endpoint grandchildren nodes.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Message-Id: <e9ac64d29bc18b3b394fd9a2abbfeafacc624f98.1669047037.git.geert+renesas@glider.be>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2022-11-22 09:17:03 +02:00
Jonathan Neuschäfer
88cfe56ea6 ARM: dts: nuvoton: wpcm450: Add missing aliases for serial0/serial1
Without these, /chosen/stdout-path = "serial0:115200n8" does not work.

Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20221008130822.1227104-1-j.neuschaefer@gmx.net
Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-11-22 12:07:20 +10:30
Jonathan Neuschäfer
c3a636be6b ARM: dts: wpcm450: Enable watchdog by default
The watchdog timer is always usable, regardless of board design, so
there is no point in marking the watchdog device as disabled-by-default
in nuvoton-wpcm450.dtsi.

Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20220609214830.127003-1-j.neuschaefer@gmx.net
Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-11-22 12:07:20 +10:30
Jonathan Neuschäfer
362e8be2ec ARM: dts: wpcm450: Add clock controller node
This declares the clock controller and the necessary 48 Mhz reference
clock in the WPCM450 device. Switching devices over to the clock
controller is intentionally done in a separate patch to give time for
the clock controller driver to land.

Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Link: https://lore.kernel.org/r/20221104161850.2889894-5-j.neuschaefer@gmx.net
Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-11-22 12:07:20 +10:30
Jonathan Neuschäfer
4b90b148e0 ARM: dts: wpcm450-supermicro-x9sci-ln4f: Add SPI flash
Add the BMC firmware flash to the devicetree, so that it can be accessed
from Linux.

Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Link: https://lore.kernel.org/r/20221105185911.1547847-7-j.neuschaefer@gmx.net
Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-11-22 12:07:20 +10:30
Jonathan Neuschäfer
38abcb0d68 ARM: dts: wpcm450: Add FIU SPI controller node
Add the SPI controller (FIU, Flash Interface Unit) to the WPCM450
devicetree, according to the newly defined binding, as well as the SHM
(shared memory interface) syscon.

Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Link: https://lore.kernel.org/r/20221105185911.1547847-6-j.neuschaefer@gmx.net
Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-11-22 12:07:20 +10:30
Arnd Bergmann
abd6e3d6d8 Merge tag 'am335x-pcm-953-regulators' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into arm/fixes
Regulator changes for am335x-pcm-953

This is for deferred probe issue on am335x-pcm-953 sdhci-omap regulator.

* tag 'am335x-pcm-953-regulators' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
  ARM: dts: am335x-pcm-953: Define fixed regulators in root node

Link: https://lore.kernel.org/r/pull-1669036672-530717@atomide.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-11-21 15:58:38 +01:00
Arnd Bergmann
27269ac4f6 Merge tag 'stm32-dt-for-v6.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32 into soc/dt
STM32 DT for v6.2, round 1

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

- MPU:
  - ST boards:
    - Add MCP23017 IO expander support on stm32mp135f-dk board.
    - Add stm32g0 support for USB typeC on stm32mp135f-dk
    - Add USB (EHCI / OTG) on stm32mp135f-dk
    - Add ADC support on stm32mp135f-dk
    - Add USB2514B onboard hub on stm32mp157c-ev1

  - DH:
    - Fix severals Yaml DT validation issues

* tag 'stm32-dt-for-v6.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32: (28 commits)
  ARM: dts: stm32: Rename mdio0 to mdio on DHCOR Testbench board
  ARM: dts: stm32: add mcp23017 IO expander on I2C1 on stm32mp135f-dk
  ARM: dts: stm32: add mcp23017 pinctrl entry for stm32mp13
  ARM: dts: stm32: enable USB OTG in dual role mode on stm32mp135f-dk
  ARM: dts: stm32: add pins for stm32g0 typec controller on stm32mp13
  ARM: dts: stm32: enable USB Host EHCI on stm32mp135f-dk
  ARM: dts: stm32: enable USB HS phys on stm32mp135f-dk
  ARM: dts: stm32: add fixed regulators to support usb on stm32mp135f-dk
  ARM: dts: stm32: add USB OTG HS support on stm32mp131
  ARM: dts: stm32: add UBSH EHCI and OHCI support on stm32mp131
  ARM: dts: stm32: add USBPHYC and dual USB HS PHY support on stm32mp131
  ARM: dts: stm32: add PWR fixed regulators on stm32mp131
  ARM: dts: stm32: Fix AV96 WLAN regulator gpio property
  ARM: dts: stm32: add adc support on stm32mp135f-dk
  ARM: dts: stm32: add dummy vdd_adc regulator on stm32mp135f-dk
  ARM: dts: stm32: add adc pins muxing on stm32mp135f-dk
  ARM: dts: stm32: add adc support to stm32mp13
  ARM: dts: stm32: Drop MMCI interrupt-names
  ARM: dts: stm32: update vbus-supply of usbphyc_port0 on stm32mp157c-ev1
  ARM: dts: stm32: add support for USB2514B onboard hub on stm32mp157c-ev1
  ...

Link: https://lore.kernel.org/r/3235e5be-d89f-f76c-5e25-5d1210feb857@foss.st.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-11-21 15:02:32 +01:00
Arnd Bergmann
4be0308a51 Merge tag 'imx-dt-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into soc/dt
i.MX arm device tree update for 6.2:

- New device tree for Kobo Aura 2 E-Boot reader which is built on i.MX6SL
  SoC.
- Enable backlight and boost support for imx6sl-tolino-shine2hd.
- Enable CYTTSP5 touchscreen support for E60K02.
- Enable Silergy SY7636A EPD PMIC on imx7d-remarkable2 epaper tablet.
- Add watchdog property 'fsl,suspend-in-wait' for i.MX6UL Phytec Phycore
  SoM to avoid watchdog triggering in 'freeze' low power mode.
- Correct the polarity of AT86RF233 reset line for vf610-zii-dev-rev-c
  board.
- A bunch of Colibri device tree updates from Marcel Ziswiler and Philippe
  Schenker, correct USBH_PEN property, remove spurious debounce property,
  add USB dual-role switching, and some cosmetic change.
- Other small and random changes.

* tag 'imx-dt-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
  ARM: dts: colibri-imx6ull: Enable dual-role switching
  ARM: dts: imx: e60k02: Add touchscreen
  ARM: dts: imx6qdl-sabre: Add mmc aliases
  ARM: dts: imx6ul/ull: suspend i.MX6UL watchdog in wait mode
  ARM: dts: imx7d-remarkable2: Enable silergy,sy7636a
  ARM: dts: imx6sl-tolino-shine2hd: Add backlight boost
  ARM: dts: imx6sl-tolino-shine2hd: Add backlight
  ARM: dts: colibri-imx7: fix confusing naming
  ARM: dts: colibri-imx6ull: add -hog to gpio hogs
  ARM: dts: colibri-imx6ull: enable default peripherals
  ARM: dts: colibri-imx6ull: keep peripherals disabled
  ARM: dts: ls1021: correct indentation
  ARM: dts: vf610-zii-dev-rev-c: fix polarity of at86rf233 reset line
  ARM: dts: imx7-colibri: remove spurious debounce property
  ARM: dts: colibri-imx6: specify usbh_pen gpio being active-low
  ARM: dts: colibri-imx6: move vbus-supply to module level device tree
  ARM: dts: colibri-imx6: usb dual-role switching
  ARM: dts: imx: Add devicetree for Kobo Aura 2

Link: https://lore.kernel.org/r/20221119125733.32719-4-shawnguo@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-11-21 15:01:06 +01:00
Arnd Bergmann
cafd3d346a Merge tag 'imx-fixes-6.1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into arm/fixes
i.MX fixes for 6.1, part 3:

- Fix a small memory leak in mach-mxs code.
- Correct PCIe pad configuration for imx8mp-evk board.
- Fix ref/tcxo clock frequency property for imx6q-prti6q board.

* tag 'imx-fixes-6.1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
  ARM: dts: imx6q-prti6q: Fix ref/tcxo-clock-frequency properties
  arm64: dts: imx8mp-evk: correct pcie pad settings
  ARM: mxs: fix memory leak in mxs_machine_init()

Link: https://lore.kernel.org/r/20221119073812.GQ16229@T480
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-11-21 12:26:58 +01:00
Arnd Bergmann
37cd15e68f Merge tag 'at91-fixes-6.1-2' of https://git.kernel.org/pub/scm/linux/kernel/git/at91/linux into arm/fixes
AT91 fixes for 6.1 #2

It contains:
- fix UDC on at91sam9g20ek boards by adding vbus pin

* tag 'at91-fixes-6.1-2' of https://git.kernel.org/pub/scm/linux/kernel/git/at91/linux:
  ARM: dts: at91: sam9g20ek: enable udc vbus gpio pinctrl

Link: https://lore.kernel.org/r/20221118131205.301662-1-claudiu.beznea@microchip.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-11-21 12:25:47 +01:00
Arnd Bergmann
55aa08a5be Merge tag 'sunxi-dt-for-6.2-1' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux into soc/dt
- Added H616 USB node
- Enabled bluetooth on Pinebook A64
- Added f1c100s PWM, I2C, CIR and LRADC nodes
- Added USB HCI0 PHYs property to H3/H5

* tag 'sunxi-dt-for-6.2-1' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux:
  ARM: dts: sunxi: H3/H5: Add phys property to USB HCI0
  ARM: dts: suniv: f1c100s: add LRADC node
  ARM: dts: suniv: f1c100s: add CIR DT node
  dt-bindings: media: IR: Add F1C100s IR compatible string
  ARM: dts: suniv: f1c100s: add I2C DT nodes
  ARM: dts: suniv: f1c100s: add PWM node
  dt-bindings: pwm: allwinner,sun4i-a10: Add F1C100s compatible
  arm64: dts: allwinner: a64: enable Bluetooth on Pinebook
  arm64: dts: allwinner: h616: X96 Mate: Add USB nodes
  arm64: dts: allwinner: h616: OrangePi Zero 2: Add USB nodes
  arm64: dts: allwinner: h616: Add USB nodes
  dt-bindings: usb: Add H616 compatible string
  ARM: dts: axp22x/axp809: Add GPIO controller nodes
  ARM: dts: axp803/axp81x: Drop GPIO LDO pinctrl nodes

Link: https://lore.kernel.org/r/Y3fuAosinWbrj+Dy@jernej-laptop
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-11-21 10:59:07 +01:00
Arnd Bergmann
285fde40c1 Merge tag 'at91-dt-6.2-2' of https://git.kernel.org/pub/scm/linux/kernel/git/at91/linux into soc/dt
AT91 DT for 6.2 #2

It contains:
- one typo fix for a SAMA7G5 pin; the pin is not used anywhere in the
  device trees.

* tag 'at91-dt-6.2-2' of https://git.kernel.org/pub/scm/linux/kernel/git/at91/linux:
  ARM: dts: at91: sama7g5: fix signal name of pin PD8

Link: https://lore.kernel.org/r/20221118131214.301678-1-claudiu.beznea@microchip.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-11-21 10:56:43 +01:00
Kunihiko Hayashi
bdeaf22dfa ARM: dts: uniphier: Add Pro5 board support
Initial version of devicetree sources for Pro5 EPCORE and ProEX boards.
These boards have UART, I2C, USB, eMMC and PCI endpoint in common.

Pro5 EPCORE board is a kind of Pro5 reference board with PCIe endpoint
card edge connector.

ProEX board shares peripherals with Linux and other systems, and some
of these ports are available in Linux.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Link: https://lore.kernel.org/r/20221117163219.3673-3-hayashi.kunihiko@socionext.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-11-21 10:56:10 +01:00
Aakarsh Jain
84b63565f8 ARM: dts: exynos: Add new SoC specific compatible string for Exynos3250 SoC
Exynos3250 and Exynos5420 are using same compatible string for MFC codec
device but they have different clock hierarchy and complexity.  Add new
compatible string followed by mfc-v7 fallback for Exynos3250 SoC.

Suggested-by: Alim Akhtar <alim.akhtar@samsung.com>
Signed-off-by: Aakarsh Jain <aakarsh.jain@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Tommaso Merciai <tommaso.merciai@amarulasolutions.com>
Link: https://lore.kernel.org/r/20221114115024.69591-4-aakarsh.jain@samsung.com
Link: https://lore.kernel.org/r/20221116093010.18515-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-11-21 10:53:12 +01:00
Jonathan Neuschäfer
ea3ce4cf07 ARM: dts: nuvoton: Remove bogus unit addresses from fixed-partition nodes
The unit addresses do not correspond to the nodes' reg properties,
because they don't have any.

Fixes: e42b650f82 ("ARM: dts: nuvoton: Add new device nodes to NPCM750 EVB")
Fixes: ee33e2fb3d ("ARM: dts: nuvoton: Add Quanta GBS BMC Device Tree")
Fixes: 59f5abe09f ("ARM: dts: nuvoton: Add Quanta GSJ BMC")
Fixes: 14579c76f5 ("ARM: dts: nuvoton: Add Fii Kudo system")
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20221031221553.163273-1-j.neuschaefer@gmx.net
Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-11-20 20:49:09 +10:30
Jonathan Neuschäfer
62d127eeac ARM: dts: nuvoton,wpcm450-supermicro-x9sci-ln4f: Add GPIO line names
To make gpioinfo output more useful and enable gpiofind usage, add line
names for GPIOs where the function is known.

This patch follows the naming convention defined for OpenBMC, as much as
possible:

  https://github.com/openbmc/docs/blob/master/designs/device-tree-gpio-naming.md

Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Link: https://lore.kernel.org/r/20221101102916.440526-1-j.neuschaefer@gmx.net
Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-11-20 20:49:09 +10:30
Quan Nguyen
3973fc0f9f ARM: dts: aspeed: mtjade: Add SMPro nodes
Add SMPro nodes to Mt. Jade BMC.

Signed-off-by: Quan Nguyen <quan@os.amperecomputing.com>
Link: https://lore.kernel.org/r/20221118065109.2339066-1-quan@os.amperecomputing.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-11-20 20:47:32 +10:30
Quan Nguyen
c1b175dbfc ARM: dts: aspeed: mtjade,mtmitchell: Add BMC SSIF nodes
Add BMC SSIF node to support IPMI in-band communication.

Signed-off-by: Quan Nguyen <quan@os.amperecomputing.com>
Link: https://lore.kernel.org/r/20221024081115.3320584-1-quan@os.amperecomputing.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-11-20 20:47:31 +10:30
Zev Weiss
f7f0518ba8 ARM: dts: aspeed: Add Delta AHE-50DC BMC
This is a 1U Open19 power shelf with six PSUs and 50 12VDC outputs via
LM25066 efuses.  It's managed by a pair of AST1250 BMCs in a redundant
active/active configuration using a PCA9541 on each I2C bus to
arbitrate access between the two.

Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
Link: https://lore.kernel.org/r/20221108001551.18175-3-zev@bewilderbeest.net
Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-11-20 20:47:31 +10:30
Santosh Puranik
9b4a78d6ed ARM: dts: aspeed: rainier: Fix pca9551 nodes
The pca9551 compatible LED drivers are under the pca9546 mux
on Rainier pass > 1. On pass 1, they are directly connected to
the aspeed i2c.

Signed-off-by: Santosh Puranik <santosh.puranik@in.ibm.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20221102223554.1738642-1-joel@jms.id.au
2022-11-20 20:47:31 +10:30
Eddie James
943aaf336e ARM: dts: aspeed: p10bmc: Add occ-hwmon nodes
Add the occ-hwmon nodes in order to specify that the occ-hwmon driver
should not poll the OCC during initialization.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Link: https://lore.kernel.org/r/20221101213212.643472-1-eajames@linux.ibm.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-11-20 20:47:31 +10:30
Potin Lai
2fb4955ac2 ARM: dts: aspeed-g6: Add aliases for mdio nodes
Add aliases for mdio nodes so that we can use name to lookup the
bus address of Aspeed SOC.

For example:
root@bletchley:~# cat /sys/firmware/devicetree/base/aliases/mdio0
/ahb/mdio@1e650000
root@bletchley:~# cat /sys/firmware/devicetree/base/aliases/mdio1
/ahb/mdio@1e650008
root@bletchley:~# cat /sys/firmware/devicetree/base/aliases/mdio2
/ahb/mdio@1e650010
root@bletchley:~# cat /sys/firmware/devicetree/base/aliases/mdio3
/ahb/mdio@1e650018

Signed-off-by: Potin Lai <potin.lai.pt@gmail.com>
Link: https://lore.kernel.org/r/20221025055046.1704920-1-potin.lai.pt@gmail.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-11-20 20:47:31 +10:30
Joel Stanley
fe87f88eaf ARM: dts: aspeed: Remove Mihawk
The platform has been removed from OpenBMC as it is unmaintained.

Link: https://lore.kernel.org/r/20221020224420.635938-1-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-11-20 20:47:31 +10:30
Adriana Kobylak
e184d42a6e ARM: dts: aspeed: rainier,everest: Move reserved memory regions
Move the reserved regions to account for a decrease in DRAM when ECC is
enabled. ECC takes 1/9th of memory.

Running on HW with ECC off, u-boot prints:
DRAM:  already initialized, 1008 MiB (capacity:1024 MiB, VGA:16 MiB, ECC:off)

And with ECC on, u-boot prints:
DRAM:  already initialized, 896 MiB (capacity:1024 MiB, VGA:16 MiB, ECC:on, ECC size:896 MiB)

This implies that MCR54 is configured for ECC to be bounded at the
bottom of a 16MiB VGA memory region:

1024MiB - 16MiB (VGA) = 1008MiB
1008MiB / 9 (for ECC) = 112MiB
1008MiB - 112MiB = 896MiB (available DRAM)

The flash_memory region currently starts at offset 896MiB:
0xb8000000 (flash_memory offset) - 0x80000000 (base memory address) = 0x38000000 = 896MiB

This is the end of the available DRAM with ECC enabled and therefore it
needs to be moved.

Since the flash_memory is 64MiB in size and needs to be 64MiB aligned,
it can just be moved up by 64MiB and would sit right at the end of the
available DRAM buffer.

The ramoops region currently follows the flash_memory, but it can be
moved to sit above flash_memory which would minimize the address-space
fragmentation.

Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20220916195535.1020185-1-anoo@linux.ibm.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-11-20 20:47:31 +10:30
Eddie James
65b697e5de ARM: dts: aspeed: Add IBM Bonnell system BMC devicetree
Add a devicetree for the new Bonnell system.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Reviewed-by: Jim Wright <wrightj@linux.ibm.com>
Link: https://lore.kernel.org/r/20220818202422.741275-1-eajames@linux.ibm.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-11-20 20:47:31 +10:30
Potin Lai
7ee94e1869 ARM: dts: aspeed: bletchley: Enable emmc and ehci1
Enable both emmc-controller and emmc nodes for storage soultion on
bletchley, and enable ehci1 node as second storage plan.

Signed-off-by: Potin Lai <potin.lai.pt@gmail.com>
Reviewed-by: Patrick Williams <patrick@stwcx.xyz>
Link: https://lore.kernel.org/r/20220929013130.1916525-3-potin.lai.pt@gmail.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-11-20 20:46:46 +10:30
Potin Lai
b837a18271 ARM: dts: aspeed: bletchley: Update and fix gpio-line-names
Update new GPIOM7 line name, and fixed typo of GPION6 line name

New GPIO:
- GPIOM7: USB_DEBUG_PWR_BTN_N

Fixed GPIO:
- GPION6: LED_POSTCODE_5 --> LED_POSTCODE_6

Signed-off-by: Potin Lai <potin.lai.pt@gmail.com>
Reviewed-by: Patrick Williams <patrick@stwcx.xyz>
Link: https://lore.kernel.org/r/20220929013130.1916525-2-potin.lai.pt@gmail.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-11-20 20:46:42 +10:30
Potin Lai
7057242b3f ARM: dts: aspeed: bletchley: Update fusb302 nodes
1. Add interrupt pin of fusb302 on each sled.
2. Add vbus-supply property in each fusb302 node.
3. Fix BMC power-role at source and data-role at host.
4. Disable PD to avoid "HARD Reset" due to incompatible PD ver.

Signed-off-by: Potin Lai <potin.lai.pt@gmail.com>
Reviewed-by: Patrick Williams <patrick@stwcx.xyz>
Link: https://lore.kernel.org/r/20220613095150.21917-5-potin.lai.pt@gmail.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-11-20 20:46:38 +10:30
Potin Lai
7d5e4318ea ARM: dts: aspeed: bletchley: Bind presence-sledX pins via gpio-keys
Bind presence-sledX pins via gpio-keys driver to monitor and export
GPIO pin values on DBUS using phosphor-gpio-presence service.

Signed-off-by: Potin Lai <potin.lai.pt@gmail.com>
Reviewed-by: Patrick Williams <patrick@stwcx.xyz>
Link: https://lore.kernel.org/r/20220613095150.21917-4-potin.lai.pt@gmail.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-11-20 20:46:35 +10:30
Potin Lai
9f1cff4314 ARM: dts: aspeed: bletchley: Disable GPIOV2 pull-down
The external pull-up cannot drive GPIOV2, so disable GPIOV2 internal
pull-down resistor by the request form HW team.

Signed-off-by: Potin Lai <potin.lai.pt@gmail.com>
Reviewed-by: Patrick Williams <patrick@stwcx.xyz>
Link: https://lore.kernel.org/r/20220613095150.21917-3-potin.lai.pt@gmail.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-11-20 20:46:31 +10:30
Potin Lai
1bc111b69a ARM: dts: aspeed: bletchley: Change LED sys_log_id to active low
change LED sys_log_id to active low base on DVT schematic.

Signed-off-by: Potin Lai <potin.lai.pt@gmail.com>
Reviewed-by: Patrick Williams <patrick@stwcx.xyz>
Link: https://lore.kernel.org/r/20220613095150.21917-2-potin.lai.pt@gmail.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-11-20 20:46:27 +10:30
Fabio Estevam
e68be7b39f ARM: dts: imx6q-prti6q: Fix ref/tcxo-clock-frequency properties
make dtbs_check gives the following errors:

ref-clock-frequency: size (9) error for type uint32
tcxo-clock-frequency: size (9) error for type uint32

Fix it by passing the frequencies inside < > as documented in
Documentation/devicetree/bindings/net/wireless/ti,wlcore.yaml.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Fixes: 0d446a5055 ("ARM: dts: add Protonic PRTI6Q board")
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2022-11-19 11:20:15 +08:00
Philippe Schenker
bd5880e109 ARM: dts: colibri-imx6ull: Enable dual-role switching
The Colibri standard provides a GPIO called USBC_DET to switch from
USB Host to USB Device and back. Make use of this GPIO by adding it
with usb-connector framework.

Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2022-11-19 09:04:09 +08:00
Dinh Nguyen
3b500ff37c arm: dts: socfpga: Add clk-phase-sd-hs property to the sdmmc node
The sdmmc controller's CIU(Card Interface Unit) clock's phase can be
adjusted through the register in the system manager. Add the binding
"altr,sysmgr-syscon" to the SDMMC node for the driver to access the
system manager. Add the "clk-phase-sd-hs" property in the SDMMC node to
designate the smpsel and drvsel properties for the CIU clock.

Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
2022-11-18 11:13:49 -06:00
Dinh Nguyen
63fb606a59 arm: dts: socfpga: remove "clk-phase" in sdmmc_clk
Now that the SDMMC driver can use the "clk-phase-sd-hs" binding, we don't
need the clk-phase in the sdmmc_clk anymore.

Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
2022-11-18 11:13:48 -06:00
Dinh Nguyen
2dbf5494ce arm: dts: socfpga: align mmc node names with dtschema
dwmmc0@ff704000: $nodename:0: 'dwmmc0@ff704000' does not match '^mmc(@.*)?$'

Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
2022-11-18 11:13:11 -06:00