switch-l4t-atf/fdts
Andre Przywara d850169c9c feat(arm_fpga): query PL011 to learn system frequency
The Arm FPGAs run in mostly one clock domain, which is used for the CPU
cores, the generic timer, and also the UART baudrate base clock. This
single clock can have different rates, to compensate for different IP
complexity. So far most images used 10 MHz, but different rates start to
appear.

To avoid patching both the arch timer frequency and UART baud base fixed
clock in the DTB manually, we would like to set the clock rate
automatically. Fortunately the SCP firmware has the actual clock rate
hard coded, and already programs the PL011 UART baud divider register
with the correct value to achieve a 38400 bps baudrate.

So read the two PL011 baudrate divider values and re-calculate the
original base clock from there, to use as the arch timer frequency. If
the arch timer DT node contains a clock-frequency property, we use that
instead, to support overriding and disabling this autodetection.

Change-Id: I9857fbb418deb4644aeb2816f1102796f9bfd3bb
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
2021-11-04 15:58:34 +00:00
..
a5ds.dts fdts: a5ds: Fix for the system timer issue. 2020-04-17 21:12:15 +01:00
arm_fpga.dts feat(arm_fpga): query PL011 to learn system frequency 2021-11-04 15:58:34 +00:00
corstone700_fpga.dts fdts: corstone700: add NXP isp1763 node to device tree 2020-09-07 13:13:04 +01:00
corstone700_fvp.dts corstone700: splitting the platform support into FVP and FPGA 2020-07-06 16:55:43 +01:00
corstone700.dtsi corstone700: splitting the platform support into FVP and FPGA 2020-07-06 16:55:43 +01:00
cot_descriptors.dtsi dtsi: Update the nv-counter node in the device tree 2020-08-28 09:50:25 +00:00
fvp-base-gicv2-psci-aarch32.dts fix(dt-bindings): fix static checks 2021-04-27 13:16:56 +01:00
fvp-base-gicv2-psci.dts fix(dt-bindings): fix static checks 2021-04-27 13:16:56 +01:00
fvp-base-gicv3-psci-1t.dts FVP: Add support for passing platform's topology to DTS 2020-05-19 13:16:22 +00:00
fvp-base-gicv3-psci-aarch32-1t.dts FVP: Add support for passing platform's topology to DTS 2020-05-19 13:16:22 +00:00
fvp-base-gicv3-psci-aarch32-common.dtsi Plat FVP: Fix Generic Timer interrupt types 2021-04-21 14:38:15 +02:00
fvp-base-gicv3-psci-aarch32.dts FVP: Add support for passing platform's topology to DTS 2020-05-19 13:16:22 +00:00
fvp-base-gicv3-psci-common.dtsi refactor(plat/fvp): update FVP platform DTS for FEAT_RME 2021-10-05 11:56:00 -05:00
fvp-base-gicv3-psci-dynamiq-2t.dts FVP: Add support for passing platform's topology to DTS 2020-05-19 13:16:22 +00:00
fvp-base-gicv3-psci-dynamiq-common.dtsi FVP: Add support for passing platform's topology to DTS 2020-05-19 13:16:22 +00:00
fvp-base-gicv3-psci-dynamiq.dts FVP: Add support for passing platform's topology to DTS 2020-05-19 13:16:22 +00:00
fvp-base-gicv3-psci.dts FVP: Add support for passing platform's topology to DTS 2020-05-19 13:16:22 +00:00
fvp-defs-dynamiq.dtsi FVP: Add support for passing platform's topology to DTS 2020-05-19 13:16:22 +00:00
fvp-defs.dtsi FVP: Add support for passing platform's topology to DTS 2020-05-19 13:16:22 +00:00
fvp-foundation-gicv2-psci.dts fix(dt-bindings): fix static checks 2021-04-27 13:16:56 +01:00
fvp-foundation-gicv3-psci.dts fix(dt-bindings): fix static checks 2021-04-27 13:16:56 +01:00
fvp-foundation-motherboard.dtsi Remove dtc warnings 2018-04-24 08:30:01 +01:00
fvp-ve-Cortex-A5x1.dts Replace dts includes with C preprocessor syntax 2020-01-14 10:30:38 +01:00
fvp-ve-Cortex-A7x1.dts Replace dts includes with C preprocessor syntax 2020-01-14 10:30:38 +01:00
juno-ethosn.dtsi feat(drivers/arm/ethosn)!: multi-device support 2021-10-01 09:27:11 +01:00
juno.dts Add SiP service to configure Arm Ethos-N NPU 2021-04-20 15:42:18 +02:00
morello-fvp.dts fix(fdts/morello): fix scmi clock specifier to cluster mappings 2021-06-16 14:38:08 +01:00
morello.dtsi fdts: add device tree sources for morello platform 2020-09-28 19:33:24 +05:30
n1sdp-multi-chip.dts n1sdp: add support for remote chip pcie. 2020-09-16 22:01:00 +05:30
n1sdp-single-chip.dts fdts: Fix stdout-path in various platforms 2021-01-27 18:05:36 +00:00
n1sdp.dtsi fdts: n1sdp: DTS file for single-chip and multi-chip environment. 2020-07-30 18:44:54 +05:30
rtsm_ve-motherboard-aarch32.dtsi Remove dtc warnings 2018-04-24 08:30:01 +01:00
rtsm_ve-motherboard.dtsi Remove dtc warnings 2018-04-24 08:30:01 +01:00
stm32mp15-bl2.dtsi feat(fdts stm32mp1): delete nodes for non-used boot devices 2021-10-28 11:36:54 +02:00
stm32mp15-bl32.dtsi feat(fdts stm32mp1): align DT with latest kernel 2021-10-28 11:36:54 +02:00
stm32mp15-ddr3-1x4Gb-1066-binG.dtsi fix(fdts stm32mp1): use 'kHz' as kilohertz abbreviation 2021-10-28 11:36:54 +02:00
stm32mp15-ddr3-2x4Gb-1066-binG.dtsi fix(fdts stm32mp1): use 'kHz' as kilohertz abbreviation 2021-10-28 11:36:54 +02:00
stm32mp15-ddr.dtsi refactor(fdts stm32mp1): move STM32MP DDR node 2021-10-28 11:36:54 +02:00
stm32mp15-fw-config.dtsi feat(fdts): add firewall regions into STM32MP1 DT 2021-09-07 09:14:05 +02:00
stm32mp15-pinctrl.dtsi feat(fdts stm32mp1): align DT with latest kernel 2021-10-28 11:36:54 +02:00
stm32mp15xc.dtsi fdts: stm32mp1: realign device tree with kernel 2020-09-24 09:07:57 +02:00
stm32mp15xx-dkx.dtsi fix(fdts stm32mp1): set ETH clock on PLL4P on ST boards 2021-10-28 11:36:54 +02:00
stm32mp15xx-osd32.dtsi fdts: stm32mp1: add support for Linux Automation MC-1 board 2021-01-19 10:34:25 +01:00
stm32mp15xxaa-pinctrl.dtsi feat(fdts stm32mp1): align DT with latest kernel 2021-10-28 11:36:54 +02:00
stm32mp15xxab-pinctrl.dtsi feat(fdts stm32mp1): align DT with latest kernel 2021-10-28 11:36:54 +02:00
stm32mp15xxac-pinctrl.dtsi feat(fdts stm32mp1): align DT with latest kernel 2021-10-28 11:36:54 +02:00
stm32mp15xxad-pinctrl.dtsi feat(fdts stm32mp1): align DT with latest kernel 2021-10-28 11:36:54 +02:00
stm32mp151.dtsi refactor(fdts stm32mp1): move STM32MP DDR node 2021-10-28 11:36:54 +02:00
stm32mp153.dtsi fdts: stm32mp1: realign device tree with kernel 2020-09-24 09:07:57 +02:00
stm32mp157.dtsi fdts: stm32mp1: realign device tree with kernel 2020-09-24 09:07:57 +02:00
stm32mp157a-avenger96-fw-config.dts feat(fdts): add STM32MP1 fw-config DT files 2021-09-07 09:14:05 +02:00
stm32mp157a-avenger96.dts fdts: stm32mp1: realign device tree with kernel 2020-09-24 09:07:57 +02:00
stm32mp157a-dk1-fw-config.dts feat(fdts): add STM32MP1 fw-config DT files 2021-09-07 09:14:05 +02:00
stm32mp157a-dk1.dts fdts: stm32mp1: realign device tree with kernel 2020-09-24 09:07:57 +02:00
stm32mp157a-ed1-fw-config.dts feat(fdts): add STM32MP1 fw-config DT files 2021-09-07 09:14:05 +02:00
stm32mp157a-ev1-fw-config.dts feat(fdts): add STM32MP1 fw-config DT files 2021-09-07 09:14:05 +02:00
stm32mp157c-dk2-fw-config.dts feat(fdts): add STM32MP1 fw-config DT files 2021-09-07 09:14:05 +02:00
stm32mp157c-dk2.dts fdts: stm32mp1: realign device tree with kernel 2020-09-24 09:07:57 +02:00
stm32mp157c-ed1-fw-config.dts feat(fdts): add STM32MP1 fw-config DT files 2021-09-07 09:14:05 +02:00
stm32mp157c-ed1.dts fix(fdts stm32mp1): update PLL nodes for ED1/EV1 boards 2021-10-28 11:53:16 +02:00
stm32mp157c-ev1-fw-config.dts feat(fdts): add STM32MP1 fw-config DT files 2021-09-07 09:14:05 +02:00
stm32mp157c-ev1.dts feat(fdts stm32mp1): align DT with latest kernel 2021-10-28 11:36:54 +02:00
stm32mp157c-lxa-mc1-fw-config.dts feat(fdts): add STM32MP1 fw-config DT files 2021-09-07 09:14:05 +02:00
stm32mp157c-lxa-mc1.dts feat(fdts stm32mp1): align DT with latest kernel 2021-10-28 11:36:54 +02:00
stm32mp157c-odyssey-fw-config.dts feat(fdts): add STM32MP1 fw-config DT files 2021-09-07 09:14:05 +02:00
stm32mp157c-odyssey-som.dtsi fdts: stm32mp1: add support for the Seeed Odyssey SoM and board 2021-04-21 19:56:10 +02:00
stm32mp157c-odyssey.dts fdts: stm32mp1: add support for the Seeed Odyssey SoM and board 2021-04-21 19:56:10 +02:00
stm32mp157d-dk1-fw-config.dts feat(fdts): add STM32MP1 fw-config DT files 2021-09-07 09:14:05 +02:00
stm32mp157d-ed1-fw-config.dts feat(fdts): add STM32MP1 fw-config DT files 2021-09-07 09:14:05 +02:00
stm32mp157d-ev1-fw-config.dts feat(fdts): add STM32MP1 fw-config DT files 2021-09-07 09:14:05 +02:00
stm32mp157f-dk2-fw-config.dts feat(fdts): add STM32MP1 fw-config DT files 2021-09-07 09:14:05 +02:00
stm32mp157f-ed1-fw-config.dts feat(fdts): add STM32MP1 fw-config DT files 2021-09-07 09:14:05 +02:00
stm32mp157f-ev1-fw-config.dts feat(fdts): add STM32MP1 fw-config DT files 2021-09-07 09:14:05 +02:00
tc.dts feat(tc): enable MPMM 2021-10-26 12:15:43 +01:00