123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220 |
- // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
- /*
- * Copyright (C) 2022 MediaTek Inc.
- */
- /dts-v1/;
- #include "mt8186.dtsi"
- / {
- model = "MediaTek MT8186 evaluation board";
- compatible = "mediatek,mt8186-evb", "mediatek,mt8186";
- aliases {
- serial0 = &uart0;
- };
- chosen {
- stdout-path = "serial0:921600n8";
- };
- memory@40000000 {
- device_type = "memory";
- reg = <0 0x40000000 0 0x80000000>;
- };
- };
- &i2c0 {
- status = "okay";
- clock-frequency = <400000>;
- pinctrl-names = "default";
- pinctrl-0 = <&i2c0_pins>;
- };
- &i2c1 {
- status = "okay";
- clock-frequency = <400000>;
- i2c-scl-internal-delay-ns = <8000>;
- pinctrl-names = "default";
- pinctrl-0 = <&i2c1_pins>;
- };
- &i2c2 {
- status = "okay";
- clock-frequency = <400000>;
- i2c-scl-internal-delay-ns = <10000>;
- pinctrl-names = "default";
- pinctrl-0 = <&i2c2_pins>;
- };
- &i2c3 {
- status = "okay";
- clock-frequency = <400000>;
- pinctrl-names = "default";
- pinctrl-0 = <&i2c3_pins>;
- };
- &i2c4 {
- status = "okay";
- clock-frequency = <400000>;
- pinctrl-names = "default";
- pinctrl-0 = <&i2c4_pins>;
- };
- &i2c5 {
- status = "okay";
- clock-frequency = <400000>;
- pinctrl-names = "default";
- pinctrl-0 = <&i2c5_pins>;
- };
- &i2c6 {
- status = "okay";
- clock-frequency = <400000>;
- pinctrl-names = "default";
- pinctrl-0 = <&i2c6_pins>;
- };
- &i2c7 {
- status = "okay";
- clock-frequency = <400000>;
- pinctrl-names = "default";
- pinctrl-0 = <&i2c7_pins>;
- };
- &i2c8 {
- status = "okay";
- clock-frequency = <400000>;
- pinctrl-names = "default";
- pinctrl-0 = <&i2c8_pins>;
- };
- &i2c9 {
- status = "okay";
- clock-frequency = <400000>;
- pinctrl-names = "default";
- pinctrl-0 = <&i2c9_pins>;
- };
- &pio {
- i2c0_pins: i2c0-default-pins {
- pins-bus {
- pinmux = <PINMUX_GPIO128__FUNC_SDA0>,
- <PINMUX_GPIO127__FUNC_SCL0>;
- bias-disable;
- drive-strength-microamp = <1000>;
- input-enable;
- };
- };
- i2c1_pins: i2c1-default-pins {
- pins-bus {
- pinmux = <PINMUX_GPIO130__FUNC_SDA1>,
- <PINMUX_GPIO129__FUNC_SCL1>;
- bias-disable;
- drive-strength-microamp = <1000>;
- input-enable;
- };
- };
- i2c2_pins: i2c2-default-pins {
- pins-bus {
- pinmux = <PINMUX_GPIO132__FUNC_SDA2>,
- <PINMUX_GPIO131__FUNC_SCL2>;
- bias-disable;
- drive-strength-microamp = <1000>;
- input-enable;
- };
- };
- i2c3_pins: i2c3-default-pins {
- pins-bus {
- pinmux = <PINMUX_GPIO134__FUNC_SDA3>,
- <PINMUX_GPIO133__FUNC_SCL3>;
- bias-disable;
- drive-strength-microamp = <1000>;
- input-enable;
- };
- };
- i2c4_pins: i2c4-default-pins {
- pins-bus {
- pinmux = <PINMUX_GPIO136__FUNC_SDA4>,
- <PINMUX_GPIO135__FUNC_SCL4>;
- bias-disable;
- drive-strength-microamp = <1000>;
- input-enable;
- };
- };
- i2c5_pins: i2c5-default-pins {
- pins-bus {
- pinmux = <PINMUX_GPIO138__FUNC_SDA5>,
- <PINMUX_GPIO137__FUNC_SCL5>;
- bias-disable;
- drive-strength-microamp = <1000>;
- input-enable;
- };
- };
- i2c6_pins: i2c6-default-pins {
- pins-bus {
- pinmux = <PINMUX_GPIO140__FUNC_SDA6>,
- <PINMUX_GPIO139__FUNC_SCL6>;
- bias-pull-up = <MTK_PULL_SET_RSEL_001>;
- drive-strength-microamp = <1000>;
- input-enable;
- };
- };
- i2c7_pins: i2c7-default-pins {
- pins-bus {
- pinmux = <PINMUX_GPIO142__FUNC_SDA7>,
- <PINMUX_GPIO141__FUNC_SCL7>;
- bias-disable;
- drive-strength-microamp = <1000>;
- input-enable;
- };
- };
- i2c8_pins: i2c8-default-pins {
- pins-bus {
- pinmux = <PINMUX_GPIO144__FUNC_SDA8>,
- <PINMUX_GPIO143__FUNC_SCL8>;
- bias-disable;
- drive-strength-microamp = <1000>;
- input-enable;
- };
- };
- i2c9_pins: i2c9-default-pins {
- pins-bus {
- pinmux = <PINMUX_GPIO146__FUNC_SDA9>,
- <PINMUX_GPIO145__FUNC_SCL9>;
- bias-pull-up = <MTK_PULL_SET_RSEL_001>;
- drive-strength-microamp = <1000>;
- input-enable;
- };
- };
- };
- &u3phy0 {
- status = "okay";
- };
- &u3phy1 {
- status = "okay";
- };
- &uart0 {
- status = "okay";
- };
|