Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1631308 > unrolled thread
| Started by | <sean.wang@mediatek.com> |
|---|---|
| First post | 2017-04-26 11:50 +0200 |
| Last post | 2017-05-10 12:00 +0200 |
| Articles | 20 on this page of 23 — 7 participants |
Back to article view | Back to linux.kernel
[PATCH v2 00/30] arm: dts: extend mt7623 support <sean.wang@mediatek.com> - 2017-04-26 11:50 +0200
[PATCH v2 03/30] arm: dts: mt7623: add clock controller device nodes <sean.wang@mediatek.com> - 2017-04-26 11:50 +0200
[PATCH v2 09/30] arm: dts: mt7623: add i2c nodes to the mt7623.dtsi file <sean.wang@mediatek.com> - 2017-04-26 11:50 +0200
[PATCH v2 21/30] arm: dts: mt7623: add efuse nodes to the mt7623.dtsi file <sean.wang@mediatek.com> - 2017-04-26 11:50 +0200
[PATCH v2 16/30] arm: dts: mt7623: add crypto engine nodes to the mt7623.dtsi file <sean.wang@mediatek.com> - 2017-04-26 11:50 +0200
[PATCH v2 20/30] arm: dts: mt7623: add auxadc nodes to the mt7623.dtsi file <sean.wang@mediatek.com> - 2017-04-26 11:50 +0200
[PATCH v2 29/30] dt-bindings: add vendor prefix for bananapi <sean.wang@mediatek.com> - 2017-04-26 11:50 +0200
Re: [PATCH v2 29/30] dt-bindings: add vendor prefix for bananapi Rob Herring <robh@kernel.org> - 2017-04-28 22:40 +0200
Re: [PATCH v2 29/30] dt-bindings: add vendor prefix for bananapi Sean Wang <sean.wang@mediatek.com> - 2017-05-01 09:00 +0200
Re: [PATCH v2 29/30] dt-bindings: add vendor prefix for bananapi Rob Herring <robh@kernel.org> - 2017-05-02 16:00 +0200
Re: [PATCH v2 29/30] dt-bindings: add vendor prefix for bananapi Sean Wang <sean.wang@mediatek.com> - 2017-05-08 12:00 +0200
Re: [PATCH v2 29/30] dt-bindings: add vendor prefix for bananapi Arnd Bergmann <arnd@arndb.de> - 2017-05-08 13:40 +0200
Re: [PATCH v2 29/30] dt-bindings: add vendor prefix for bananapi Matthias Brugger <matthias.bgg@gmail.com> - 2017-05-09 09:50 +0200
Re: [PATCH v2 29/30] dt-bindings: add vendor prefix for bananapi Chen-Yu Tsai <wens@csie.org> - 2017-05-09 10:10 +0200
Re: [PATCH v2 29/30] dt-bindings: add vendor prefix for bananapi Sean Wang <sean.wang@mediatek.com> - 2017-05-09 11:50 +0200
[PATCH v2 12/30] arm: dts: mt7623: add mmc nodes to the mt7623.dtsi file <sean.wang@mediatek.com> - 2017-04-26 11:50 +0200
[PATCH v2 10/30] arm: dts: mt7623: add spi nodes to the mt7623.dtsi file <sean.wang@mediatek.com> - 2017-04-26 11:50 +0200
[PATCH v2 30/30] arm: dts: mt7623: add dts file for Bananapi R2 (BPI-R2) board <sean.wang@mediatek.com> - 2017-04-26 11:50 +0200
[PATCH v2 05/30] arm: dts: mt7623: add power domain controller device node <sean.wang@mediatek.com> - 2017-04-26 11:50 +0200
[PATCH v2 04/30] arm: dts: mt7623: add subsystem clock controller device nodes <sean.wang@mediatek.com> - 2017-04-26 11:50 +0200
Re: [PATCH v2 02/30] pinctrl: mediatek: reuse pinctrl driver for mt7623 Linus Walleij <linus.walleij@linaro.org> - 2017-04-28 10:10 +0200
Re: [PATCH v2 02/30] pinctrl: mediatek: reuse pinctrl driver for mt7623 Sean Wang <sean.wang@mediatek.com> - 2017-05-01 08:50 +0200
Re: [PATCH v2 00/30] arm: dts: extend mt7623 support Matthias Brugger <matthias.bgg@gmail.com> - 2017-05-10 12:00 +0200
Page 1 of 2 [1] 2 Next page →
| From | <sean.wang@mediatek.com> |
|---|---|
| Date | 2017-04-26 11:50 +0200 |
| Subject | [PATCH v2 00/30] arm: dts: extend mt7623 support |
| Message-ID | <tArK9-tv-3@gated-at.bofh.it> |
From: Sean Wang <sean.wang@mediatek.com>
Changes since v1:
Continue the upstream journey based on the previous John Crispin's good work.
- add fixes for the v1 suggestion
- fix typo in the commit log
- add missing pinctrl bindings for mt7623
- reuse pinctrl driver for mt7623
- enhance existing nodes since the way for binding is changed e.g USB
- add more nodes which already gets support from the latest tree e.g MT7530 DSA
- add the dts file for Bananapi R2 (BPI-R2) board
This series extends the dts files used for booting mt7623 base boards.
Since support for mt7623 was added around v4.6, many new drivers have
been accepted upstream. The contained patches add several of these to
the devicetree.
Additionally the series does a bit of refactoring. Mediatek pointed out
that the evaluation board is infact a reference design and asked the the
evb files be renamed to rfb.
As with all of the current ARM bases MTK silicon, these boards also have
a PMIC. Instead of adding the nodes to all of the dts files, we add an
intermediate dtsi file that contains the required nodes. This allows us
to reduce the size of the top most dts files.
The RFB comes in various versions and asiarf has even done a crowdfunder
to sell them. We should try to reduce the duplication. This series adds
a common dtsi file for these boards. This results in the topmost dts files
only needing to specify the compatible string, MTD nodes and ethernet setup.
John Crispin (14):
arm: dts: mt7623: add clock controller device nodes
arm: dts: mt7623: add subsystem clock controller device nodes
arm: dts: mt7623: add power domain controller device node
arm: dts: mt7623: add clock-frequency to the a7 timer node to
mt7623.dtsi
arm: dts: mt7623: add pinctrl nodes to the mt7623 dtsi file
arm: dts: mt7623: add pmic wrapper nodes to the mt7623 dtsi file
arm: dts: mt7623: add i2c nodes to the mt7623.dtsi file
arm: dts: mt7623: add nand nodes to the mt7623.dtsi file
arm: dts: mt7623: add mmc nodes to the mt7623.dtsi file
arm: dts: mt7623: add usb nodes to the mt7623.dtsi file
arm: dts: mt7623: add mt7623-mt6323.dtsi file
arm: dts: mt7623: cleanup the mt7623n rfb uart nodes
arm: dts: mt7623: enable the usb device on the mt7623n rfb
arm: dts: mt7623: enable the nand device on the mt7623n nand rfb
Sean Wang (16):
pinctrl: mediatek: Add missing pinctrl bindings for mt7623
pinctrl: mediatek: reuse pinctrl driver for mt7623
arm: dts: mt7623: add spi nodes to the mt7623.dtsi file
arm: dts: mt7623: add pwm nodes to the mt7623.dtsi file
arm: dts: mt7623: add ethernet nodes to the mt7623.dtsi file
arm: dts: mt7623: add crypto engine nodes to the mt7623.dtsi file
arm: dts: mt7623: add ir nodes to the mt7623.dtsi file
arm: dts: mt7623: add afe nodes to the mt7623.dtsi file
arm: dts: mt7623: add rng nodes to the mt7623.dtsi file
arm: dts: mt7623: add auxadc nodes to the mt7623.dtsi file
arm: dts: mt7623: add efuse nodes to the mt7623.dtsi file
arm: dts: mt7623: add thermal nodes to the mt7623.dtsi file
arm: dts: mt7623: add Sean as one of authors for mt7623.dtsi files
arm: dts: mt7623: rename mt7623-evb.dts to
arch/arm/boot/dts/mt7623n-rfb.dtsi
dt-bindings: add vendor prefix for bananapi
arm: dts: mt7623: add dts file for Bananapi R2 (BPI-R2) board
Documentation/devicetree/bindings/arm/mediatek.txt | 8 +-
.../devicetree/bindings/pinctrl/pinctrl-mt65xx.txt | 1 -
.../devicetree/bindings/vendor-prefixes.txt | 1 +
arch/arm/boot/dts/Makefile | 3 +-
arch/arm/boot/dts/mt7623-evb.dts | 33 -
arch/arm/boot/dts/mt7623-mt6323.dtsi | 269 +++
arch/arm/boot/dts/mt7623.dtsi | 556 +++++-
arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts | 478 +++++
arch/arm/boot/dts/mt7623n-rfb-nand.dts | 109 ++
arch/arm/boot/dts/mt7623n-rfb.dtsi | 61 +
arch/arm/mach-mediatek/mediatek.c | 4 +-
arch/arm/mach-mediatek/platsmp.c | 2 +-
drivers/pinctrl/mediatek/Kconfig | 9 +-
drivers/pinctrl/mediatek/Makefile | 1 -
drivers/pinctrl/mediatek/pinctrl-mt7623.c | 379 ----
drivers/pinctrl/mediatek/pinctrl-mtk-mt7623.h | 1936 --------------------
include/dt-bindings/pinctrl/mt7623-pinfunc.h | 30 +-
17 files changed, 1497 insertions(+), 2383 deletions(-)
delete mode 100644 arch/arm/boot/dts/mt7623-evb.dts
create mode 100644 arch/arm/boot/dts/mt7623-mt6323.dtsi
create mode 100644 arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
create mode 100644 arch/arm/boot/dts/mt7623n-rfb-nand.dts
create mode 100644 arch/arm/boot/dts/mt7623n-rfb.dtsi
delete mode 100644 drivers/pinctrl/mediatek/pinctrl-mt7623.c
delete mode 100644 drivers/pinctrl/mediatek/pinctrl-mtk-mt7623.h
--
1.9.1
[toc] | [next] | [standalone]
| From | <sean.wang@mediatek.com> |
|---|---|
| Date | 2017-04-26 11:50 +0200 |
| Subject | [PATCH v2 03/30] arm: dts: mt7623: add clock controller device nodes |
| Message-ID | <tArKb-tv-47@gated-at.bofh.it> |
| In reply to | #1631308 |
From: John Crispin <john@phrozen.org>
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>
---
arch/arm/boot/dts/mt7623.dtsi | 64 +++++++++++++++++++++++++++++++++++++------
1 file changed, 55 insertions(+), 9 deletions(-)
diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot/dts/mt7623.dtsi
index 402579a..b97b2ba 100644
--- a/arch/arm/boot/dts/mt7623.dtsi
+++ b/arch/arm/boot/dts/mt7623.dtsi
@@ -14,6 +14,8 @@
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
+#include <dt-bindings/clock/mt2701-clk.h>
+#include <dt-bindings/reset/mt2701-resets.h>
#include "skeleton64.dtsi"
/ {
@@ -53,16 +55,18 @@
#clock-cells = <0>;
};
- rtc_clk: dummy32k {
+ rtc32k: oscillator@1 {
compatible = "fixed-clock";
- clock-frequency = <32000>;
#clock-cells = <0>;
+ clock-frequency = <32000>;
+ clock-output-names = "rtc32k";
};
- uart_clk: dummy26m {
+ clk26m: oscillator@0 {
compatible = "fixed-clock";
- clock-frequency = <26000000>;
#clock-cells = <0>;
+ clock-frequency = <26000000>;
+ clock-output-names = "clk26m";
};
timer {
@@ -74,6 +78,32 @@
<GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
};
+ topckgen: syscon@10000000 {
+ compatible = "mediatek,mt7623-topckgen",
+ "mediatek,mt2701-topckgen",
+ "syscon";
+ reg = <0 0x10000000 0 0x1000>;
+ #clock-cells = <1>;
+ };
+
+ infracfg: syscon@10001000 {
+ compatible = "mediatek,mt7623-infracfg",
+ "mediatek,mt2701-infracfg",
+ "syscon";
+ reg = <0 0x10001000 0 0x1000>;
+ #clock-cells = <1>;
+ #reset-cells = <1>;
+ };
+
+ pericfg: syscon@10003000 {
+ compatible = "mediatek,mt7623-pericfg",
+ "mediatek,mt2701-pericfg",
+ "syscon";
+ reg = <0 0x10003000 0 0x1000>;
+ #clock-cells = <1>;
+ #reset-cells = <1>;
+ };
+
watchdog: watchdog@10007000 {
compatible = "mediatek,mt7623-wdt",
"mediatek,mt6589-wdt";
@@ -85,7 +115,7 @@
"mediatek,mt6577-timer";
reg = <0 0x10008000 0 0x80>;
interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_LOW>;
- clocks = <&system_clk>, <&rtc_clk>;
+ clocks = <&system_clk>, <&rtc32k>;
clock-names = "system-clk", "rtc-clk";
};
@@ -98,6 +128,14 @@
reg = <0 0x10200100 0 0x1c>;
};
+ apmixedsys: syscon@10209000 {
+ compatible = "mediatek,mt7623-apmixedsys",
+ "mediatek,mt2701-apmixedsys",
+ "syscon";
+ reg = <0 0x10209000 0 0x1000>;
+ #clock-cells = <1>;
+ };
+
gic: interrupt-controller@10211000 {
compatible = "arm,cortex-a7-gic";
interrupt-controller;
@@ -114,7 +152,9 @@
"mediatek,mt6577-uart";
reg = <0 0x11002000 0 0x400>;
interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_LOW>;
- clocks = <&uart_clk>;
+ clocks = <&pericfg CLK_PERI_UART0_SEL>,
+ <&pericfg CLK_PERI_UART0>;
+ clock-names = "baud", "bus";
status = "disabled";
};
@@ -123,7 +163,9 @@
"mediatek,mt6577-uart";
reg = <0 0x11003000 0 0x400>;
interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_LOW>;
- clocks = <&uart_clk>;
+ clocks = <&pericfg CLK_PERI_UART1_SEL>,
+ <&pericfg CLK_PERI_UART1>;
+ clock-names = "baud", "bus";
status = "disabled";
};
@@ -132,7 +174,9 @@
"mediatek,mt6577-uart";
reg = <0 0x11004000 0 0x400>;
interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_LOW>;
- clocks = <&uart_clk>;
+ clocks = <&pericfg CLK_PERI_UART2_SEL>,
+ <&pericfg CLK_PERI_UART2>;
+ clock-names = "baud", "bus";
status = "disabled";
};
@@ -141,7 +185,9 @@
"mediatek,mt6577-uart";
reg = <0 0x11005000 0 0x400>;
interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_LOW>;
- clocks = <&uart_clk>;
+ clocks = <&pericfg CLK_PERI_UART3_SEL>,
+ <&pericfg CLK_PERI_UART3>;
+ clock-names = "baud", "bus";
status = "disabled";
};
};
--
1.9.1
[toc] | [prev] | [next] | [standalone]
| From | <sean.wang@mediatek.com> |
|---|---|
| Date | 2017-04-26 11:50 +0200 |
| Subject | [PATCH v2 09/30] arm: dts: mt7623: add i2c nodes to the mt7623.dtsi file |
| Message-ID | <tArKb-tv-51@gated-at.bofh.it> |
| In reply to | #1631308 |
From: John Crispin <john@phrozen.org>
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>
---
arch/arm/boot/dts/mt7623.dtsi | 45 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot/dts/mt7623.dtsi
index 6adc21d..adb4793 100644
--- a/arch/arm/boot/dts/mt7623.dtsi
+++ b/arch/arm/boot/dts/mt7623.dtsi
@@ -243,6 +243,51 @@
status = "disabled";
};
+ i2c0: i2c@11007000 {
+ compatible = "mediatek,mt7623-i2c",
+ "mediatek,mt6577-i2c";
+ reg = <0 0x11007000 0 0x70>,
+ <0 0x11000200 0 0x80>;
+ interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_LOW>;
+ clock-div = <16>;
+ clocks = <&pericfg CLK_PERI_I2C0>,
+ <&pericfg CLK_PERI_AP_DMA>;
+ clock-names = "main", "dma";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "disabled";
+ };
+
+ i2c1: i2c@11008000 {
+ compatible = "mediatek,mt7623-i2c",
+ "mediatek,mt6577-i2c";
+ reg = <0 0x11008000 0 0x70>,
+ <0 0x11000280 0 0x80>;
+ interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_LOW>;
+ clock-div = <16>;
+ clocks = <&pericfg CLK_PERI_I2C1>,
+ <&pericfg CLK_PERI_AP_DMA>;
+ clock-names = "main", "dma";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "disabled";
+ };
+
+ i2c2: i2c@11009000 {
+ compatible = "mediatek,mt7623-i2c",
+ "mediatek,mt6577-i2c";
+ reg = <0 0x11009000 0 0x70>,
+ <0 0x11000300 0 0x80>;
+ interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_LOW>;
+ clock-div = <16>;
+ clocks = <&pericfg CLK_PERI_I2C2>,
+ <&pericfg CLK_PERI_AP_DMA>;
+ clock-names = "main", "dma";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "disabled";
+ };
+
hifsys: syscon@1a000000 {
compatible = "mediatek,mt7623-hifsys",
"mediatek,mt2701-hifsys",
--
1.9.1
[toc] | [prev] | [next] | [standalone]
| From | <sean.wang@mediatek.com> |
|---|---|
| Date | 2017-04-26 11:50 +0200 |
| Subject | [PATCH v2 21/30] arm: dts: mt7623: add efuse nodes to the mt7623.dtsi file |
| Message-ID | <tArKb-tv-57@gated-at.bofh.it> |
| In reply to | #1631308 |
From: Sean Wang <sean.wang@mediatek.com>
Add efuse nodes to the mt7623.dtsi file.
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
---
arch/arm/boot/dts/mt7623.dtsi | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot/dts/mt7623.dtsi
index 0f82e1a..2289232 100644
--- a/arch/arm/boot/dts/mt7623.dtsi
+++ b/arch/arm/boot/dts/mt7623.dtsi
@@ -189,6 +189,17 @@
reg = <0 0x10200100 0 0x1c>;
};
+ efuse: efuse@10206000 {
+ compatible = "mediatek,mt7623-efuse",
+ "mediatek,mt8173-efuse";
+ reg = <0 0x10206000 0 0x1000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ thermal_calibration_data: calib@424 {
+ reg = <0x424 0xc>;
+ };
+ };
+
apmixedsys: syscon@10209000 {
compatible = "mediatek,mt7623-apmixedsys",
"mediatek,mt2701-apmixedsys",
--
1.9.1
[toc] | [prev] | [next] | [standalone]
| From | <sean.wang@mediatek.com> |
|---|---|
| Date | 2017-04-26 11:50 +0200 |
| Subject | [PATCH v2 16/30] arm: dts: mt7623: add crypto engine nodes to the mt7623.dtsi file |
| Message-ID | <tArKb-tv-55@gated-at.bofh.it> |
| In reply to | #1631308 |
From: Sean Wang <sean.wang@mediatek.com>
Add crypto engine nodes to the mt7623.dtsi file.
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
---
arch/arm/boot/dts/mt7623.dtsi | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot/dts/mt7623.dtsi
index c4be7a5..ad7c50a 100644
--- a/arch/arm/boot/dts/mt7623.dtsi
+++ b/arch/arm/boot/dts/mt7623.dtsi
@@ -505,4 +505,19 @@
#size-cells = <0>;
status = "disabled";
};
+
+ crypto: crypto@1b240000 {
+ compatible = "mediatek,mt7623-crypto";
+ reg = <0 0x1b240000 0 0x20000>;
+ interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_LOW>,
+ <GIC_SPI 83 IRQ_TYPE_LEVEL_LOW>,
+ <GIC_SPI 84 IRQ_TYPE_LEVEL_LOW>,
+ <GIC_SPI 91 IRQ_TYPE_LEVEL_LOW>,
+ <GIC_SPI 97 IRQ_TYPE_LEVEL_LOW>;
+ clocks = <&topckgen CLK_TOP_ETHIF_SEL>,
+ <ðsys CLK_ETHSYS_CRYPTO>;
+ clock-names = "ethif","cryp";
+ power-domains = <&scpsys MT2701_POWER_DOMAIN_ETH>;
+ status = "disabled";
+ };
};
--
1.9.1
[toc] | [prev] | [next] | [standalone]
| From | <sean.wang@mediatek.com> |
|---|---|
| Date | 2017-04-26 11:50 +0200 |
| Subject | [PATCH v2 20/30] arm: dts: mt7623: add auxadc nodes to the mt7623.dtsi file |
| Message-ID | <tArKc-tv-65@gated-at.bofh.it> |
| In reply to | #1631308 |
From: Sean Wang <sean.wang@mediatek.com>
Add auxadc nodes to the mt7623.dtsi file.
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
---
arch/arm/boot/dts/mt7623.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot/dts/mt7623.dtsi
index 707f0e5..0f82e1a 100644
--- a/arch/arm/boot/dts/mt7623.dtsi
+++ b/arch/arm/boot/dts/mt7623.dtsi
@@ -215,6 +215,15 @@
<0 0x10216000 0 0x2000>;
};
+ auxadc: adc@11001000 {
+ compatible = "mediatek,mt7623-auxadc",
+ "mediatek,mt2701-auxadc";
+ reg = <0 0x11001000 0 0x1000>;
+ clocks = <&pericfg CLK_PERI_AUXADC>;
+ clock-names = "main";
+ #io-channel-cells = <1>;
+ };
+
uart0: serial@11002000 {
compatible = "mediatek,mt7623-uart",
"mediatek,mt6577-uart";
--
1.9.1
[toc] | [prev] | [next] | [standalone]
| From | <sean.wang@mediatek.com> |
|---|---|
| Date | 2017-04-26 11:50 +0200 |
| Subject | [PATCH v2 29/30] dt-bindings: add vendor prefix for bananapi |
| Message-ID | <tArKc-tv-63@gated-at.bofh.it> |
| In reply to | #1631308 |
From: Sean Wang <sean.wang@mediatek.com> Banana Pi team in Sinovoip Co., Limited which are dedicated to design and manufacture open hardware product. Website: http://www.banana-pi.org/ Signed-off-by: Sean Wang <sean.wang@mediatek.com> --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index ec0bfb9..8ca0f3c 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.txt +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt @@ -44,6 +44,7 @@ avia avia semiconductor avic Shanghai AVIC Optoelectronics Co., Ltd. axentia Axentia Technologies AB axis Axis Communications AB +bananapi Banana Pi SINOVOP CO., LIMITED boe BOE Technology Group Co., Ltd. bosch Bosch Sensortec GmbH boundary Boundary Devices Inc. -- 1.9.1
[toc] | [prev] | [next] | [standalone]
| From | Rob Herring <robh@kernel.org> |
|---|---|
| Date | 2017-04-28 22:40 +0200 |
| Subject | Re: [PATCH v2 29/30] dt-bindings: add vendor prefix for bananapi |
| Message-ID | <tBkQh-4e7-11@gated-at.bofh.it> |
| In reply to | #1631317 |
On Wed, Apr 26, 2017 at 05:26:13PM +0800, sean.wang@mediatek.com wrote: > From: Sean Wang <sean.wang@mediatek.com> > > Banana Pi team in Sinovoip Co., Limited which are dedicated to > design and manufacture open hardware product. > > Website: http://www.banana-pi.org/ > > Signed-off-by: Sean Wang <sean.wang@mediatek.com> > --- > Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt > index ec0bfb9..8ca0f3c 100644 > --- a/Documentation/devicetree/bindings/vendor-prefixes.txt > +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt > @@ -44,6 +44,7 @@ avia avia semiconductor > avic Shanghai AVIC Optoelectronics Co., Ltd. > axentia Axentia Technologies AB > axis Axis Communications AB > +bananapi Banana Pi SINOVOP CO., LIMITED s/SINOVOP/SINOVOIP/ > boe BOE Technology Group Co., Ltd. > bosch Bosch Sensortec GmbH > boundary Boundary Devices Inc. > -- > 1.9.1 >
[toc] | [prev] | [next] | [standalone]
| From | Sean Wang <sean.wang@mediatek.com> |
|---|---|
| Date | 2017-05-01 09:00 +0200 |
| Subject | Re: [PATCH v2 29/30] dt-bindings: add vendor prefix for bananapi |
| Message-ID | <tCdto-5Gw-3@gated-at.bofh.it> |
| In reply to | #1633144 |
On Fri, 2017-04-28 at 15:37 -0500, Rob Herring wrote: > On Wed, Apr 26, 2017 at 05:26:13PM +0800, sean.wang@mediatek.com wrote: > > From: Sean Wang <sean.wang@mediatek.com> > > > > Banana Pi team in Sinovoip Co., Limited which are dedicated to > > design and manufacture open hardware product. > > > > Website: http://www.banana-pi.org/ > > > > Signed-off-by: Sean Wang <sean.wang@mediatek.com> > > --- > > Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt > > index ec0bfb9..8ca0f3c 100644 > > --- a/Documentation/devicetree/bindings/vendor-prefixes.txt > > +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt > > @@ -44,6 +44,7 @@ avia avia semiconductor > > avic Shanghai AVIC Optoelectronics Co., Ltd. > > axentia Axentia Technologies AB > > axis Axis Communications AB > > +bananapi Banana Pi SINOVOP CO., LIMITED > > s/SINOVOP/SINOVOIP/ Hi Rob, thanks for your careful reviewing , i will correct it in the next version. BTW, Could those related dts changes go through your tree if everything looks good? Because I find Matthias have been inactive for a while and the latest branch in his tree seems still staying on 4.10. Sean > > > boe BOE Technology Group Co., Ltd. > > bosch Bosch Sensortec GmbH > > boundary Boundary Devices Inc. > > -- > > 1.9.1 > >
[toc] | [prev] | [next] | [standalone]
| From | Rob Herring <robh@kernel.org> |
|---|---|
| Date | 2017-05-02 16:00 +0200 |
| Subject | Re: [PATCH v2 29/30] dt-bindings: add vendor prefix for bananapi |
| Message-ID | <tCGvo-7oC-9@gated-at.bofh.it> |
| In reply to | #1633564 |
+arm-soc On Mon, May 1, 2017 at 1:58 AM, Sean Wang <sean.wang@mediatek.com> wrote: > On Fri, 2017-04-28 at 15:37 -0500, Rob Herring wrote: >> On Wed, Apr 26, 2017 at 05:26:13PM +0800, sean.wang@mediatek.com wrote: >> > From: Sean Wang <sean.wang@mediatek.com> >> > >> > Banana Pi team in Sinovoip Co., Limited which are dedicated to >> > design and manufacture open hardware product. >> > >> > Website: http://www.banana-pi.org/ >> > >> > Signed-off-by: Sean Wang <sean.wang@mediatek.com> >> > --- >> > Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + >> > 1 file changed, 1 insertion(+) >> > >> > diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt >> > index ec0bfb9..8ca0f3c 100644 >> > --- a/Documentation/devicetree/bindings/vendor-prefixes.txt >> > +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt >> > @@ -44,6 +44,7 @@ avia avia semiconductor >> > avic Shanghai AVIC Optoelectronics Co., Ltd. >> > axentia Axentia Technologies AB >> > axis Axis Communications AB >> > +bananapi Banana Pi SINOVOP CO., LIMITED >> >> s/SINOVOP/SINOVOIP/ > > Hi Rob, > > thanks for your careful reviewing , i will correct it in the next > version. > > BTW, Could those related dts changes go through your tree if everything > looks good? Because I find Matthias have been inactive for a while and > the latest branch in his tree seems still staying on 4.10. Happy to take binding doc changes, but I don't take dts changes because those go thru arm-soc. If the platform maintainer is not responsive, then we should replace or add maintainers. Rob
[toc] | [prev] | [next] | [standalone]
| From | Sean Wang <sean.wang@mediatek.com> |
|---|---|
| Date | 2017-05-08 12:00 +0200 |
| Subject | Re: [PATCH v2 29/30] dt-bindings: add vendor prefix for bananapi |
| Message-ID | <tENCq-2jk-17@gated-at.bofh.it> |
| In reply to | #1634423 |
Hi Rob, thanks for helping me looping in the right group Hi Arnd and Olof I found Matthias is inactive for a while (his branch in his tree seemed to stop at 4.10 since the end of February) maybe he was busy at other things. Is there a good way to break the stuck situation and keeping linux-mediatek moving on? I have the willing to fork his tree, prepare dt-for-4.12 and send pull-requests to you. But I am worried in that way violating the reviewing process if Matthias no reads it. Sean On Tue, 2017-05-02 at 08:52 -0500, Rob Herring wrote: > +arm-soc > > On Mon, May 1, 2017 at 1:58 AM, Sean Wang <sean.wang@mediatek.com> wrote: > > On Fri, 2017-04-28 at 15:37 -0500, Rob Herring wrote: > >> On Wed, Apr 26, 2017 at 05:26:13PM +0800, sean.wang@mediatek.com wrote: > >> > From: Sean Wang <sean.wang@mediatek.com> > >> > > >> > Banana Pi team in Sinovoip Co., Limited which are dedicated to > >> > design and manufacture open hardware product. > >> > > >> > Website: http://www.banana-pi.org/ > >> > > >> > Signed-off-by: Sean Wang <sean.wang@mediatek.com> > >> > --- > >> > Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + > >> > 1 file changed, 1 insertion(+) > >> > > >> > diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt > >> > index ec0bfb9..8ca0f3c 100644 > >> > --- a/Documentation/devicetree/bindings/vendor-prefixes.txt > >> > +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt > >> > @@ -44,6 +44,7 @@ avia avia semiconductor > >> > avic Shanghai AVIC Optoelectronics Co., Ltd. > >> > axentia Axentia Technologies AB > >> > axis Axis Communications AB > >> > +bananapi Banana Pi SINOVOP CO., LIMITED > >> > >> s/SINOVOP/SINOVOIP/ > > > > Hi Rob, > > > > thanks for your careful reviewing , i will correct it in the next > > version. > > > > BTW, Could those related dts changes go through your tree if everything > > looks good? Because I find Matthias have been inactive for a while and > > the latest branch in his tree seems still staying on 4.10. > > Happy to take binding doc changes, but I don't take dts changes > because those go thru arm-soc. If the platform maintainer is not > responsive, then we should replace or add maintainers. > > Rob
[toc] | [prev] | [next] | [standalone]
| From | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| Date | 2017-05-08 13:40 +0200 |
| Subject | Re: [PATCH v2 29/30] dt-bindings: add vendor prefix for bananapi |
| Message-ID | <tEPbc-3lD-11@gated-at.bofh.it> |
| In reply to | #1637342 |
On Mon, May 8, 2017 at 11:53 AM, Sean Wang <sean.wang@mediatek.com> wrote:
> Hi Rob,
>
> thanks for helping me looping in the right group
>
>
> Hi Arnd and Olof
>
> I found Matthias is inactive for a while (his branch in his tree seemed
> to stop at 4.10 since the end of February) maybe he was busy at other
> things. Is there a good way to break the stuck situation and keeping
> linux-mediatek moving on?
>
> I have the willing to fork his tree, prepare dt-for-4.12 and send
> pull-requests to you.
Hi Sean,
Thanks for offering to help out. I've added Matthias' other email address
to Cc here, let's see if he notices the discussion now. Ideally any
important platform should have multiple maintainers so there is
always a backup person when the primary contact is unavailable
for any reason.
I'm not sure how much we can still do for 4.12, if you can prepare a
branch now we can definitely have a look and see what we can
realistically take for a late merge, but as we are in the second half
of the merge window already, we would normally put new features
into a 4.13 branch and only take bug fixes for 4.12. If there are
some entirely new files for additional boards, or only small changes
to the existing files, we might make an exception this time.
> But I am worried in that way violating the reviewing process if
> Matthias no reads it.
Don't worry about that at the moment, if Matthias cannot be reached
at all, we have to find an alternative way to get patches in.
Arnd
> On Tue, 2017-05-02 at 08:52 -0500, Rob Herring wrote:
>> +arm-soc
>>
>> On Mon, May 1, 2017 at 1:58 AM, Sean Wang <sean.wang@mediatek.com> wrote:
>> > On Fri, 2017-04-28 at 15:37 -0500, Rob Herring wrote:
>> >> On Wed, Apr 26, 2017 at 05:26:13PM +0800, sean.wang@mediatek.com wrote:
>> >> > From: Sean Wang <sean.wang@mediatek.com>
>> >> >
>> >> > Banana Pi team in Sinovoip Co., Limited which are dedicated to
>> >> > design and manufacture open hardware product.
>> >> >
>> >> > Website: http://www.banana-pi.org/
>> >> >
>> >> > Signed-off-by: Sean Wang <sean.wang@mediatek.com>
>> >> > ---
>> >> > Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
>> >> > 1 file changed, 1 insertion(+)
>> >> >
>> >> > diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
>> >> > index ec0bfb9..8ca0f3c 100644
>> >> > --- a/Documentation/devicetree/bindings/vendor-prefixes.txt
>> >> > +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
>> >> > @@ -44,6 +44,7 @@ avia avia semiconductor
>> >> > avic Shanghai AVIC Optoelectronics Co., Ltd.
>> >> > axentia Axentia Technologies AB
>> >> > axis Axis Communications AB
>> >> > +bananapi Banana Pi SINOVOP CO., LIMITED
>> >>
>> >> s/SINOVOP/SINOVOIP/
>> >
>> > Hi Rob,
>> >
>> > thanks for your careful reviewing , i will correct it in the next
>> > version.
>> >
>> > BTW, Could those related dts changes go through your tree if everything
>> > looks good? Because I find Matthias have been inactive for a while and
>> > the latest branch in his tree seems still staying on 4.10.
>>
>> Happy to take binding doc changes, but I don't take dts changes
>> because those go thru arm-soc. If the platform maintainer is not
>> responsive, then we should replace or add maintainers.
>>
>> Rob
[toc] | [prev] | [next] | [standalone]
| From | Matthias Brugger <matthias.bgg@gmail.com> |
|---|---|
| Date | 2017-05-09 09:50 +0200 |
| Subject | Re: [PATCH v2 29/30] dt-bindings: add vendor prefix for bananapi |
| Message-ID | <tF84a-77W-29@gated-at.bofh.it> |
| In reply to | #1637398 |
Hi Sean, Hi Arnd, +Eddie who pinged me about this in a private mail. 2017-05-08 13:36 GMT+02:00 Arnd Bergmann <arnd@arndb.de>: > On Mon, May 8, 2017 at 11:53 AM, Sean Wang <sean.wang@mediatek.com> wrote: >> Hi Rob, >> >> thanks for helping me looping in the right group >> >> >> Hi Arnd and Olof >> >> I found Matthias is inactive for a while (his branch in his tree seemed >> to stop at 4.10 since the end of February) maybe he was busy at other >> things. Is there a good way to break the stuck situation and keeping >> linux-mediatek moving on? >> >> I have the willing to fork his tree, prepare dt-for-4.12 and send >> pull-requests to you. > > Hi Sean, > > Thanks for offering to help out. I've added Matthias' other email address > to Cc here, let's see if he notices the discussion now. Ideally any > important platform should have multiple maintainers so there is > always a backup person when the primary contact is unavailable > for any reason. > > I'm not sure how much we can still do for 4.12, if you can prepare a > branch now we can definitely have a look and see what we can > realistically take for a late merge, but as we are in the second half > of the merge window already, we would normally put new features > into a 4.13 branch and only take bug fixes for 4.12. If there are > some entirely new files for additional boards, or only small changes > to the existing files, we might make an exception this time. > >> But I am worried in that way violating the reviewing process if >> Matthias no reads it. > > Don't worry about that at the moment, if Matthias cannot be reached > at all, we have to find an alternative way to get patches in. > I'm very sorry for the situation. Actually I was struggling lately to do my maintainer work in an acceptable manner. And this merge window I definitely wasn't able to follow the discussions. I hope that this will change in the very near future. I would propose to send a merge request or a summary with the relevant patches now and I will look at it today and forward them to Arnd. For the future we should start to think about who could step-in as co-maintainer to avoid situation like this. Once again, sorry for the inconvenience, Matthias > Arnd > >> On Tue, 2017-05-02 at 08:52 -0500, Rob Herring wrote: >>> +arm-soc >>> >>> On Mon, May 1, 2017 at 1:58 AM, Sean Wang <sean.wang@mediatek.com> wrote: >>> > On Fri, 2017-04-28 at 15:37 -0500, Rob Herring wrote: >>> >> On Wed, Apr 26, 2017 at 05:26:13PM +0800, sean.wang@mediatek.com wrote: >>> >> > From: Sean Wang <sean.wang@mediatek.com> >>> >> > >>> >> > Banana Pi team in Sinovoip Co., Limited which are dedicated to >>> >> > design and manufacture open hardware product. >>> >> > >>> >> > Website: http://www.banana-pi.org/ >>> >> > >>> >> > Signed-off-by: Sean Wang <sean.wang@mediatek.com> >>> >> > --- >>> >> > Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + >>> >> > 1 file changed, 1 insertion(+) >>> >> > >>> >> > diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt >>> >> > index ec0bfb9..8ca0f3c 100644 >>> >> > --- a/Documentation/devicetree/bindings/vendor-prefixes.txt >>> >> > +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt >>> >> > @@ -44,6 +44,7 @@ avia avia semiconductor >>> >> > avic Shanghai AVIC Optoelectronics Co., Ltd. >>> >> > axentia Axentia Technologies AB >>> >> > axis Axis Communications AB >>> >> > +bananapi Banana Pi SINOVOP CO., LIMITED >>> >> >>> >> s/SINOVOP/SINOVOIP/ >>> > >>> > Hi Rob, >>> > >>> > thanks for your careful reviewing , i will correct it in the next >>> > version. >>> > >>> > BTW, Could those related dts changes go through your tree if everything >>> > looks good? Because I find Matthias have been inactive for a while and >>> > the latest branch in his tree seems still staying on 4.10. >>> >>> Happy to take binding doc changes, but I don't take dts changes >>> because those go thru arm-soc. If the platform maintainer is not >>> responsive, then we should replace or add maintainers. >>> >>> Rob -- motzblog.wordpress.com
[toc] | [prev] | [next] | [standalone]
| From | Chen-Yu Tsai <wens@csie.org> |
|---|---|
| Date | 2017-05-09 10:10 +0200 |
| Subject | Re: [PATCH v2 29/30] dt-bindings: add vendor prefix for bananapi |
| Message-ID | <tF8nv-7up-7@gated-at.bofh.it> |
| In reply to | #1633564 |
Hi, On Mon, May 1, 2017 at 2:58 PM, Sean Wang <sean.wang@mediatek.com> wrote: > On Fri, 2017-04-28 at 15:37 -0500, Rob Herring wrote: >> On Wed, Apr 26, 2017 at 05:26:13PM +0800, sean.wang@mediatek.com wrote: >> > From: Sean Wang <sean.wang@mediatek.com> >> > >> > Banana Pi team in Sinovoip Co., Limited which are dedicated to >> > design and manufacture open hardware product. >> > >> > Website: http://www.banana-pi.org/ >> > >> > Signed-off-by: Sean Wang <sean.wang@mediatek.com> >> > --- >> > Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + >> > 1 file changed, 1 insertion(+) >> > >> > diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt >> > index ec0bfb9..8ca0f3c 100644 >> > --- a/Documentation/devicetree/bindings/vendor-prefixes.txt >> > +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt >> > @@ -44,6 +44,7 @@ avia avia semiconductor >> > avic Shanghai AVIC Optoelectronics Co., Ltd. >> > axentia Axentia Technologies AB >> > axis Axis Communications AB >> > +bananapi Banana Pi SINOVOP CO., LIMITED >> >> s/SINOVOP/SINOVOIP/ > > Hi Rob, > > thanks for your careful reviewing , i will correct it in the next > version. > > BTW, Could those related dts changes go through your tree if everything > looks good? Because I find Matthias have been inactive for a while and > the latest branch in his tree seems still staying on 4.10. Chiming in from the linux-sunxi side. We've been using the "lemaker" prefix for the original Banana Pi, and the "sinovoip" prefix for all the later ones by SINOVOIP. Both prefixes are still undocumented. Given the complicated history behind the Banana Pi brand, do we know what prefix they prefer, and what company should be tied to it? Thanks ChenYu > > Sean > >> >> > boe BOE Technology Group Co., Ltd. >> > bosch Bosch Sensortec GmbH >> > boundary Boundary Devices Inc. >> > -- >> > 1.9.1 >> > > > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
[toc] | [prev] | [next] | [standalone]
| From | Sean Wang <sean.wang@mediatek.com> |
|---|---|
| Date | 2017-05-09 11:50 +0200 |
| Subject | Re: [PATCH v2 29/30] dt-bindings: add vendor prefix for bananapi |
| Message-ID | <tF9Wi-8nt-7@gated-at.bofh.it> |
| In reply to | #1637963 |
On Tue, 2017-05-09 at 16:03 +0800, Chen-Yu Tsai wrote: > Hi, > > On Mon, May 1, 2017 at 2:58 PM, Sean Wang <sean.wang@mediatek.com> wrote: > > On Fri, 2017-04-28 at 15:37 -0500, Rob Herring wrote: > >> On Wed, Apr 26, 2017 at 05:26:13PM +0800, sean.wang@mediatek.com wrote: > >> > From: Sean Wang <sean.wang@mediatek.com> > >> > > >> > Banana Pi team in Sinovoip Co., Limited which are dedicated to > >> > design and manufacture open hardware product. > >> > > >> > Website: http://www.banana-pi.org/ > >> > > >> > Signed-off-by: Sean Wang <sean.wang@mediatek.com> > >> > --- > >> > Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + > >> > 1 file changed, 1 insertion(+) > >> > > >> > diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt > >> > index ec0bfb9..8ca0f3c 100644 > >> > --- a/Documentation/devicetree/bindings/vendor-prefixes.txt > >> > +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt > >> > @@ -44,6 +44,7 @@ avia avia semiconductor > >> > avic Shanghai AVIC Optoelectronics Co., Ltd. > >> > axentia Axentia Technologies AB > >> > axis Axis Communications AB > >> > +bananapi Banana Pi SINOVOP CO., LIMITED > >> > >> s/SINOVOP/SINOVOIP/ > > > > Hi Rob, > > > > thanks for your careful reviewing , i will correct it in the next > > version. > > > > BTW, Could those related dts changes go through your tree if everything > > looks good? Because I find Matthias have been inactive for a while and > > the latest branch in his tree seems still staying on 4.10. > > Chiming in from the linux-sunxi side. > > We've been using the "lemaker" prefix for the original Banana Pi, and > the "sinovoip" prefix for all the later ones by SINOVOIP. Both prefixes > are still undocumented. > > Given the complicated history behind the Banana Pi brand, do we know > what prefix they prefer, and what company should be tied to it? > > Thanks > ChenYu I knew there are some litigation issues between them Finally, Bananapi brand is owned by BIPAI KEJI and registered has been registered in more than 20 countries. So Lemaker can no longer use bananapi brand. I will update prefix naming with bananpi, BIPAI KEJI LIMITED for real bananapi boards that is confirmed by BIPAI KEJI > > > > Sean > > > >> > >> > boe BOE Technology Group Co., Ltd. > >> > bosch Bosch Sensortec GmbH > >> > boundary Boundary Devices Inc. > >> > -- > >> > 1.9.1 > >> > > > > > > > > > _______________________________________________ > > linux-arm-kernel mailing list > > linux-arm-kernel@lists.infradead.org > > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
[toc] | [prev] | [next] | [standalone]
| From | <sean.wang@mediatek.com> |
|---|---|
| Date | 2017-04-26 11:50 +0200 |
| Subject | [PATCH v2 12/30] arm: dts: mt7623: add mmc nodes to the mt7623.dtsi file |
| Message-ID | <tArKc-tv-69@gated-at.bofh.it> |
| In reply to | #1631308 |
From: John Crispin <john@phrozen.org>
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>
---
arch/arm/boot/dts/mt7623.dtsi | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot/dts/mt7623.dtsi
index f15d65a..1ea9b18 100644
--- a/arch/arm/boot/dts/mt7623.dtsi
+++ b/arch/arm/boot/dts/mt7623.dtsi
@@ -355,6 +355,28 @@
status = "disabled";
};
+ mmc0: mmc@11230000 {
+ compatible = "mediatek,mt7623-mmc",
+ "mediatek,mt8135-mmc";
+ reg = <0 0x11230000 0 0x1000>;
+ interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_LOW>;
+ clocks = <&pericfg CLK_PERI_MSDC30_0>,
+ <&topckgen CLK_TOP_MSDC30_0_SEL>;
+ clock-names = "source", "hclk";
+ status = "disabled";
+ };
+
+ mmc1: mmc@11240000 {
+ compatible = "mediatek,mt7623-mmc",
+ "mediatek,mt8135-mmc";
+ reg = <0 0x11240000 0 0x1000>;
+ interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_LOW>;
+ clocks = <&pericfg CLK_PERI_MSDC30_1>,
+ <&topckgen CLK_TOP_MSDC30_1_SEL>;
+ clock-names = "source", "hclk";
+ status = "disabled";
+ };
+
hifsys: syscon@1a000000 {
compatible = "mediatek,mt7623-hifsys",
"mediatek,mt2701-hifsys",
--
1.9.1
[toc] | [prev] | [next] | [standalone]
| From | <sean.wang@mediatek.com> |
|---|---|
| Date | 2017-04-26 11:50 +0200 |
| Subject | [PATCH v2 10/30] arm: dts: mt7623: add spi nodes to the mt7623.dtsi file |
| Message-ID | <tArKc-tv-71@gated-at.bofh.it> |
| In reply to | #1631308 |
From: Sean Wang <sean.wang@mediatek.com>
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>
---
arch/arm/boot/dts/mt7623.dtsi | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot/dts/mt7623.dtsi
index adb4793..131808c 100644
--- a/arch/arm/boot/dts/mt7623.dtsi
+++ b/arch/arm/boot/dts/mt7623.dtsi
@@ -288,6 +288,48 @@
status = "disabled";
};
+ spi0: spi@1100a000 {
+ compatible = "mediatek,mt7623-spi",
+ "mediatek,mt2701-spi";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <0 0x1100a000 0 0x100>;
+ interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_LOW>;
+ clocks = <&topckgen CLK_TOP_SYSPLL3_D2>,
+ <&topckgen CLK_TOP_SPI0_SEL>,
+ <&pericfg CLK_PERI_SPI0>;
+ clock-names = "parent-clk", "sel-clk", "spi-clk";
+ status = "disabled";
+ };
+
+ spi1: spi@11016000 {
+ compatible = "mediatek,mt7623-spi",
+ "mediatek,mt2701-spi";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <0 0x11016000 0 0x100>;
+ interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_LOW>;
+ clocks = <&topckgen CLK_TOP_SYSPLL3_D2>,
+ <&topckgen CLK_TOP_SPI1_SEL>,
+ <&pericfg CLK_PERI_SPI1>;
+ clock-names = "parent-clk", "sel-clk", "spi-clk";
+ status = "disabled";
+ };
+
+ spi2: spi@11017000 {
+ compatible = "mediatek,mt7623-spi",
+ "mediatek,mt2701-spi";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <0 0x11017000 0 0x1000>;
+ interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_LOW>;
+ clocks = <&topckgen CLK_TOP_SYSPLL3_D2>,
+ <&topckgen CLK_TOP_SPI2_SEL>,
+ <&pericfg CLK_PERI_SPI2>;
+ clock-names = "parent-clk", "sel-clk", "spi-clk";
+ status = "disabled";
+ };
+
hifsys: syscon@1a000000 {
compatible = "mediatek,mt7623-hifsys",
"mediatek,mt2701-hifsys",
--
1.9.1
[toc] | [prev] | [next] | [standalone]
| From | <sean.wang@mediatek.com> |
|---|---|
| Date | 2017-04-26 11:50 +0200 |
| Subject | [PATCH v2 30/30] arm: dts: mt7623: add dts file for Bananapi R2 (BPI-R2) board |
| Message-ID | <tArKc-tv-73@gated-at.bofh.it> |
| In reply to | #1631308 |
From: Sean Wang <sean.wang@mediatek.com>
Add support for the Bananapi R2 (BPI-R2) development board from
Sinovoip. Detailed hardware information for BPI-R2 which could be
found on http://www.banana-pi.org/r2.html
The patch currently only adds 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>
---
Documentation/devicetree/bindings/arm/mediatek.txt | 2 +
arch/arm/boot/dts/Makefile | 1 +
arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts | 478 +++++++++++++++++++++
3 files changed, 481 insertions(+)
create mode 100644 arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
diff --git a/Documentation/devicetree/bindings/arm/mediatek.txt b/Documentation/devicetree/bindings/arm/mediatek.txt
index 7f7c804..234c1dc 100644
--- a/Documentation/devicetree/bindings/arm/mediatek.txt
+++ b/Documentation/devicetree/bindings/arm/mediatek.txt
@@ -41,6 +41,8 @@ Supported boards:
- Reference board for MT7623N with NAND:
Required root node properties:
- compatible = "mediatek,mt7623n-rfb-nand", "mediatek,mt7623n";
+- Bananapi BPI-R2 board:
+ - compatible = "bananapi,bpi-r2", "mediatek,mt7623n";
- MTK mt8127 tablet moose EVB:
Required root node properties:
- compatible = "mediatek,mt8127-moose", "mediatek,mt8127";
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 5249d24..2831069 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -1004,6 +1004,7 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += \
mt6589-aquaris5.dtb \
mt6592-evb.dtb \
mt7623n-rfb-nand.dtb \
+ mt7623n-bananapi-bpi-r2.dtb \
mt8127-moose.dtb \
mt8135-evbp1.dtb
dtb-$(CONFIG_ARCH_ZX) += zx296702-ad1.dtb
diff --git a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
new file mode 100644
index 0000000..a06bf0c
--- /dev/null
+++ b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
@@ -0,0 +1,478 @@
+/*
+ * Copyright 2017 Sean Wang <sean.wang@mediatek.com>
+ *
+ * Sean Wang <sean.wang@mediatek.com>
+ *
+ * This file is dual-licensed: you can use it either under the terms
+ * of the GPL or the X11 license, at your option. Note that this dual
+ * licensing only applies to this file, and not this project as a
+ * whole.
+ *
+ * a) This file is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of the
+ * License, or (at your option) any later version.
+ *
+ * This file is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * Or, alternatively,
+ *
+ * b) Permission is hereby granted, free of charge, to any person
+ * obtaining a copy of this software and associated documentation
+ * files (the "Software"), to deal in the Software without
+ * restriction, including without limitation the rights to use,
+ * copy, modify, merge, publish, distribute, sublicense, and/or
+ * sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following
+ * conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+ * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+ * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ * OTHER DEALINGS IN THE SOFTWARE.
+ */
+
+/dts-v1/;
+#include <dt-bindings/input/input.h>
+#include "mt7623-mt6323.dtsi"
+
+/ {
+ model = "Bananapi BPI-R2";
+ compatible = "bananapi,bpi-r2", "mediatek,mt7623n";
+
+ aliases {
+ serial2 = &uart2;
+ };
+
+ chosen {
+ stdout-path = "serial2:115200n8";
+ };
+
+ gpio_keys {
+ compatible = "gpio-keys";
+ pinctrl-names = "default";
+ pinctrl-0 = <&key_pins_a>;
+
+ factory {
+ label = "factory";
+ linux,code = <BTN_0>;
+ gpios = <&pio 256 GPIO_ACTIVE_LOW>;
+ };
+
+ wps {
+ label = "wps";
+ linux,code = <KEY_WPS_BUTTON>;
+ gpios = <&pio 257 GPIO_ACTIVE_HIGH>;
+ };
+ };
+
+ leds {
+ compatible = "gpio-leds";
+ pinctrl-names = "default";
+ pinctrl-0 = <&led_pins_a>;
+
+ red {
+ label = "bpi-r2:pio:red";
+ gpios = <&pio 239 GPIO_ACTIVE_HIGH>;
+ default-state = "off";
+ };
+
+ green {
+ label = "bpi-r2:pio:green";
+ gpios = <&pio 240 GPIO_ACTIVE_HIGH>;
+ default-state = "off";
+ };
+
+ blue {
+ label = "bpi-r2:pio:blue";
+ gpios = <&pio 241 GPIO_ACTIVE_HIGH>;
+ default-state = "off";
+ };
+ };
+
+ memory@80000000 {
+ reg = <0 0x80000000 0 0x40000000>;
+ };
+
+ sound:sound {
+ compatible = "mediatek,mt2701-wm8960-machine";
+ mediatek,platform = <&afe>;
+ audio-routing =
+ "Headphone", "HP_L",
+ "Headphone", "HP_R",
+ "LINPUT1", "AMIC",
+ "RINPUT1", "AMIC";
+ mediatek,audio-codec = <&wm8960>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2s0_pins_a>;
+ };
+};
+
+&pio {
+ cir_pins_a:cir@0 {
+ pins_cir {
+ pinmux = <MT7623_PIN_46_IR_FUNC_IR>;
+ bias-disable;
+ };
+ };
+
+ i2c0_pins_a: i2c@0 {
+ pins_i2c0 {
+ pinmux = <MT7623_PIN_75_SDA0_FUNC_SDA0>,
+ <MT7623_PIN_76_SCL0_FUNC_SCL0>;
+ bias-disable;
+ };
+ };
+
+ i2c1_pins_a: i2c@1 {
+ pin_i2c1 {
+ pinmux = <MT7623_PIN_57_SDA1_FUNC_SDA1>,
+ <MT7623_PIN_58_SCL1_FUNC_SCL1>;
+ bias-disable;
+ };
+ };
+
+ i2s0_pins_a: i2s@0 {
+ pin_i2s0 {
+ pinmux = <MT7623_PIN_49_I2S0_DATA_FUNC_I2S0_DATA>,
+ <MT7623_PIN_72_I2S0_DATA_IN_FUNC_I2S0_DATA_IN>,
+ <MT7623_PIN_73_I2S0_LRCK_FUNC_I2S0_LRCK>,
+ <MT7623_PIN_74_I2S0_BCK_FUNC_I2S0_BCK>,
+ <MT7623_PIN_126_I2S0_MCLK_FUNC_I2S0_MCLK>;
+ drive-strength = <MTK_DRIVE_12mA>;
+ bias-pull-down;
+ };
+ };
+
+ i2s1_pins_a: i2s@1 {
+ pin_i2s1 {
+ pinmux = <MT7623_PIN_33_I2S1_DATA_FUNC_I2S1_DATA>,
+ <MT7623_PIN_34_I2S1_DATA_IN_FUNC_I2S1_DATA_IN>,
+ <MT7623_PIN_35_I2S1_BCK_FUNC_I2S1_BCK>,
+ <MT7623_PIN_36_I2S1_LRCK_FUNC_I2S1_LRCK>,
+ <MT7623_PIN_37_I2S1_MCLK_FUNC_I2S1_MCLK>;
+ drive-strength = <MTK_DRIVE_12mA>;
+ bias-pull-down;
+ };
+ };
+
+ key_pins_a: keys@0 {
+ pins_keys {
+ pinmux = <MT7623_PIN_256_GPIO256_FUNC_GPIO256>,
+ <MT7623_PIN_257_GPIO257_FUNC_GPIO257> ;
+ input-enable;
+ };
+ };
+
+ led_pins_a: leds@0 {
+ pins_leds {
+ pinmux = <MT7623_PIN_239_EXT_SDIO0_FUNC_GPIO239>,
+ <MT7623_PIN_240_EXT_XCS_FUNC_GPIO240>,
+ <MT7623_PIN_241_EXT_SCK_FUNC_GPIO241>;
+ };
+ };
+
+ mmc0_pins_default: mmc0default {
+ pins_cmd_dat {
+ pinmux = <MT7623_PIN_111_MSDC0_DAT7_FUNC_MSDC0_DAT7>,
+ <MT7623_PIN_112_MSDC0_DAT6_FUNC_MSDC0_DAT6>,
+ <MT7623_PIN_113_MSDC0_DAT5_FUNC_MSDC0_DAT5>,
+ <MT7623_PIN_114_MSDC0_DAT4_FUNC_MSDC0_DAT4>,
+ <MT7623_PIN_118_MSDC0_DAT3_FUNC_MSDC0_DAT3>,
+ <MT7623_PIN_119_MSDC0_DAT2_FUNC_MSDC0_DAT2>,
+ <MT7623_PIN_120_MSDC0_DAT1_FUNC_MSDC0_DAT1>,
+ <MT7623_PIN_121_MSDC0_DAT0_FUNC_MSDC0_DAT0>,
+ <MT7623_PIN_116_MSDC0_CMD_FUNC_MSDC0_CMD>;
+ input-enable;
+ bias-pull-up;
+ };
+
+ pins_clk {
+ pinmux = <MT7623_PIN_117_MSDC0_CLK_FUNC_MSDC0_CLK>;
+ bias-pull-down;
+ };
+
+ pins_rst {
+ pinmux = <MT7623_PIN_115_MSDC0_RSTB_FUNC_MSDC0_RSTB>;
+ bias-pull-up;
+ };
+ };
+
+ mmc0_pins_uhs: mmc0 {
+ pins_cmd_dat {
+ pinmux = <MT7623_PIN_111_MSDC0_DAT7_FUNC_MSDC0_DAT7>,
+ <MT7623_PIN_112_MSDC0_DAT6_FUNC_MSDC0_DAT6>,
+ <MT7623_PIN_113_MSDC0_DAT5_FUNC_MSDC0_DAT5>,
+ <MT7623_PIN_114_MSDC0_DAT4_FUNC_MSDC0_DAT4>,
+ <MT7623_PIN_118_MSDC0_DAT3_FUNC_MSDC0_DAT3>,
+ <MT7623_PIN_119_MSDC0_DAT2_FUNC_MSDC0_DAT2>,
+ <MT7623_PIN_120_MSDC0_DAT1_FUNC_MSDC0_DAT1>,
+ <MT7623_PIN_121_MSDC0_DAT0_FUNC_MSDC0_DAT0>,
+ <MT7623_PIN_116_MSDC0_CMD_FUNC_MSDC0_CMD>;
+ input-enable;
+ drive-strength = <MTK_DRIVE_2mA>;
+ bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
+ };
+
+ pins_clk {
+ pinmux = <MT7623_PIN_117_MSDC0_CLK_FUNC_MSDC0_CLK>;
+ drive-strength = <MTK_DRIVE_2mA>;
+ bias-pull-down = <MTK_PUPD_SET_R1R0_01>;
+ };
+
+ pins_rst {
+ pinmux = <MT7623_PIN_115_MSDC0_RSTB_FUNC_MSDC0_RSTB>;
+ bias-pull-up;
+ };
+ };
+
+ mmc1_pins_default: mmc1default {
+ pins_cmd_dat {
+ pinmux = <MT7623_PIN_107_MSDC1_DAT0_FUNC_MSDC1_DAT0>,
+ <MT7623_PIN_108_MSDC1_DAT1_FUNC_MSDC1_DAT1>,
+ <MT7623_PIN_109_MSDC1_DAT2_FUNC_MSDC1_DAT2>,
+ <MT7623_PIN_110_MSDC1_DAT3_FUNC_MSDC1_DAT3>,
+ <MT7623_PIN_105_MSDC1_CMD_FUNC_MSDC1_CMD>;
+ input-enable;
+ drive-strength = <MTK_DRIVE_4mA>;
+ bias-pull-up = <MTK_PUPD_SET_R1R0_10>;
+ };
+
+ pins_clk {
+ pinmux = <MT7623_PIN_106_MSDC1_CLK_FUNC_MSDC1_CLK>;
+ bias-pull-down;
+ drive-strength = <MTK_DRIVE_4mA>;
+ };
+ };
+
+ mmc1_pins_uhs: mmc1 {
+ pins_cmd_dat {
+ pinmux = <MT7623_PIN_107_MSDC1_DAT0_FUNC_MSDC1_DAT0>,
+ <MT7623_PIN_108_MSDC1_DAT1_FUNC_MSDC1_DAT1>,
+ <MT7623_PIN_109_MSDC1_DAT2_FUNC_MSDC1_DAT2>,
+ <MT7623_PIN_110_MSDC1_DAT3_FUNC_MSDC1_DAT3>,
+ <MT7623_PIN_105_MSDC1_CMD_FUNC_MSDC1_CMD>;
+ input-enable;
+ drive-strength = <MTK_DRIVE_4mA>;
+ bias-pull-up = <MTK_PUPD_SET_R1R0_10>;
+ };
+
+ pins_clk {
+ pinmux = <MT7623_PIN_106_MSDC1_CLK_FUNC_MSDC1_CLK>;
+ drive-strength = <MTK_DRIVE_4mA>;
+ bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
+ };
+ };
+
+ spi0_pins_a: spi@0 {
+ pins_spi {
+ pinmux = <MT7623_PIN_53_SPI0_CSN_FUNC_SPI0_CS>,
+ <MT7623_PIN_54_SPI0_CK_FUNC_SPI0_CK>,
+ <MT7623_PIN_55_SPI0_MI_FUNC_SPI0_MI>,
+ <MT7623_PIN_56_SPI0_MO_FUNC_SPI0_MO>;
+ bias-disable;
+ };
+ };
+
+ pwm_pins_a: pwm@0 {
+ pins_pwm {
+ pinmux = <MT7623_PIN_203_PWM0_FUNC_PWM0>,
+ <MT7623_PIN_204_PWM1_FUNC_PWM1>,
+ <MT7623_PIN_205_PWM2_FUNC_PWM2>,
+ <MT7623_PIN_206_PWM3_FUNC_PWM3>,
+ <MT7623_PIN_207_PWM4_FUNC_PWM4>;
+ };
+ };
+
+ uart0_pins_a: uart@0 {
+ pins_dat {
+ pinmux = <MT7623_PIN_79_URXD0_FUNC_URXD0>,
+ <MT7623_PIN_80_UTXD0_FUNC_UTXD0>;
+ };
+ };
+
+ uart1_pins_a: uart@1 {
+ pins_dat {
+ pinmux = <MT7623_PIN_81_URXD1_FUNC_URXD1>,
+ <MT7623_PIN_82_UTXD1_FUNC_UTXD1>;
+ };
+ };
+};
+
+&cir {
+ pinctrl-names = "default";
+ pinctrl-0 = <&cir_pins_a>;
+ status = "okay";
+};
+
+&crypto {
+ status = "okay";
+};
+
+ð {
+ status = "okay";
+ gmac0: mac@0 {
+ compatible = "mediatek,eth-mac";
+ reg = <0>;
+ phy-mode = "trgmii";
+ fixed-link {
+ speed = <1000>;
+ full-duplex;
+ pause;
+ };
+ };
+
+ mdio: mdio-bus {
+ switch@0 {
+ compatible = "mediatek,mt7530";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <0>;
+
+ pinctrl-names = "default";
+ reset-gpios = <&pio 33 0>;
+ core-supply = <&mt6323_vpa_reg>;
+ io-supply = <&mt6323_vemc3v3_reg>;
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <0>;
+ port@0 {
+ reg = <0>;
+ label = "lan0";
+ };
+
+ port@1 {
+ reg = <1>;
+ label = "lan1";
+ };
+
+ port@2 {
+ reg = <2>;
+ label = "lan2";
+ };
+
+ port@3 {
+ reg = <3>;
+ label = "lan3";
+ };
+
+ port@4 {
+ reg = <4>;
+ label = "wan";
+ };
+
+ port@6 {
+ reg = <6>;
+ label = "cpu";
+ ethernet = <&gmac0>;
+ phy-mode = "rgmii";
+ fixed-link {
+ speed = <1000>;
+ full-duplex;
+ };
+ };
+ };
+ };
+ };
+};
+
+&pwrap {
+ mt6323 {
+ mt6323led: led {
+ compatible = "mediatek,mt6323-led";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ led@0 {
+ reg = <0>;
+ label = "bpi-r2:isink:green";
+ default-state = "off";
+ };
+ led@1 {
+ reg = <1>;
+ label = "bpi-r2:isink:red";
+ default-state = "off";
+ };
+ led@2 {
+ reg = <2>;
+ label = "bpi-r2:isink:blue";
+ default-state = "off";
+ };
+ };
+ };
+};
+
+&i2c0 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2c0_pins_a>;
+ status = "okay";
+};
+
+&i2c1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2c1_pins_a>;
+ status = "okay";
+
+ wm8960: wm8960@1a {
+ compatible = "wlf,wm8960";
+ reg = <0x1a>;
+ };
+};
+
+&pwm {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pwm_pins_a>;
+ status = "okay";
+};
+
+&spi0 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&spi0_pins_a>;
+ status = "okay";
+};
+
+&uart0 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart0_pins_a>;
+ status = "disabled";
+};
+
+&uart1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart1_pins_a>;
+ status = "disabled";
+};
+
+&uart2 {
+ status = "okay";
+};
+
+&u3phy1 {
+ status = "okay";
+};
+
+&u3phy2 {
+ status = "okay";
+};
+
+&usb1 {
+ vusb33-supply = <&mt6323_vusb_reg>;
+ status = "okay";
+};
+
+&usb2 {
+ vusb33-supply = <&mt6323_vusb_reg>;
+ status = "okay";
+};
--
1.9.1
[toc] | [prev] | [next] | [standalone]
| From | <sean.wang@mediatek.com> |
|---|---|
| Date | 2017-04-26 11:50 +0200 |
| Subject | [PATCH v2 05/30] arm: dts: mt7623: add power domain controller device node |
| Message-ID | <tArKc-tv-77@gated-at.bofh.it> |
| In reply to | #1631308 |
From: John Crispin <john@phrozen.org>
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>
---
arch/arm/boot/dts/mt7623.dtsi | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot/dts/mt7623.dtsi
index 54cff6a..adb2393 100644
--- a/arch/arm/boot/dts/mt7623.dtsi
+++ b/arch/arm/boot/dts/mt7623.dtsi
@@ -15,6 +15,7 @@
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/mt2701-clk.h>
+#include <dt-bindings/power/mt2701-power.h>
#include <dt-bindings/reset/mt2701-resets.h>
#include "skeleton64.dtsi"
@@ -104,6 +105,19 @@
#reset-cells = <1>;
};
+ scpsys: scpsys@10006000 {
+ compatible = "mediatek,mt7623-scpsys",
+ "mediatek,mt2701-scpsys",
+ "syscon";
+ #power-domain-cells = <1>;
+ reg = <0 0x10006000 0 0x1000>;
+ infracfg = <&infracfg>;
+ clocks = <&topckgen CLK_TOP_MM_SEL>,
+ <&topckgen CLK_TOP_MFG_SEL>,
+ <&topckgen CLK_TOP_ETHIF_SEL>;
+ clock-names = "mm", "mfg", "ethif";
+ };
+
watchdog: watchdog@10007000 {
compatible = "mediatek,mt7623-wdt",
"mediatek,mt6589-wdt";
--
1.9.1
[toc] | [prev] | [next] | [standalone]
| From | <sean.wang@mediatek.com> |
|---|---|
| Date | 2017-04-26 11:50 +0200 |
| Subject | [PATCH v2 04/30] arm: dts: mt7623: add subsystem clock controller device nodes |
| Message-ID | <tArKc-tv-75@gated-at.bofh.it> |
| In reply to | #1631308 |
From: John Crispin <john@phrozen.org>
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>
---
arch/arm/boot/dts/mt7623.dtsi | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot/dts/mt7623.dtsi
index b97b2ba..54cff6a 100644
--- a/arch/arm/boot/dts/mt7623.dtsi
+++ b/arch/arm/boot/dts/mt7623.dtsi
@@ -190,4 +190,20 @@
clock-names = "baud", "bus";
status = "disabled";
};
+
+ hifsys: syscon@1a000000 {
+ compatible = "mediatek,mt7623-hifsys",
+ "mediatek,mt2701-hifsys",
+ "syscon";
+ reg = <0 0x1a000000 0 0x1000>;
+ #clock-cells = <1>;
+ };
+
+ ethsys: syscon@1b000000 {
+ compatible = "mediatek,mt7623-ethsys",
+ "mediatek,mt2701-ethsys",
+ "syscon";
+ reg = <0 0x1b000000 0 0x1000>;
+ #clock-cells = <1>;
+ };
};
--
1.9.1
[toc] | [prev] | [next] | [standalone]
Page 1 of 2 [1] 2 Next page →
Back to top | Article view | linux.kernel
csiph-web