summaryrefslogtreecommitdiffstats
path: root/include/dt-bindings
Commit message (Collapse)AuthorAgeFilesLines
* clk: starfive-jh7100: Fix duplicate numbersGeert Uytterhoeven2021-06-251-2/+2
| | | | | | | | Fixes: 6f92e74e5b94d8e6 ("clk: add initial StarFive clock support") Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Tested-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20210624150931.891123-1-geert@linux-m68k.org Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* reset: add StarFive reset controller driverAhmad Fatoum2021-06-241-0/+126
| | | | | | | | | | | | | | | | The StarFive SoC has a single reset controller, which seems to control reset of all clocks and peripherals. It differs from the ones supported by the Linux reset-simple driver in that it has a dedicated status registers that needs to be polled to verify the reset has completed. Also special is that most resets (> 70) are synchronous. As the reset status poll would just time out without the clock, have the reset controller enable the clock as part of the reset. OS can decide later, which clocks to disable again. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20210619045055.779-24-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* clk: add initial StarFive clock supportAhmad Fatoum2021-06-241-0/+203
| | | | | | | | | | | | | | | | | | | | | | All clocks seem to share a common format: struct starfive_clk { u32 divisor : 24; /* LSB */ u32 mux : 6; u32 invert : 1; u32 enable : 1; /* MSB */ }; There is no documentation, what the acceptable divisor values are, but we could already register gates and muxes, do so for now until documentation is available. The bulk of this code has been machine-generated by parsing the macros in the vendor U-Boot <asm/arch-vic7100/clkgen_ctrl_macro.h>. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20210619045055.779-23-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MIPS: ls1b200: move ls1b-clk.h to include/dt-bindingsSascha Hauer2021-01-071-0/+21
| | | | | | | | files in dts/ are overwritten with the next dts update. Move file that was accidently committed there to a place where it doesn't get overwritten. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* reset: remove duplicate imx8mq-reset.h and use correct definesLucas Stach2020-03-231-64/+0
| | | | | | | | | | | | The defines in the Barebox copy of imx8mq-reset.h had a typo, which has been fixed in the upstream Linux version of this file. So depending on include ordering the reset driver using those defines would fail to compile. Use the typo fixed versions of the define in the driver and remove the duplicate include file, as we also have the proper upstream version now. Reported-by: Giorgio Dal Molin <giorgio.nicole@arcor.de> Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* include: Import dt-bindings/reset/imx8mq-reset.hAndrey Smirnov2019-02-111-0/+64
| | | | | | | | Import dt-bindings/reset/imx8mq-reset.h from Liunx kernel until that file trickles down into dts/include/. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: imx8mq: use upstream devicetreeLucas Stach2019-01-151-629/+0
| | | | | | | The basic DT is upstream now, so we can now reuse this in Barebox. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: Add i.MX8 supportSascha Hauer2018-06-081-0/+629
| | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> [andrew.smirnov@gmail.com: fix B0 chips to report IMX_CHIP_REV_2_0] Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* dt-bindings: Drop unused filesSascha Hauer2018-03-293-342/+0
| | | | | | | include/dt-bindings is not included in device tree builds anymore since 2014. Since then this directory is unused, so remove the files in it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MIPS: ath79: dts: sync clk stuff with linux v4.7-rc2Antony Pavlov2016-06-141-22/+0
| | | | | | | | | | | | | | | | | | | Please see these linux kernel ath79 commits: commit 1e6a3492e7bb12aa8ee26050ff6829c39ebaa152 Author: Antony Pavlov <antonynpavlov@gmail.com> Date: Thu Mar 17 06:34:17 2016 +0300 MIPS: dts: qca: introduce AR9331 devicetree commit 5ae5c452e3361612cd8182eb8bdfecf0ebf42288 Author: Antony Pavlov <antonynpavlov@gmail.com> Date: Thu Mar 17 06:34:18 2016 +0300 MIPS: ath79: update devicetree clock support for AR9331 Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/tegra'Sascha Hauer2014-05-052-0/+310
|\ | | | | | | | | | | | | | | Conflicts: arch/arm/dts/tegra20-colibri.dtsi arch/arm/dts/tegra20-paz00.dts arch/arm/dts/tegra20.dtsi drivers/clk/tegra/clk-periph.c
| * dt-bindings: add tegra30-car.hLucas Stach2014-04-231-0/+265
| | | | | | | | | | Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * dt-bindings: add pinctrl-tegra.hLucas Stach2014-04-071-0/+45
| | | | | | | | | | Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/rockchip'Sascha Hauer2014-05-051-0/+32
|\ \
| * | ARM: dts: add Rockchip devicetree filesBeniamino Galvani2014-04-291-0/+32
| |/ | | | | | | | | Signed-off-by: Beniamino Galvani <b.galvani@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* / dts: Use dt-bindings from kernelSascha Hauer2014-04-289-1087/+0
|/ | | | | | | | barebox used to have its own include/dt-bindings with files copied from the corresponding kernel files. Use upstream dt-bindings directly instead. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* clk: add Atheros AR933x driverAntony Pavlov2014-03-281-0/+22
| | | | | | Signed-off-by: Oleksij Rempel <linux@rempel-privat.de> Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/tegra'Sascha Hauer2014-02-033-0/+230
|\
| * dt-bindings: add Tegra CARLucas Stach2014-01-291-0/+158
| | | | | | | | | | Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * dt-bindings: add Tegra GPIOLucas Stach2014-01-291-0/+50
| | | | | | | | | | Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * dt-bindings: add ARM GICLucas Stach2014-01-292-0/+41
| | | | | | | | | | Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | dt-bindings: import input.hLucas Stach2014-01-231-0/+525
| | | | | | | | | | | | | | Straight copy from the Linux kernel. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: i.MX51: Sync DT files with kernelAlexander Shiyan2014-01-102-0/+222
|/ | | | | | | | This patch includes update i.MX51 template and porting some barebox DTS files to use new template. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* dt-bindings: Add omap/am33xx pinctrl header fileSascha Hauer2013-11-222-0/+95
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* dt-bindings: Add gpio header fileSascha Hauer2013-11-221-0/+15
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>