Skip to contentSkip to conversation

dt-bindings: arm64: mediatek: add mt8395-evk board

PATCH New Macpaul Lin 1 participant 2 messages Sep 14, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v8 1/2 dt-bindings: arm64: mediatek: add mt8395-evk board

1. Add compatible for MT8395.
2. Add bindings for the MediaTek mt8395-evk board, also known as the "Genio 1200-EVK".

The MT8195 and MT8395 belong to the same SoC family, with only minor differences in their physical characteristics. They utilize unique efuse values for differentiation.

The booting process and configurations are managed by boot loaders, firmware, and TF-A. Consequently, the part numbers and procurement channels vary.

---
 Documentation/devicetree/bindings/arm/mediatek.yaml | 5 +++++
 1 file changed, 5 insertions(+)

Changes for v2:
- add more detail description for mt8395.
- add bindings for mt8395, and mt8395-evk.

Changes for v3:
- add back bindings for mt8195 compatible.

Changes for v4:
Changes for v5:
Changes for v6:
- No change, update Reviewed-by tag only. Thanks.

Changes for v7:
- Drop description which used by multiple boards.

Changes for v8
- Drop "dts: " in $subject by Conor's suggestion. Thanks.

Documentation/devicetree/bindings/arm/mediatek.yaml +5 -0
index ae12b1cab9fb..de1a41a68f5d 100644
@@ -248,6 +248,11 @@ properties:
           - enum:
               - mediatek,mt8365-evk
           - const: mediatek,mt8365
+      - items:
+          - enum:
+              - mediatek,mt8395-evk
+          - const: mediatek,mt8395
+          - const: mediatek,mt8195
       - items:
           - enum:
               - mediatek,mt8516-pumpkin
Signature · 1 line
2.18.0
#1 lore raw

PATCH v8 2/2 arm64: dts: mediatek: add device-tree for Genio 1200 EVK board

Add basic device-tree for the Genio 1200-EVK board. This board is made by MediaTek and has a MT8395 SoC (MT8195 family), associated with the MT6359 and MT6360 PMICs, and
the MT7921 connectivity chip.

The IOs available on that board are:
* 1 USB Type-C connector with DP aux mode support
* 2 USB Type-A connector with a USB hub
* 1 micro-USB port for gadget or OTG support
* 1 full size HDMI RX and 1 full size HDMI TX connector
* 1 micro SD slot
* 40 pins header
* SPI interface header
* 1 M.2 slot
* 1 audio jack
* 1 micro-USB port for serial debug
* 2 connectors for DSI displays, 1 of the DSI panel is installed
* 3 connectors for CSI cameras
* 1 connector for a eDP panel
* 1 MMC storage
* 1 Touch Panel (installed DSI display)
* 1 M.2 slot for 5G dongle

This commit adds basic support in order to be able to boot.

---
 arch/arm64/boot/dts/mediatek/Makefile         |   1 +
 .../dts/mediatek/mt8395-genio-1200-evk.dts    | 901 ++++++++++++++++++
 2 files changed, 902 insertions(+)
 create mode 100644 arch/arm64/boot/dts/mediatek/mt8395-genio-1200-evk.dts

Changes for v2:
- correct SOC binding to "mediatek,mt8395".
- Fix a Linux coding style comments for optee node.
- Fix wifi fixed 3.3v power's node with "wifi-3v3-regulator".
- Fix node name of mt6360 and mt6517 to generic dts name as "pmic".
- Remove unecessary blank line.
- Reording usb node as the order of "phy" then "host".

Changes for v3:
- Add back bindings for "mediatek,mt8195".
- Fix wifi fixed 3.3v power's node with "regulator-2"

Changes for v4:
- Fix Makefile and dts file name with prefix "mt8395-".
- Re-order all nodes in mt8395-genio-1200-evk.dts by alphabetical order.
- Remove unused "DEBUG" node.

Changes for v5:
- Revise commit message for board's name.
- swap the order of nodes 'mt6359_vcamio_ldo_reg' and 'mt6359_vcn33_2_bt_ldo_reg' by alphabetical order.
- Reorder some gpio pins by alphabetical order.
- audio_default_pins, eth pins, and uart1 pins

Changes for v6:
- re-order node spmi after spi2 and before u3phy0
- update Reviewed-by tag. Thanks.

Changes for v7:
Changes for v8:
- No change.

arch/arm64/boot/dts/mediatek/Makefile +1 -0
index c99c3372a4b5..10e640c6ae08 100644
@@ -53,4 +53,5 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt8195-cherry-tomato-r3.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt8195-demo.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt8195-evb.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt8365-evk.dtb
+dtb-$(CONFIG_ARCH_MEDIATEK) += mt8395-genio-1200-evk.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt8516-pumpkin.dtb
arch/arm64/boot/dts/mediatek/mt8395-genio-1200-evk.dts new file +901 -0

901 lines not on this page · raw message

Signature · 1 line
2.18.0