summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/mt2701.dtsi
AgeCommit message (Collapse)AuthorFilesLines
2023-06-21ARM: dts: Move .dts files to vendor sub-directoriesRob Herring1-756/+0
The arm dts directory has grown to 1559 boards which makes it a bit unwieldy to maintain and use. Past attempts stalled out due to plans to move .dts files out of the kernel tree. Doing that is no longer planned (any time soon at least), so let's go ahead and group .dts files by vendors. This move aligns arm with arm64 .dts file structure. There's no change to dtbs_install as the flat structure is maintained on install. The naming of vendor directories is roughly in this order of preference: - Matching original and current SoC vendor prefix/name (e.g. ti, qcom) - Current vendor prefix/name if still actively sold (SoCs which have been aquired) (e.g. nxp/imx) - Existing platform name for older platforms not sold/maintained by any company (e.g. gemini, nspire) The whole move was scripted with the exception of MAINTAINERS and a few makefile fixups. Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Acked-by: Michal Simek <michal.simek@amd.com> #Xilinx Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Neil Armstrong <neil.armstrong@linaro.org> Acked-by: Paul Barker <paul.barker@sancloud.com> Acked-by: Tony Lindgren <tony@atomide.com> Acked-by: Gregory CLEMENT <gregory.clement@bootlin.com> Acked-by: Heiko Stuebner <heiko@sntech.de> Acked-by: Wei Xu <xuwei5@hisilicon.com> #hisilicon Acked-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Nick Hawkins <nick.hawkins@hpe.com> Acked-by: Baruch Siach <baruch@tkos.co.il> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Acked-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com> Acked-by: Peter Rosin <peda@axentia.se> Acked-by: Jesper Nilsson <jesper.nilsson@axis.com> Acked-by: Sudeep Holla <sudeep.holla@arm.com> Acked-by: Florian Fainelli <f.fainelli@gmail.com> #broadcom Acked-by: Manivannan Sadhasivam <mani@kernel.org> Reviewed-by: Jisheng Zhang <jszhang@kernel.org> Acked-by: Patrice Chotard <patrice.chotard@foss.st.com> Acked-by: Romain Perier <romain.perier@gmail.com> Acked-by: Alexandre TORGUE <alexandre.torgue@st.com> Acked-by: Shawn Guo <shawnguo@kernel.org> Acked-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com> Acked-by: Enric Balletbo i Serra <eballetbo@gmail.com> Signed-off-by: Rob Herring <robh@kernel.org>
2023-03-06arm: dts: mediatek: Fix existing NAND controller node nameXiangsheng Hou1-1/+1
Change the existing node name in order to match NAND controller DT bindings. Signed-off-by: Xiangsheng Hou <xiangsheng.hou@mediatek.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://lore.kernel.org/r/20230201021500.26769-4-xiangsheng.hou@mediatek.com Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2023-01-09ARM: dts: mediatek: Remove pins-are-numbered propertyBernhard Rosenkränzer1-1/+0
Remove the unnecessary pins-are-numbered property from Mediatek ARM DeviceTrees Signed-off-by: Bernhard Rosenkränzer <bero@baylibre.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Acked-by: Kevin Hilman <khilman@baylibre.com> Link: https://lore.kernel.org/r/20221129023401.278780-7-bero@baylibre.com Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2022-06-17ARM: dts: mediatek: adjust whitespace around '='Krzysztof Kozlowski1-4/+4
Fix whitespace coding style: use single space instead of tabs or multiple spaces around '=' sign in property assignment. No functional changes (same DTB). Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20220526204402.832393-2-krzysztof.kozlowski@linaro.org Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2022-04-22arm: dts: mediatek: Get rid of mediatek, larb for MM nodesYong Wu1-2/+0
After adding device_link between the IOMMU consumer and smi, the mediatek,larb is unnecessary now. CC: Matthias Brugger <matthias.bgg@gmail.com> Signed-off-by: Yong Wu <yong.wu@mediatek.com> Signed-off-by: Allen-KH Cheng <allen-kh.cheng@mediatek.com> Reviewed-by: Evan Green <evgreen@chromium.org> Tested-by: Frank Wunderlich <frank-w@public-files.de> # BPI-R2/MT7623 Link: https://lore.kernel.org/r/20220421035111.7267-2-allen-kh.cheng@mediatek.com Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2021-03-29arm: dts: mt2701: harmonize node names and compatiblesChunfeng Yun1-8/+11
This is used to fix dtbs_check warning Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> Link: https://lore.kernel.org/r/20210316092232.9806-13-chunfeng.yun@mediatek.com Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2020-08-19arm: dts: mt2701: Add jpeg enc device tree nodeXia Jiang1-0/+13
Add jpeg enc device tree node. Signed-off-by: Xia Jiang <xia.jiang@mediatek.com> Reviewed-by: Tomasz Figa <tfiga@chromium.org> Link: https://lore.kernel.org/r/20200814071202.25067-27-xia.jiang@mediatek.com Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2020-05-16arm: dts: mt2701: Add usb2 device nodesMin Guo1-0/+33
Add musb nodes and usb2 phy nodes for MT2701 Signed-off-by: Min Guo <min.guo@mediatek.com> Link: https://lore.kernel.org/r/20191211015446.11477-3-min.guo@mediatek.com Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2020-02-17ARM: dts: mediatek: rename scpsys nodes to power-controllerMatthias Brugger1-1/+1
The nodes with name scpsys actually implement a power-controller. Rename the nodes to match the bindings description. Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2019-01-30ARM: dts: Kill off skeleton{64}.dtsiRob Herring1-1/+2
Remove the usage of skeleton.dtsi in the remaining dts files. It was deprecated since commit 9c0da3cc61f1 ("ARM: dts: explicitly mark skeleton.dtsi as deprecated"). This will make adding a unit-address to memory nodes easier. The main tricky part to removing skeleton.dtsi is we could end up with no /memory node at all when a bootloader depends on one being present. I hacked up dtc to check for this condition. Acked-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Acked-by: Neil Armstrong <narmstrong@baylibre.com> Acked-by: Antoine Tenart <antoine.tenart@bootlin.com> Acked-by: Alexandre TORGUE <alexandre.torgue@st.com> Acked-by: Robert Jarzmik <robert.jarzmik@free.fr> Acked-by: Vladimir Zapolskiy <vz@mleia.com> Tested-by: Kevin Hilman <khilman@baylibre.com> Reviewed-by: Kevin Hilman <khilman@baylibre.com> Tested-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Rob Herring <robh@kernel.org> Reviewed-by: Gregory CLEMENT <gregory.clement@bootlin.com> Tested-by: Gregory CLEMENT <gregory.clement@bootlin.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2018-05-02arm: dts: mediatek: converted to using SPDX identifiersSean Wang1-8/+1
Convert boilerplate license statement into proper SPDX identifier style. Signed-off-by: Sean Wang <sean.wang@mediatek.com> Cc: Philippe Ombredanne <pombredanne@nexb.com> Cc: Rob Herring <robh+dt@kernel.org> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2018-04-17arm: dts: mediatek: modify audio related nodes for both MT2701 and MT7623Ryder Lee1-98/+90
Modify audio related nodes to reflect the actual usage in binding documents. Signed-off-by: Ryder Lee <ryder.lee@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2017-12-14arm: dts: mt2701: Add reset-cellsMatthias Brugger1-0/+2
The hifsys and ethsys needs the definition of the reset-cells property. Fix this. Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2017-10-19arm: dts: mediatek: update audio node for mt2701 and mt7623Ryder Lee1-1/+3
This patch adds interrupt-names property in audio node so that binding can be agnostic of the IRQ order. Signed-off-by: Ryder Lee <ryder.lee@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2017-10-19arm: dts: mt2701: add pwm backlight device nodeWeiqing Kong1-0/+9
This patch adds the device node for MT2701 pwm backlight. Signed-off-by: Weiqing Kong <weiqing.kong@mediatek.com> Signed-off-by: Erin Lo <erin.lo@mediatek.com> Signed-off-by: Ryder Lee <ryder.lee@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2017-08-04arm: dts: mediatek: add larbid property for larbHonghui Zhang1-0/+3
Add mediatek's hardware id information for smi larb. Signed-off-by: Honghui Zhang <honghui.zhang@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2017-08-01arm: dts: mt2701: Add usb3 device nodesChunfeng Yun1-0/+79
Add xhci nodes and usb3 phy nodes for MT2701 Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> Signed-off-by: Erin Lo <erin.lo@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2017-08-01arm: dts: mt2701: Add ethernet device nodeSean Wang1-0/+24
Add ethernet device node for MT2701 Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Erin Lo <erin.lo@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2017-06-07arm: dts: mediatek: Add audio driver node for MT2701Garlic Tseng1-0/+98
Add audio driver node for mt2701 Signed-off-by: Garlic Tseng <garlic.tseng@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2017-05-31arm: dts: Add Mediatek MT2701 i2c device nodeJun Gao1-0/+42
Add MT2701 i2c device node. Signed-off-by: Jun Gao <jun.gao@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2017-05-31arm: dts: mt2701: Add node for Mediatek JPEG DecoderRick Chang1-0/+15
Signed-off-by: Rick Chang <rick.chang@mediatek.com> Signed-off-by: Minghsiu Tsai <minghsiu.tsai@mediatek.com> [mb: include mt2701-larb-port.h to fix build errors] Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2017-05-15arm: dts: mt2701: add nor flash nodeGuochun Mao1-0/+12
Add Mediatek nor flash node. Signed-off-by: Guochun Mao <guochun.mao@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2017-05-15ARM: dts: mt2701: Add mtk-cirq node for mt2701Youlin Pei1-1/+11
This commit add mtk-cirq node to mt2701 dtsi. Signed-off-by: Youlin Pei <youlin.pei@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2017-02-07ARM: DTS: Fix register map for virt-capable GICMarc Zyngier1-1/+1
Since everybody copied my own mistake from the DT binding example, let's address all the offenders in one swift go. Most of them got the CPU interface size wrong (4kB, while it should be 8kB), except for both keystone platforms which got the control interface wrong (4kB instead of 8kB). In a few cases where I knew for sure what implementation was used, I've added the "arm,gic-400" compatible string. I'm 99% sure that this is what everyone is using, but short of having the TRM for all the other SoCs, I've left them alone. Acked-by: Shawn Guo <shawnguo@kernel.org> Acked-by: Tony Lindgren <tony@atomide.com> Acked-by: Santosh Shilimkar <ssantosh@kernel.org> Acked-by: Krzysztof Kozlowski <krzk@kernel.org> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Antoine Tenart <antoine.tenart@free-electrons.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Matthias Brugger <matthias.bgg@gmail.com> Acked-by: Heiko Stuebner <heiko@sntech.de> Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2017-01-24arm: dts: mt2701: Add thermal device node.Dawei Chien1-0/+43
Add thermal controller device nodes for MT2701. Signed-off-by: Dawei Chien <dawei.chien@mediatek.com> Signed-off-by: Erin Lo <erin.lo@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2017-01-13arm: dts: mt2701: Add auxadc device node.Zhiyong Tao1-0/+9
Add auxadc device node for MT2701. Signed-off-by: Zhiyong Tao <zhiyong.tao@mediatek.com> Signed-off-by: Erin Lo <erin.lo@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2017-01-13arm: dts: mt2701: Add nand device nodeXiaolei Li1-0/+22
Add mt2701 nand device node, include nfi and bch ecc. Signed-off-by: Xiaolei Li <xiaolei.li@mediatek.com> Signed-off-by: Erin Lo <erin.lo@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2017-01-13arm: dts: mt2701: Add spi device nodeLeilk Liu1-0/+39
Add spi device node for MT2701. Signed-off-by: Leilk Liu <leilk.liu@mediatek.com> Signed-off-by: Erin Lo <erin.lo@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2017-01-13ARM: dts: mt2701: add iommu/smi dtsi node for mt2701Honghui Zhang1-0/+50
Add the dtsi node of iommu and smi for mt2701. Signed-off-by: Honghui Zhang <honghui.zhang@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2017-01-13arm: dts: mt2701: Add power domain controller device nodeJames Liao1-0/+12
Add power domain controller node (scpsys) for MT2701. Signed-off-by: James Liao <jamesjj.liao@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2017-01-13arm: dts: mt2701: Add subsystem clock controller device nodesJames Liao1-0/+36
Add MT2701 subsystem clock controllers, inlcude mmsys, imgsys, vdecsys, hifsys, ethsys and bdpsys. Signed-off-by: James Liao <jamesjj.liao@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2017-01-13arm: dts: mt2701: Sort DT nodes by register addressJames Liao1-18/+18
This patch rearrange MT2701 DT nodes to keep them in ascending order. Signed-off-by: James Liao <jamesjj.liao@mediatek.com> [mb: fix pio unit address and order] Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2016-11-11arm: dts: mt2701: Use real clock for UARTsErin Lo1-10/+8
We used to use a fixed rate clock for the UARTs. Now that we have clock support we can associate the correct clocks to the UARTs and drop the 26MHz fixed rate UART clock. Signed-off-by: Erin Lo <erin.lo@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2016-11-11arm: dts: mt2701: Add clock controller device nodesJames Liao1-0/+42
Add clock controller nodes for MT2701, include topckgen, infracfg, pericfg and apmixedsys. This patch also add two oscillators that provide clocks for MT2701. Signed-off-by: James Liao <jamesjj.liao@mediatek.com> Signed-off-by: Erin Lo <erin.lo@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2016-04-13arm: dts: Add pinctrl/GPIO/EINT node for mt2701Biao Huang1-0/+19
Add pinctrl and GPIO node to mt2701.dtsi Signed-off-by: Biao Huang <biao.huang@mediatek.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2016-02-29Revert "arm: dts: Add pinctrl/GPIO/EINT node for mt2701"Arnd Bergmann1-19/+0
This reverts commit 8ba671efdbe5be3e5d691a8b7f77b0d68459b874. As reported by kbuild test robot <fengguang.wu@intel.com>: In file included from arch/arm/boot/dts/mt2701-evb.dts:16:0: >> arch/arm/boot/dts/mt2701.dtsi:18:28: fatal error: mt2701-pinfunc.h: No such file or directory #include "mt2701-pinfunc.h" ^ Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2016-02-11arm: dts: Add pinctrl/GPIO/EINT node for mt2701Biao Huang1-0/+19
Add pinctrl and GPIO node to mt2701.dtsi Signed-off-by: Biao Huang <biao.huang@mediatek.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2016-02-11ARM: dts: mt2701: enable basic SMP bringup for mt2701Louis Yu1-0/+12
Add enable method to support SMP. Signed-off-by: Louis Yu <louis.yu@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2015-11-20ARM: dts: mediatek: add MT2701 basic supportErin Lo1-0/+146
This adds basic chip support for Mediatek 2701. Signed-off-by: Erin Lo <erin.lo@mediatek.com> [matthias.bgg@gmail.com: Fixed reg address of mt2701-timer] Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>