~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/mediatek/mt8195-evb.dts

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
  2 /*
  3  * Copyright (C) 2021 MediaTek Inc.
  4  * Author: Seiya Wang <seiya.wang@mediatek.com>
  5  */
  6 /dts-v1/;
  7 #include "mt8195.dtsi"
  8 
  9 / {
 10         model = "MediaTek MT8195 evaluation board";
 11         compatible = "mediatek,mt8195-evb", "mediatek,mt8195";
 12 
 13         aliases {
 14                 serial0 = &uart0;
 15         };
 16 
 17         chosen {
 18                 stdout-path = "serial0:921600n8";
 19         };
 20 
 21         memory@40000000 {
 22                 device_type = "memory";
 23                 reg = <0 0x40000000 0 0x80000000>;
 24         };
 25 };
 26 
 27 &auxadc {
 28         status = "okay";
 29 };
 30 
 31 &i2c0 {
 32         pinctrl-names = "default";
 33         pinctrl-0 = <&i2c0_pin>;
 34         clock-frequency = <100000>;
 35         status = "okay";
 36 };
 37 
 38 &i2c1 {
 39         pinctrl-names = "default";
 40         pinctrl-0 = <&i2c1_pin>;
 41         clock-frequency = <400000>;
 42         status = "okay";
 43 };
 44 
 45 &i2c4 {
 46         pinctrl-names = "default";
 47         pinctrl-0 = <&i2c4_pin>;
 48         clock-frequency = <400000>;
 49         status = "okay";
 50 };
 51 
 52 &i2c6 {
 53         pinctrl-names = "default";
 54         pinctrl-0 = <&i2c6_pin>;
 55         clock-frequency = <400000>;
 56         status = "okay";
 57 };
 58 
 59 &nor_flash {
 60         status = "okay";
 61         pinctrl-names = "default";
 62         pinctrl-0 = <&nor_pins_default>;
 63 
 64         flash@0 {
 65                 compatible = "jedec,spi-nor";
 66                 reg = <0>;
 67                 spi-max-frequency = <50000000>;
 68         };
 69 };
 70 
 71 &pio {
 72         i2c0_pin: i2c0-pins {
 73                 pins {
 74                         pinmux = <PINMUX_GPIO8__FUNC_SDA0>,
 75                                  <PINMUX_GPIO9__FUNC_SCL0>;
 76                         bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
 77                         drive-strength = <6>;
 78                 };
 79         };
 80 
 81         i2c1_pin: i2c1-pins {
 82                 pins {
 83                         pinmux = <PINMUX_GPIO10__FUNC_SDA1>,
 84                                  <PINMUX_GPIO11__FUNC_SCL1>;
 85                         bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
 86                         drive-strength = <6>;
 87                 };
 88         };
 89 
 90         i2c4_pin: i2c4-pins {
 91                 pins {
 92                         pinmux = <PINMUX_GPIO16__FUNC_SDA4>,
 93                                  <PINMUX_GPIO17__FUNC_SCL4>;
 94                         bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
 95                         drive-strength-microamp = <1000>;
 96                 };
 97         };
 98 
 99         i2c6_pin: i2c6-pins {
100                 pins {
101                         pinmux = <PINMUX_GPIO25__FUNC_SDA6>,
102                                  <PINMUX_GPIO26__FUNC_SCL6>;
103                         bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
104                 };
105         };
106 
107         i2c7_pin: i2c7-pins {
108                 pins {
109                         pinmux = <PINMUX_GPIO27__FUNC_SCL7>,
110                                  <PINMUX_GPIO28__FUNC_SDA7>;
111                         bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
112                 };
113         };
114 
115         nor_pins_default: nor-pins {
116                 pins0 {
117                         pinmux = <PINMUX_GPIO142__FUNC_SPINOR_IO0>,
118                                  <PINMUX_GPIO141__FUNC_SPINOR_CK>,
119                                  <PINMUX_GPIO143__FUNC_SPINOR_IO1>;
120                         bias-pull-down;
121                 };
122 
123                 pins1 {
124                         pinmux = <PINMUX_GPIO140__FUNC_SPINOR_CS>,
125                                  <PINMUX_GPIO130__FUNC_SPINOR_IO2>,
126                                  <PINMUX_GPIO131__FUNC_SPINOR_IO3>;
127                         bias-pull-up;
128                 };
129         };
130 
131         uart0_pin: uart0-pins {
132                 pins {
133                         pinmux = <PINMUX_GPIO98__FUNC_UTXD0>,
134                                  <PINMUX_GPIO99__FUNC_URXD0>;
135                 };
136         };
137 };
138 
139 &u3phy0 {
140         status = "okay";
141 };
142 
143 &u3phy1 {
144         status = "okay";
145 };
146 
147 &u3phy2 {
148         status = "okay";
149 };
150 
151 &u3phy3 {
152         status = "okay";
153 };
154 
155 &uart0 {
156         pinctrl-names = "default";
157         pinctrl-0 = <&uart0_pin>;
158         status = "okay";
159 };
160 
161 &ssusb0 {
162         status = "okay";
163 };
164 
165 &ssusb2 {
166         status = "okay";
167 };
168 
169 &ssusb3 {
170         status = "okay";
171 };
172 
173 &xhci0 {
174         status = "okay";
175 };
176 
177 &xhci1 {
178         status = "okay";
179 };
180 
181 &xhci2 {
182         status = "okay";
183 };
184 
185 &xhci3 {
186         /* This controller is connected with a BT device.
187          * Disable usb2 lpm to prevent known issues.
188          */
189         usb2-lpm-disable;
190         status = "okay";
191 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php