summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/mt7623.dtsi
Commit message (Collapse)AuthorAgeFilesLines
* arm: dts: mt7623: add PCIe related nodesRyder Lee2018-03-191-0/+105
| | | | | | | | | | | | | | | This patch adds some device nodes for the PCIe function block and updates related pinmux. Moreover, we add interrupt-map properties in both parent and children as the chip only has one IRQ per slot that is connected to all INTx and get propagated through the bridges and it also represents the root ports own interrupts. Signed-off-by: Ryder Lee <ryder.lee@mediatek.com> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
* arm: dts: mt7623: use - instead of _ in DT node nameSean Wang2018-03-181-6/+6
| | | | | | | | | | | | It should be good that no use "_" is in DT node name. Consequently, those nodes in certain files which have an inappropriate name containing "_" are all being replaced with "-". Signed-off-by: Sean Wang <sean.wang@mediatek.com> Cc: Rob Herring <robh+dt@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: devicetree@vger.kernel.org Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
* arm: dts: mt7623: add related clock properties to cpu[1-3] nodesSean Wang2018-03-181-0/+9
| | | | | | | | | | | Complement the missing clock properties cpu[1-3] should depend on. Signed-off-by: Sean Wang <sean.wang@mediatek.com> Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net> Cc: Viresh Kumar <viresh.kumar@linaro.org> Cc: linux-pm@vger.kernel.org Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
* arm: dts: mt7623: update mmc related nodes with the appropriate fallbackSean Wang2017-12-141-2/+2
| | | | | | | | | The current mmc related nodes should be falling back to MT2701 as the dt-binding defines and which has more appropriate setup for MT7623. Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
* arm: dts: mt7623: Update ethsys bindingMatthias Brugger2017-12-141-0/+1
| | | | | | | | The ethsys binding misses the reset-cells, this patch adds this property. Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
* arm: dts: mt7623: remove unused compatible string for pio nodeRyder Lee2017-11-021-2/+1
| | | | | | | | MT7623 has its own compatible in pinctrl driver so we don't need the backward compatible for it. Signed-off-by: Ryder Lee <ryder.lee@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
* arm: dts: mt7623: update usb related nodesRyder Lee2017-11-021-6/+10
| | | | | | | | The current usb related nodes are out-of-date, so we make them be consistent with the binding documents. Signed-off-by: Ryder Lee <ryder.lee@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
* arm: dts: mt7623: update crypto nodeRyder Lee2017-11-021-4/+3
| | | | | | | This patch updates compatible string and clocks for the crypto node. Signed-off-by: Ryder Lee <ryder.lee@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
* arm: dts: mediatek: update audio node for mt2701 and mt7623Ryder Lee2017-10-191-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>
* arm: dts: mt7623: cleanup binding fileRyder Lee2017-08-141-34/+39
| | | | | | | | Dummy patch to sort nodes alphabetically and add some blank lines for consistency. Signed-off-by: Ryder Lee <ryder.lee@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
* arm: dts: mt7623: fix mmc interrupt assignmentMatthias Brugger2017-08-041-1/+1
| | | | | | | | The mmc1 interrupt should be connected to GIC_SPI 40, this patch fixes this. Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com> Acked-by: Sean Wang <sean.wang@mediatek.com>
* arm: dts: mt7623: add clock-frequency to CPU nodesSean Wang2017-07-311-0/+4
| | | | | | | | | | | | Add clock-frequency property to CPU nodes. Avoids warnings like [ 0.001568] /cpus/cpu@0 missing clock-frequency property [ 0.001588] /cpus/cpu@1 missing clock-frequency property [ 0.001601] /cpus/cpu@2 missing clock-frequency property [ 0.001614] /cpus/cpu@3 missing clock-frequency property at boot time Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
* arm: dts: mt7623: add support for Bananapi R2 (BPI-R2) boardSean Wang2017-07-311-5/+115
| | | | | | | | | | | | | | | | | Add support for the Bananapi R2 (BPI-R2) development board from BIPAI KEJI. Detailed hardware information for BPI-R2 which could be found on http://www.banana-pi.org/r2.html The patch added nodes into the SoC-level file mt7623.dtsi such as CPU OPP table and thermal zone treating CPU as one of cooling devices and also added nodes into board-level file mt7623n-bananapi-bpi-r2.dts such as MediaTek GMAC, MT7530 Switch, the crypto engine, USB, IR, I2S, I2C, UART, SPI, PWM, GPIO keys, GPIO LEDs and PMIC LEDs. As to the other missing hardware and peripherals, they would be added and integrated continuously. Signed-off-by: Sean Wang <sean.wang@mediatek.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
* arm: dts: mt7623: add mt6323.dtsi fileJohn Crispin2017-07-311-4/+4
| | | | | | | | | | | | | MediaTek produces various PMICs. Which one is used depends on the actual circuit design. Instead of adding the correct PMIC node to every dts file we instead add a new intermediate dtsi file which adds the PMIC node. For those boards with the same PMIC, the intermediate mt6323.dtsi could be reused to save more redundant nodes created on each board device-tree files. Signed-off-by: John Crispin <john@phrozen.org> Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
* arm: dts: mt7623: fixup binding violation missing reset in ethernet nodeSean Wang2017-07-201-0/+4
| | | | | | | | | fix up binding violation where the reset property is required additionally. Cc: John Crispin <john@phrozen.org> Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
* Merge tag 'v4.12-next-dts32' of https://github.com/mbgg/linux-mediatek into ↵Olof Johansson2017-06-181-10/+536
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | next/dt Add device tree nodes for mt7623: - clocks - power domain - pmic-wrapper - pinctrl - i2c - spi - nand - mmc - usb - pwm - ethernet - crypto engine - infared remote control - audio controller - ADC - efuse - thermal driver - HW random generator mt2701: - NOR flash - JPEG decoder - i2c - audio controller * tag 'v4.12-next-dts32' of https://github.com/mbgg/linux-mediatek: (25 commits) arm: dts: mediatek: Add audio driver node for MT2701 arm: dts: Add Mediatek MT2701 i2c device node arm: dts: mt2701: Add node for Mediatek JPEG Decoder arm: dts: mt2701: add nor flash node ARM: dts: mt2701: Add mtk-cirq node for mt2701 arm: dts: mt7623: add Sean as one of authors for mt7623.dtsi files arm: dts: mt7623: add thermal nodes to the mt7623.dtsi file arm: dts: mt7623: add efuse nodes to the mt7623.dtsi file arm: dts: mt7623: add auxadc nodes to the mt7623.dtsi file arm: dts: mt7623: add rng nodes to the mt7623.dtsi file arm: dts: mt7623: add afe nodes to the mt7623.dtsi file arm: dts: mt7623: add ir nodes to the mt7623.dtsi file arm: dts: mt7623: add crypto engine nodes to the mt7623.dtsi file arm: dts: mt7623: add ethernet nodes to the mt7623.dtsi file arm: dts: mt7623: add pwm nodes to the mt7623.dtsi file arm: dts: mt7623: add usb nodes to the mt7623.dtsi file arm: dts: mt7623: add mmc nodes to the mt7623.dtsi file arm: dts: mt7623: add nand nodes to the mt7623.dtsi file arm: dts: mt7623: add spi nodes to the mt7623.dtsi file arm: dts: mt7623: add i2c nodes to the mt7623.dtsi file ... Signed-off-by: Olof Johansson <olof@lixom.net>
| * arm: dts: mt7623: add Sean as one of authors for mt7623.dtsi filesSean Wang2017-05-151-1/+2
| | | | | | | | | | | | | | Add Sean as one of the authors for the mt7623.dtsi Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
| * arm: dts: mt7623: add thermal nodes to the mt7623.dtsi fileSean Wang2017-05-151-0/+16
| | | | | | | | | | | | | | Add thermal nodes to the mt7623.dtsi file. Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
| * arm: dts: mt7623: add efuse nodes to the mt7623.dtsi fileSean Wang2017-05-151-0/+11
| | | | | | | | | | | | | | Add efuse nodes to the mt7623.dtsi file. Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
| * arm: dts: mt7623: add auxadc nodes to the mt7623.dtsi fileSean Wang2017-05-151-0/+9
| | | | | | | | | | | | | | Add auxadc nodes to the mt7623.dtsi file. Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
| * arm: dts: mt7623: add rng nodes to the mt7623.dtsi fileSean Wang2017-05-151-0/+7
| | | | | | | | | | | | | | Add rng nodes to the mt7623.dtsi file. Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
| * arm: dts: mt7623: add afe nodes to the mt7623.dtsi fileSean Wang2017-05-151-0/+99
| | | | | | | | | | | | | | | | Add afe nodes to the mt7623.dtsi file. Which is the necessary node for I2S audio in/out. Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
| * arm: dts: mt7623: add ir nodes to the mt7623.dtsi fileSean Wang2017-05-151-0/+9
| | | | | | | | | | | | | | Add ir nodes to the mt7623.dtsi file. Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
| * arm: dts: mt7623: add crypto engine nodes to the mt7623.dtsi fileSean Wang2017-05-151-0/+15
| | | | | | | | | | | | | | Add crypto engine nodes to the mt7623.dtsi file. Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
| * arm: dts: mt7623: add ethernet nodes to the mt7623.dtsi fileSean Wang2017-05-151-0/+20
| | | | | | | | | | | | | | Add ethernet nodes to the mt7623.dtsi file. Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
| * arm: dts: mt7623: add pwm nodes to the mt7623.dtsi fileSean Wang2017-05-151-0/+16
| | | | | | | | | | | | | | Add PWM nodes to the mt7623.dtsi file. Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
| * arm: dts: mt7623: add usb nodes to the mt7623.dtsi fileJohn Crispin2017-05-151-0/+77
| | | | | | | | | | | | | | | | Add USB nodes to the mt7623.dtsi file. Signed-off-by: John Crispin <john@phrozen.org> Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
| * arm: dts: mt7623: add mmc nodes to the mt7623.dtsi fileJohn Crispin2017-05-151-0/+22
| | | | | | | | | | | | | | | | Add e/MMC nodes to the mt7623.dtsi file. Signed-off-by: John Crispin <john@phrozen.org> Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
| * arm: dts: mt7623: add nand nodes to the mt7623.dtsi fileJohn Crispin2017-05-151-0/+25
| | | | | | | | | | | | | | | | Add NAND/EEC nodes to the mt7623.dtsi file. Signed-off-by: John Crispin <john@phrozen.org> Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
| * arm: dts: mt7623: add spi nodes to the mt7623.dtsi fileSean Wang2017-05-151-0/+42
| | | | | | | | | | | | | | | | Add spi controller nodes to the mt7623.dtsi file Signed-off-by: John Crispin <john@phrozen.org> Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
| * arm: dts: mt7623: add i2c nodes to the mt7623.dtsi fileJohn Crispin2017-05-151-0/+45
| | | | | | | | | | | | | | | | Add I2C nodes to the mt7623.dtsi file. Signed-off-by: John Crispin <john@phrozen.org> Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
| * arm: dts: mt7623: add pmic wrapper nodes to the mt7623 dtsi fileJohn Crispin2017-05-151-0/+13
| | | | | | | | | | | | | | | | | | Add PMIC wrapper node to the mt7623.dtsi file which is necessary for the control of PMIC from Mediatek. Signed-off-by: John Crispin <john@phrozen.org> Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
| * arm: dts: mt7623: add pinctrl nodes to the mt7623 dtsi fileJohn Crispin2017-05-151-0/+23
| | | | | | | | | | | | | | | | | | Add pin controller node to the mt7623.dtsi file Signed-off-by: John Crispin <john@phrozen.org> Signed-off-by: Sean Wang <sean.wang@mediatek.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
| * arm: dts: mt7623: add power domain controller device nodeJohn Crispin2017-05-151-0/+14
| | | | | | | | | | | | | | | | Add power domain controller node (scpsys) for MT7623. Signed-off-by: John Crispin <john@phrozen.org> Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
| * arm: dts: mt7623: add subsystem clock controller device nodesJohn Crispin2017-05-151-0/+16
| | | | | | | | | | | | | | | | Add MT7623 subsystem clock controllers for hifsys and ethsys. Signed-off-by: John Crispin <john@phrozen.org> Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
| * arm: dts: mt7623: add clock controller device nodesJohn Crispin2017-05-151-9/+55
| | | | | | | | | | | | | | | | | | | | | | Add clock controller nodes for MT7623, including topckgen, infracfg, pericfg and apmixedsys. This patch also cleans up two oscillators that provide clocks for MT7623. Switch the uart clocks to the real ones while at it. Signed-off-by: John Crispin <john@phrozen.org> Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
* | arm: dts: mt7623: add clock-frequency to the a7 timer node to mt7623.dtsiJohn Crispin2017-05-091-0/+2
|/ | | | | | | | | | We need to tell the driver what the timers frequency is and that the core has not be configured by the bootrom. Not doing so makes the unit not boot. Signed-off-by: John Crispin <john@phrozen.org> Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
* ARM: DTS: Fix register map for virt-capable GICMarc Zyngier2017-02-071-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>
* ARM: dts: mediatek: update my email addressJohn Crispin2017-01-131-1/+1
| | | | | | | | This patch updates my email address as I no longer have access to the old one. Signed-off-by: John Crispin <john@phrozen.org> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
* ARM: dts: mt7623: enable SMP bringupJohn Crispin2016-02-111-0/+1
| | | | | | | Add support for booting secondary CPUs on MT7623. Signed-off-by: John Crispin <blogic@openwrt.org> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
* ARM: dts: mediatek: add MT7623 basic supportJohn Crispin2016-02-111-0/+146
This adds basic chip support for Mediatek MT7623. Signed-off-by: John Crispin <blogic@openwrt.org> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
OpenPOWER on IntegriCloud