diff options
author | Olof Johansson <olof@lixom.net> | 2019-06-25 08:52:25 -0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2019-06-25 08:52:25 -0400 |
commit | d78cda5aa0a0a9b75b650150e258c277d3207d45 (patch) | |
tree | c3dc41be5acfbbdd14b8dd561f9e2201acc5407d /Documentation/devicetree | |
parent | 37937ee73ba4d24850df666261f5243d611d1cc5 (diff) | |
parent | 50b617a61874a136d9c4fd75e9cccc7e2f9a03c8 (diff) |
Merge tag 'amlogic-dt64' of https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic into arm/dt
arm64: dts: Amlogic updates for v5.3
Highlights:
- new SoC: S922X (G12B family, A73/A53 big.LITTLE)
- new board: Hardkernel odroid-N2 (SoC: G12B S922X)
- add/use ethernet PHY interrupt/reset lines
- G12A: add/enable audio, PWM, IR, i2c, SD/eMMC, WiFi, bluetooth, network
- gxbb-vega-s95 board: fix WiFi/BT, enable more peripherals
* tag 'amlogic-dt64' of https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic: (79 commits)
arm64: dts: meson: g12a: x96-max: add the Ethernet PHY interrupt line
arm64: dts: meson: g12b: odroid-n2: add the Ethernet PHY interrupt line
arm64: dts: meson: g12b: odroid-n2: add the Ethernet PHY reset line
arm64: dts: meson: use the generic Ethernet PHY reset GPIO bindings
arm64: dts: meson: g12a: x96-max: fix the Ethernet PHY reset line
arm64: dts: meson: g12a: sort sdio nodes correctly
arm64: dts: meson-g12a-x96-max: add sound card
arm64: dts: meson-g12b-odroid-n2: add sound card
arm64: dts: meson: sei510: add sound card
arm64: dts: meson: sei510: add max98357a DAC
ASoC: meson: add tohdmitx DT bindings
arm64: dts: meson: g12a: add the GPIO interrupt controller
arm64: dts: meson-g12a-x96-max: bump bluetooth bus speed to 2Mbaud/s
arm64: dts: meson-g12a-sei510: bump bluetooth bus speed to 2Mbaud/s
arm64: dts: meson-g12a-x96-max: add 32k clock to bluetooth node
arm64: dts: meson-g12a-sei510: add 32k clock to bluetooth node
arm64: dts: meson-g12a-sei510: Enable Wifi SDIO module
arm64: dts: meson-g12a-x96-max: Enable Wifi SDIO Module
arm64: dts: meson-g12a-x96-max: add support for sdcard and emmc
arm64: dts: meson: g12a: add SDIO controller
...
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'Documentation/devicetree')
4 files changed, 227 insertions, 142 deletions
diff --git a/Documentation/devicetree/bindings/arm/amlogic.txt b/Documentation/devicetree/bindings/arm/amlogic.txt deleted file mode 100644 index 061f7b98a07f..000000000000 --- a/Documentation/devicetree/bindings/arm/amlogic.txt +++ /dev/null | |||
@@ -1,142 +0,0 @@ | |||
1 | Amlogic MesonX device tree bindings | ||
2 | ------------------------------------------- | ||
3 | |||
4 | Work in progress statement: | ||
5 | |||
6 | Device tree files and bindings applying to Amlogic SoCs and boards are | ||
7 | considered "unstable". Any Amlogic device tree binding may change at | ||
8 | any time. Be sure to use a device tree binary and a kernel image | ||
9 | generated from the same source tree. | ||
10 | |||
11 | Please refer to Documentation/devicetree/bindings/ABI.txt for a definition of a | ||
12 | stable binding/ABI. | ||
13 | |||
14 | --------------------------------------------------------------- | ||
15 | |||
16 | Boards with the Amlogic Meson6 SoC shall have the following properties: | ||
17 | Required root node property: | ||
18 | compatible: "amlogic,meson6" | ||
19 | |||
20 | Boards with the Amlogic Meson8 SoC shall have the following properties: | ||
21 | Required root node property: | ||
22 | compatible: "amlogic,meson8"; | ||
23 | |||
24 | Boards with the Amlogic Meson8b SoC shall have the following properties: | ||
25 | Required root node property: | ||
26 | compatible: "amlogic,meson8b"; | ||
27 | |||
28 | Boards with the Amlogic Meson8m2 SoC shall have the following properties: | ||
29 | Required root node property: | ||
30 | compatible: "amlogic,meson8m2"; | ||
31 | |||
32 | Boards with the Amlogic Meson GXBaby SoC shall have the following properties: | ||
33 | Required root node property: | ||
34 | compatible: "amlogic,meson-gxbb"; | ||
35 | |||
36 | Boards with the Amlogic Meson GXL S905X SoC shall have the following properties: | ||
37 | Required root node property: | ||
38 | compatible: "amlogic,s905x", "amlogic,meson-gxl"; | ||
39 | |||
40 | Boards with the Amlogic Meson GXL S905D SoC shall have the following properties: | ||
41 | Required root node property: | ||
42 | compatible: "amlogic,s905d", "amlogic,meson-gxl"; | ||
43 | |||
44 | Boards with the Amlogic Meson GXL S805X SoC shall have the following properties: | ||
45 | Required root node property: | ||
46 | compatible: "amlogic,s805x", "amlogic,meson-gxl"; | ||
47 | |||
48 | Boards with the Amlogic Meson GXL S905W SoC shall have the following properties: | ||
49 | Required root node property: | ||
50 | compatible: "amlogic,s905w", "amlogic,meson-gxl"; | ||
51 | |||
52 | Boards with the Amlogic Meson GXM S912 SoC shall have the following properties: | ||
53 | Required root node property: | ||
54 | compatible: "amlogic,s912", "amlogic,meson-gxm"; | ||
55 | |||
56 | Boards with the Amlogic Meson AXG A113D SoC shall have the following properties: | ||
57 | Required root node property: | ||
58 | compatible: "amlogic,a113d", "amlogic,meson-axg"; | ||
59 | |||
60 | Boards with the Amlogic Meson G12A S905D2 SoC shall have the following properties: | ||
61 | Required root node property: | ||
62 | compatible: "amlogic,g12a"; | ||
63 | |||
64 | Board compatible values (alphabetically, grouped by SoC): | ||
65 | |||
66 | - "geniatech,atv1200" (Meson6) | ||
67 | |||
68 | - "minix,neo-x8" (Meson8) | ||
69 | |||
70 | - "endless,ec100" (Meson8b) | ||
71 | - "hardkernel,odroid-c1" (Meson8b) | ||
72 | - "tronfy,mxq" (Meson8b) | ||
73 | |||
74 | - "tronsmart,mxiii-plus" (Meson8m2) | ||
75 | |||
76 | - "amlogic,p200" (Meson gxbb) | ||
77 | - "amlogic,p201" (Meson gxbb) | ||
78 | - "friendlyarm,nanopi-k2" (Meson gxbb) | ||
79 | - "hardkernel,odroid-c2" (Meson gxbb) | ||
80 | - "nexbox,a95x" (Meson gxbb or Meson gxl s905x) | ||
81 | - "tronsmart,vega-s95-pro", "tronsmart,vega-s95" (Meson gxbb) | ||
82 | - "tronsmart,vega-s95-meta", "tronsmart,vega-s95" (Meson gxbb) | ||
83 | - "tronsmart,vega-s95-telos", "tronsmart,vega-s95" (Meson gxbb) | ||
84 | - "wetek,hub" (Meson gxbb) | ||
85 | - "wetek,play2" (Meson gxbb) | ||
86 | |||
87 | - "amlogic,p212" (Meson gxl s905x) | ||
88 | - "hwacom,amazetv" (Meson gxl s905x) | ||
89 | - "khadas,vim" (Meson gxl s905x) | ||
90 | - "libretech,cc" (Meson gxl s905x) | ||
91 | |||
92 | - "amlogic,p230" (Meson gxl s905d) | ||
93 | - "amlogic,p231" (Meson gxl s905d) | ||
94 | - "phicomm,n1" (Meson gxl s905d) | ||
95 | |||
96 | - "amlogic,p241" (Meson gxl s805x) | ||
97 | - "libretech,aml-s805x-ac" (Meson gxl s805x) | ||
98 | |||
99 | - "amlogic,p281" (Meson gxl s905w) | ||
100 | - "oranth,tx3-mini" (Meson gxl s905w) | ||
101 | |||
102 | - "amlogic,q200" (Meson gxm s912) | ||
103 | - "amlogic,q201" (Meson gxm s912) | ||
104 | - "khadas,vim2" (Meson gxm s912) | ||
105 | - "kingnovel,r-box-pro" (Meson gxm S912) | ||
106 | - "nexbox,a1" (Meson gxm s912) | ||
107 | - "tronsmart,vega-s96" (Meson gxm s912) | ||
108 | |||
109 | - "amlogic,s400" (Meson axg a113d) | ||
110 | |||
111 | - "amlogic,u200" (Meson g12a s905d2) | ||
112 | - "amediatech,x96-max" (Meson g12a s905x2) | ||
113 | - "seirobotics,sei510" (Meson g12a s905x2) | ||
114 | |||
115 | Amlogic Meson Firmware registers Interface | ||
116 | ------------------------------------------ | ||
117 | |||
118 | The Meson SoCs have a register bank with status and data shared with the | ||
119 | secure firmware. | ||
120 | |||
121 | Required properties: | ||
122 | - compatible: For Meson GX SoCs, must be "amlogic,meson-gx-ao-secure", "syscon" | ||
123 | |||
124 | Properties should indentify components of this register interface : | ||
125 | |||
126 | Meson GX SoC Information | ||
127 | ------------------------ | ||
128 | A firmware register encodes the SoC type, package and revision information on | ||
129 | the Meson GX SoCs. | ||
130 | If present, the following property should be added : | ||
131 | |||
132 | Optional properties: | ||
133 | - amlogic,has-chip-id: If present, the interface gives the current SoC version. | ||
134 | |||
135 | Example | ||
136 | ------- | ||
137 | |||
138 | ao-secure@140 { | ||
139 | compatible = "amlogic,meson-gx-ao-secure", "syscon"; | ||
140 | reg = <0x0 0x140 0x0 0x140>; | ||
141 | amlogic,has-chip-id; | ||
142 | }; | ||
diff --git a/Documentation/devicetree/bindings/arm/amlogic.yaml b/Documentation/devicetree/bindings/arm/amlogic.yaml new file mode 100644 index 000000000000..325c6fd3566d --- /dev/null +++ b/Documentation/devicetree/bindings/arm/amlogic.yaml | |||
@@ -0,0 +1,144 @@ | |||
1 | # SPDX-License-Identifier: GPL-2.0 | ||
2 | %YAML 1.2 | ||
3 | --- | ||
4 | $id: http://devicetree.org/schemas/arm/amlogic.yaml# | ||
5 | $schema: http://devicetree.org/meta-schemas/core.yaml# | ||
6 | |||
7 | title: Amlogic MesonX device tree bindings | ||
8 | |||
9 | maintainers: | ||
10 | - Kevin Hilman <khilman@baylibre.com> | ||
11 | |||
12 | description: |+ | ||
13 | Work in progress statement: | ||
14 | |||
15 | Device tree files and bindings applying to Amlogic SoCs and boards are | ||
16 | considered "unstable". Any Amlogic device tree binding may change at | ||
17 | any time. Be sure to use a device tree binary and a kernel image | ||
18 | generated from the same source tree. | ||
19 | |||
20 | Please refer to Documentation/devicetree/bindings/ABI.txt for a definition of a | ||
21 | stable binding/ABI. | ||
22 | |||
23 | properties: | ||
24 | $nodename: | ||
25 | const: '/' | ||
26 | compatible: | ||
27 | oneOf: | ||
28 | - description: Boards with the Amlogic Meson6 SoC | ||
29 | items: | ||
30 | - enum: | ||
31 | - geniatech,atv1200 | ||
32 | - const: amlogic,meson6 | ||
33 | |||
34 | - description: Boards with the Amlogic Meson8 SoC | ||
35 | items: | ||
36 | - enum: | ||
37 | - minix,neo-x8 | ||
38 | - const: amlogic,meson8 | ||
39 | |||
40 | - description: Boards with the Amlogic Meson8m2 SoC | ||
41 | items: | ||
42 | - enum: | ||
43 | - tronsmart,mxiii-plus | ||
44 | - const: amlogic,meson8m2 | ||
45 | |||
46 | - description: Boards with the Amlogic Meson8b SoC | ||
47 | items: | ||
48 | - enum: | ||
49 | - endless,ec100 | ||
50 | - hardkernel,odroid-c1 | ||
51 | - tronfy,mxq | ||
52 | - const: amlogic,meson8b | ||
53 | |||
54 | - description: Boards with the Amlogic Meson GXBaby SoC | ||
55 | items: | ||
56 | - enum: | ||
57 | - amlogic,p200 | ||
58 | - amlogic,p201 | ||
59 | - friendlyarm,nanopi-k2 | ||
60 | - hardkernel,odroid-c2 | ||
61 | - nexbox,a95x | ||
62 | - wetek,hub | ||
63 | - wetek,play2 | ||
64 | - const: amlogic,meson-gxbb | ||
65 | |||
66 | - description: Tronsmart Vega S95 devices | ||
67 | items: | ||
68 | - enum: | ||
69 | - tronsmart,vega-s95-pro | ||
70 | - tronsmart,vega-s95-meta | ||
71 | - tronsmart,vega-s95-telos | ||
72 | - const: tronsmart,vega-s95 | ||
73 | - const: amlogic,meson-gxbb | ||
74 | |||
75 | - description: Boards with the Amlogic Meson GXL S805X SoC | ||
76 | items: | ||
77 | - enum: | ||
78 | - amlogic,p241 | ||
79 | - libretech,aml-s805x-ac | ||
80 | - const: amlogic,s805x | ||
81 | - const: amlogic,meson-gxl | ||
82 | |||
83 | - description: Boards with the Amlogic Meson GXL S905W SoC | ||
84 | items: | ||
85 | - enum: | ||
86 | - amlogic,p281 | ||
87 | - oranth,tx3-mini | ||
88 | - const: amlogic,s905w | ||
89 | - const: amlogic,meson-gxl | ||
90 | |||
91 | - description: Boards with the Amlogic Meson GXL S905X SoC | ||
92 | items: | ||
93 | - enum: | ||
94 | - amediatech,x96-max | ||
95 | - amlogic,p212 | ||
96 | - hwacom,amazetv | ||
97 | - khadas,vim | ||
98 | - libretech,cc | ||
99 | - nexbox,a95x | ||
100 | - seirobotics,sei510 | ||
101 | - const: amlogic,s905x | ||
102 | - const: amlogic,meson-gxl | ||
103 | |||
104 | - description: Boards with the Amlogic Meson GXL S905D SoC | ||
105 | items: | ||
106 | - enum: | ||
107 | - amlogic,p230 | ||
108 | - amlogic,p231 | ||
109 | - phicomm,n1 | ||
110 | - const: amlogic,s905d | ||
111 | - const: amlogic,meson-gxl | ||
112 | |||
113 | - description: Boards with the Amlogic Meson GXM S912 SoC | ||
114 | items: | ||
115 | - enum: | ||
116 | - amlogic,q200 | ||
117 | - amlogic,q201 | ||
118 | - khadas,vim2 | ||
119 | - kingnovel,r-box-pro | ||
120 | - nexbox,a1 | ||
121 | - tronsmart,vega-s96 | ||
122 | - const: amlogic,s912 | ||
123 | - const: amlogic,meson-gxm | ||
124 | |||
125 | - description: Boards with the Amlogic Meson AXG A113D SoC | ||
126 | items: | ||
127 | - enum: | ||
128 | - amlogic,s400 | ||
129 | - const: amlogic,a113d | ||
130 | - const: amlogic,meson-axg | ||
131 | |||
132 | - description: Boards with the Amlogic Meson G12A S905D2 SoC | ||
133 | items: | ||
134 | - enum: | ||
135 | - amlogic,u200 | ||
136 | - const: amlogic,g12a | ||
137 | |||
138 | - description: Boards with the Amlogic Meson G12B S922X SoC | ||
139 | items: | ||
140 | - enum: | ||
141 | - hardkernel,odroid-n2 | ||
142 | - const: amlogic,g12b | ||
143 | |||
144 | ... | ||
diff --git a/Documentation/devicetree/bindings/arm/amlogic/amlogic,meson-gx-ao-secure.txt b/Documentation/devicetree/bindings/arm/amlogic/amlogic,meson-gx-ao-secure.txt new file mode 100644 index 000000000000..c67d9f48fb91 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/amlogic/amlogic,meson-gx-ao-secure.txt | |||
@@ -0,0 +1,28 @@ | |||
1 | Amlogic Meson Firmware registers Interface | ||
2 | ------------------------------------------ | ||
3 | |||
4 | The Meson SoCs have a register bank with status and data shared with the | ||
5 | secure firmware. | ||
6 | |||
7 | Required properties: | ||
8 | - compatible: For Meson GX SoCs, must be "amlogic,meson-gx-ao-secure", "syscon" | ||
9 | |||
10 | Properties should indentify components of this register interface : | ||
11 | |||
12 | Meson GX SoC Information | ||
13 | ------------------------ | ||
14 | A firmware register encodes the SoC type, package and revision information on | ||
15 | the Meson GX SoCs. | ||
16 | If present, the following property should be added : | ||
17 | |||
18 | Optional properties: | ||
19 | - amlogic,has-chip-id: If present, the interface gives the current SoC version. | ||
20 | |||
21 | Example | ||
22 | ------- | ||
23 | |||
24 | ao-secure@140 { | ||
25 | compatible = "amlogic,meson-gx-ao-secure", "syscon"; | ||
26 | reg = <0x0 0x140 0x0 0x140>; | ||
27 | amlogic,has-chip-id; | ||
28 | }; | ||
diff --git a/Documentation/devicetree/bindings/sound/amlogic,g12a-tohdmitx.txt b/Documentation/devicetree/bindings/sound/amlogic,g12a-tohdmitx.txt new file mode 100644 index 000000000000..aa6c35570d31 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/amlogic,g12a-tohdmitx.txt | |||
@@ -0,0 +1,55 @@ | |||
1 | * Amlogic HDMI Tx control glue | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: "amlogic,g12a-tohdmitx" | ||
5 | - reg: physical base address of the controller and length of memory | ||
6 | mapped region. | ||
7 | - #sound-dai-cells: should be 1. | ||
8 | |||
9 | Example on the S905X2 SoC: | ||
10 | |||
11 | tohdmitx: audio-controller@744 { | ||
12 | compatible = "amlogic,g12a-tohdmitx"; | ||
13 | reg = <0x0 0x744 0x0 0x4>; | ||
14 | #sound-dai-cells = <1>; | ||
15 | }; | ||
16 | |||
17 | Example of an 'amlogic,axg-sound-card': | ||
18 | |||
19 | sound { | ||
20 | compatible = "amlogic,axg-sound-card"; | ||
21 | |||
22 | [...] | ||
23 | |||
24 | dai-link-x { | ||
25 | sound-dai = <&tdmif_a>; | ||
26 | dai-format = "i2s"; | ||
27 | dai-tdm-slot-tx-mask-0 = <1 1>; | ||
28 | |||
29 | codec-0 { | ||
30 | sound-dai = <&tohdmitx TOHDMITX_I2S_IN_A>; | ||
31 | }; | ||
32 | |||
33 | codec-1 { | ||
34 | sound-dai = <&external_dac>; | ||
35 | }; | ||
36 | }; | ||
37 | |||
38 | dai-link-y { | ||
39 | sound-dai = <&tdmif_c>; | ||
40 | dai-format = "i2s"; | ||
41 | dai-tdm-slot-tx-mask-0 = <1 1>; | ||
42 | |||
43 | codec { | ||
44 | sound-dai = <&tohdmitx TOHDMITX_I2S_IN_C>; | ||
45 | }; | ||
46 | }; | ||
47 | |||
48 | dai-link-z { | ||
49 | sound-dai = <&tohdmitx TOHDMITX_I2S_OUT>; | ||
50 | |||
51 | codec { | ||
52 | sound-dai = <&hdmi_tx>; | ||
53 | }; | ||
54 | }; | ||
55 | }; | ||