linux_dsm_epyc7002/arch/arm64/boot/dts
Douglas Anderson 897cf34e73 arm64: dts: qcom: sdm845: Add I2C, SPI, and UART9 nodes
This adds nodes to SDM845-dtsi for all the I2C ports, all the SPI
ports, and UART9.  Note that I2C / SPI / UART are a bit strange on
sdm845 because each "serial engine" has 4 pins associated with it and
depending on which firmware has been loaded into the serial engine
(loaded by the BIOS) the serial engine can behave like an I2C port, a
SPI port, or a UART.  As per the landed bindings that means that we
need to create one node for each possible mode that the port could be
in.  With 16 serial engines that means 16 x 3 = 48 nodes.

We get away with only creating 33 nodes for now because it seems very
likely that SDM845-based boards will actually all use the same UART
(UART 9) for debug purposes.  While another UART could be used for
something like Bluetooth communication we can cross that path when we
come to it.  Some documentation that I saw implied that using a UART
for "high speed" communications actually needs yet another different
serial engine firmware anyway.

Note that quick measurements adding all these nodes adds <10k of extra
space per dtb that they're included with.  If this becomes a problem
we may need to think of a different way to structure this so that
boards only get the nodes they need (or figure out how to get dtc to
strip 'disabled' nodes).  For now it seems OK.

These nodes were programmatically generated with a fairly dumb python
script.  See http://crosreview.com/1091631 for the source.

NOTE: at the moment SPI chip select doesn't appear to work in my tests
with the latest posted SPI driver.  All testing of SPI with this patch
has been done by hacking SPI to GPIO chip select.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
2018-07-21 13:29:36 -05:00
..
actions arm64: dts: actions: Add S700 and CubieBoard7 2017-12-22 10:52:54 +01:00
al kbuild: handle dtb-y and CONFIG_OF_ALL_DTBS natively in Makefile.lib 2017-11-09 17:03:07 -06:00
allwinner Allwinner arm64 changes for 4.18 2018-05-25 14:02:46 -07:00
altera arm64: dts: stratix10: add sdram ecc 2018-05-08 08:11:29 -05:00
amd DeviceTree for 4.15: 2017-11-14 18:25:40 -08:00
amlogic ARM64: dts: meson: fix clock source of the pclk for UART_AO 2018-05-23 11:31:54 -07:00
apm ARM: Device-tree updates for 4.15 2017-11-16 15:48:26 -08:00
arm ARMv8 Juno/Vexpress updates/cleanups for v4.18 2018-05-15 13:48:01 -07:00
broadcom This pull request contains Broadcom ARM-based SoC Device Tree changes 2018-05-14 13:26:22 -07:00
cavium arm64: dts: cavium: fix PCI bus dtc warnings 2018-02-22 17:36:07 +01:00
exynos ARM: Device-tree updates 2018-06-11 17:57:38 -07:00
freescale arm64: dts: fsl-ls1012a: Fix DTC aliases warnings 2018-05-15 14:43:58 +08:00
hisilicon ARM: Device-tree updates 2018-06-11 17:57:38 -07:00
lg DeviceTree for 4.15: 2017-11-14 18:25:40 -08:00
marvell ARM: Device-tree updates 2018-06-11 17:57:38 -07:00
mediatek arm64: dts: mt7622: add audio related device nodes 2018-05-11 18:42:20 +02:00
nvidia arm64: tegra: Make BCM89610 PHY interrupt as active low 2018-05-03 11:48:16 +02:00
qcom arm64: dts: qcom: sdm845: Add I2C, SPI, and UART9 nodes 2018-07-21 13:29:36 -05:00
realtek ARM: Device-tree updates for 4.15 2017-11-16 15:48:26 -08:00
renesas arm64: dts: renesas: salvator-common: Add ADV7482 support 2018-05-18 11:52:03 +02:00
rockchip arm64: dts: rockchip: enable hdmi on rk3399-puma-haikou 2018-05-03 14:38:20 +02:00
socionext ARM: Device-tree updates 2018-06-11 17:57:38 -07:00
sprd arm64: dts: sprd: whale2: Add the rtc enable clock for watchdog 2018-05-25 15:29:39 -07:00
synaptics arm64: dts: move berlin SoC files from marvell dir to synaptics dir 2018-05-24 13:25:45 +08:00
xilinx arm64: zynqmp: Add support for Xilinx zc1751 2018-03-08 08:06:53 +01:00
zte kbuild: handle dtb-y and CONFIG_OF_ALL_DTBS natively in Makefile.lib 2017-11-09 17:03:07 -06:00
Makefile arm64: dts: move berlin SoC files from marvell dir to synaptics dir 2018-05-24 13:25:45 +08:00