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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/mediatek/mt6795-sony-xperia-m5.dts

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ 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.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /scripts/dtc/include-prefixes/arm64/mediatek/mt6795-sony-xperia-m5.dts (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm64/mediatek/mt6795-sony-xperia-m5.dts (Version linux-6.6.60)


  1 // SPDX-License-Identifier: GPL-2.0-only            1 // SPDX-License-Identifier: GPL-2.0-only
  2 /*                                                  2 /*
  3  * Copyright (c) 2022, Collabora Ltd                3  * Copyright (c) 2022, Collabora Ltd
  4  * Author: AngeloGioacchino Del Regno <angelogi      4  * Author: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
  5  */                                                 5  */
  6                                                     6 
  7 /dts-v1/;                                           7 /dts-v1/;
  8 #include <dt-bindings/gpio/gpio.h>                  8 #include <dt-bindings/gpio/gpio.h>
  9 #include "mt6795.dtsi"                              9 #include "mt6795.dtsi"
 10 #include "mt6331.dtsi"                             10 #include "mt6331.dtsi"
 11                                                    11 
 12 / {                                                12 / {
 13         model = "Sony Xperia M5";                  13         model = "Sony Xperia M5";
 14         compatible = "sony,xperia-m5", "mediat     14         compatible = "sony,xperia-m5", "mediatek,mt6795";
 15         chassis-type = "handset";                  15         chassis-type = "handset";
 16                                                    16 
 17         aliases {                                  17         aliases {
 18                 mmc0 = &mmc0;                      18                 mmc0 = &mmc0;
 19                 mmc1 = &mmc1;                      19                 mmc1 = &mmc1;
 20                 mmc2 = &mmc2;                      20                 mmc2 = &mmc2;
 21                 serial0 = &uart0;                  21                 serial0 = &uart0;
 22                 serial1 = &uart1;                  22                 serial1 = &uart1;
 23         };                                         23         };
 24                                                    24 
 25         backlight_lcd0: backlight {            << 
 26                 compatible = "led-backlight";  << 
 27                 leds = <&disp_led_pwm>, <&pmic << 
 28                                                << 
 29                 default-brightness-level = <30 << 
 30         };                                     << 
 31                                                << 
 32         led-controller-display {               << 
 33                 compatible = "pwm-leds";       << 
 34                                                << 
 35                 disp_led_pwm: led-0 {          << 
 36                         label = "backlight-pwm << 
 37                         pwms = <&pwm0 0 500000 << 
 38                         max-brightness = <1024 << 
 39                 };                             << 
 40         };                                     << 
 41                                                << 
 42         memory@40000000 {                          25         memory@40000000 {
 43                 device_type = "memory";            26                 device_type = "memory";
 44                 reg = <0 0x40000000 0 0x1e8000     27                 reg = <0 0x40000000 0 0x1e800000>;
 45         };                                         28         };
 46                                                    29 
 47         reserved_memory: reserved-memory {         30         reserved_memory: reserved-memory {
 48                 #address-cells = <2>;              31                 #address-cells = <2>;
 49                 #size-cells = <2>;                 32                 #size-cells = <2>;
 50                 ranges;                            33                 ranges;
 51                                                    34 
 52                 /* 128 KiB reserved for ARM Tr     35                 /* 128 KiB reserved for ARM Trusted Firmware (BL31) */
 53                 bl31_secmon_reserved: secmon@4     36                 bl31_secmon_reserved: secmon@43000000 {
 54                         reg = <0 0x43000000 0      37                         reg = <0 0x43000000 0 0x30000>;
 55                         no-map;                    38                         no-map;
 56                 };                                 39                 };
 57                                                    40 
 58                 /* preloader and bootloader re     41                 /* preloader and bootloader regions cannot be touched */
 59                 preloader-region@44800000 {        42                 preloader-region@44800000 {
 60                         reg = <0 0x44800000 0      43                         reg = <0 0x44800000 0 0x100000>;
 61                         no-map;                    44                         no-map;
 62                 };                                 45                 };
 63                                                    46 
 64                 bootloader-region@46000000 {       47                 bootloader-region@46000000 {
 65                         reg = <0 0x46000000 0      48                         reg = <0 0x46000000 0 0x400000>;
 66                         no-map;                    49                         no-map;
 67                 };                                 50                 };
 68         };                                         51         };
 69                                                << 
 70         vreg_disp_avdd: regulator-disp-avdd {  << 
 71                 compatible = "regulator-fixed" << 
 72                 regulator-name = "disp_avdd";  << 
 73                 regulator-min-microvolt = <500 << 
 74                 regulator-max-microvolt = <500 << 
 75                 gpio = <&pio 138 GPIO_ACTIVE_H << 
 76                 enable-active-high;            << 
 77         };                                     << 
 78                                                << 
 79         vreg_disp_avee: regulator-disp-avee {  << 
 80                 compatible = "regulator-fixed" << 
 81                 regulator-name = "disp_avee";  << 
 82                 regulator-min-microvolt = <500 << 
 83                 regulator-max-microvolt = <500 << 
 84                 gpio = <&pio 139 GPIO_ACTIVE_H << 
 85                 enable-active-high;            << 
 86         };                                     << 
 87                                                << 
 88         vreg_disp_vddh: regulator-disp-vddh {  << 
 89                 compatible = "regulator-fixed" << 
 90                 regulator-name = "disp_vddh";  << 
 91                 regulator-min-microvolt = <180 << 
 92                 regulator-max-microvolt = <180 << 
 93                 regulator-always-on;           << 
 94                 regulator-boot-on;             << 
 95         };                                     << 
 96 };                                             << 
 97                                                << 
 98 &dsi0 {                                        << 
 99         status = "okay";                       << 
100         #address-cells = <1>;                  << 
101         #size-cells = <0>;                     << 
102                                                << 
103         panel: panel@0 {                       << 
104                 compatible = "sharp,ls060t1sx0 << 
105                 reg = <0>;                     << 
106                 avdd-supply = <&vreg_disp_avdd << 
107                 avee-supply = <&vreg_disp_avee << 
108                 vddi-supply = <&mt6331_vgp3_re << 
109                 vddh-supply = <&vreg_disp_vddh << 
110                 reset-gpios = <&pio 106 GPIO_A << 
111                 backlight = <&backlight_lcd0>; << 
112                                                << 
113                 pinctrl-0 = <&disp_rst_pins>;  << 
114                 pinctrl-names = "default";     << 
115                                                << 
116                 port {                         << 
117                         panel_in: endpoint {   << 
118                                 remote-endpoin << 
119                         };                     << 
120                 };                             << 
121         };                                     << 
122                                                << 
123         port {                                 << 
124                 dsi0_out: endpoint {           << 
125                         remote-endpoint = <&pa << 
126                 };                             << 
127         };                                     << 
128 };                                                 52 };
129                                                    53 
130 &fhctl {                                           54 &fhctl {
131         clocks = <&apmixedsys CLK_APMIXED_MAIN     55         clocks = <&apmixedsys CLK_APMIXED_MAINPLL>, <&apmixedsys CLK_APMIXED_MPLL>,
132                  <&apmixedsys CLK_APMIXED_MSDC     56                  <&apmixedsys CLK_APMIXED_MSDCPLL>;
133         mediatek,hopping-ssc-percent = <8>, <5     57         mediatek,hopping-ssc-percent = <8>, <5>, <8>;
134         status = "okay";                           58         status = "okay";
135 };                                                 59 };
136                                                    60 
137 &i2c0 {                                            61 &i2c0 {
138         pinctrl-names = "default";                 62         pinctrl-names = "default";
139         pinctrl-0 = <&i2c0_pins>;                  63         pinctrl-0 = <&i2c0_pins>;
140         status = "okay";                           64         status = "okay";
141 };                                                 65 };
142                                                    66 
143 &i2c1 {                                            67 &i2c1 {
144         pinctrl-names = "default";                 68         pinctrl-names = "default";
145         pinctrl-0 = <&i2c1_pins>;                  69         pinctrl-0 = <&i2c1_pins>;
146         status = "okay";                           70         status = "okay";
147                                                    71 
148         accelerometer@10 {                         72         accelerometer@10 {
149                 compatible = "bosch,bma255";       73                 compatible = "bosch,bma255";
150                 reg = <0x10>;                      74                 reg = <0x10>;
151                 pinctrl-names = "default";         75                 pinctrl-names = "default";
152                 pinctrl-0 = <&accel_pins>;         76                 pinctrl-0 = <&accel_pins>;
153         };                                         77         };
154                                                    78 
155         magnetometer@12 {                          79         magnetometer@12 {
156                 compatible = "bosch,bmm150";       80                 compatible = "bosch,bmm150";
157                 reg = <0x12>;                      81                 reg = <0x12>;
158         };                                         82         };
159 };                                                 83 };
160                                                    84 
161 &i2c2 {                                            85 &i2c2 {
162         pinctrl-names = "default";                 86         pinctrl-names = "default";
163         pinctrl-0 = <&i2c2_pins>;                  87         pinctrl-0 = <&i2c2_pins>;
164         status = "okay";                           88         status = "okay";
165                                                    89 
166         touchscreen@20 {                           90         touchscreen@20 {
167                 compatible = "syna,rmi4-i2c";      91                 compatible = "syna,rmi4-i2c";
168                 reg = <0x20>;                      92                 reg = <0x20>;
169                 #address-cells = <1>;              93                 #address-cells = <1>;
170                 #size-cells = <0>;                 94                 #size-cells = <0>;
171                 interrupts-extended = <&pio 6      95                 interrupts-extended = <&pio 6 IRQ_TYPE_EDGE_FALLING>;
172                 pinctrl-names = "default";         96                 pinctrl-names = "default";
173                 pinctrl-0 = <&ts_pins>;            97                 pinctrl-0 = <&ts_pins>;
174                 syna,startup-delay-ms = <160>;     98                 syna,startup-delay-ms = <160>;
175                 syna,reset-delay-ms = <90>;        99                 syna,reset-delay-ms = <90>;
176                                                   100 
177                 rmi4-f01@1 {                      101                 rmi4-f01@1 {
178                         reg = <0x1>;              102                         reg = <0x1>;
179                         syna,nosleep-mode = <1    103                         syna,nosleep-mode = <1>;
180                 };                                104                 };
181                                                   105 
182                 rmi4-f12@12 {                     106                 rmi4-f12@12 {
183                         reg = <0x12>;             107                         reg = <0x12>;
184                         syna,sensor-type = <1>    108                         syna,sensor-type = <1>;
185                 };                                109                 };
186         };                                        110         };
187 };                                                111 };
188                                                   112 
189 &i2c3 {                                           113 &i2c3 {
190         pinctrl-names = "default";                114         pinctrl-names = "default";
191         pinctrl-0 = <&i2c3_pins>;                 115         pinctrl-0 = <&i2c3_pins>;
192         status = "okay";                          116         status = "okay";
193                                                   117 
194         pn547: nfc@28 {                           118         pn547: nfc@28 {
195                 compatible = "nxp,pn544-i2c";     119                 compatible = "nxp,pn544-i2c";
196                 reg = <0x28>;                     120                 reg = <0x28>;
197                 interrupts-extended = <&pio 3     121                 interrupts-extended = <&pio 3 IRQ_TYPE_EDGE_RISING>;
198                 pinctrl-names = "default";        122                 pinctrl-names = "default";
199                 pinctrl-0 = <&nfc_pins>;          123                 pinctrl-0 = <&nfc_pins>;
200                 enable-gpios = <&pio 149 GPIO_    124                 enable-gpios = <&pio 149 GPIO_ACTIVE_HIGH>;
201                 firmware-gpios = <&pio 94 GPIO    125                 firmware-gpios = <&pio 94 GPIO_ACTIVE_HIGH>;
202         };                                        126         };
203                                                   127 
204         proximity@48 {                            128         proximity@48 {
205                 compatible = "sensortek,stk331    129                 compatible = "sensortek,stk3310";
206                 reg = <0x48>;                     130                 reg = <0x48>;
207                 interrupts-extended = <&pio 8     131                 interrupts-extended = <&pio 8 IRQ_TYPE_EDGE_FALLING>;
208                 pinctrl-names = "default";        132                 pinctrl-names = "default";
209                 pinctrl-0 = <&proximity_pins>;    133                 pinctrl-0 = <&proximity_pins>;
210         };                                        134         };
211 };                                                135 };
212                                                   136 
213 &mmc0 {                                           137 &mmc0 {
214         /* eMMC controller */                     138         /* eMMC controller */
215         mediatek,latch-ck = <0x14>; /* hs400 *    139         mediatek,latch-ck = <0x14>; /* hs400 */
216         mediatek,hs200-cmd-int-delay = <1>;       140         mediatek,hs200-cmd-int-delay = <1>;
217         mediatek,hs400-cmd-int-delay = <1>;       141         mediatek,hs400-cmd-int-delay = <1>;
218         mediatek,hs400-ds-dly3 = <0x1a>;          142         mediatek,hs400-ds-dly3 = <0x1a>;
219         non-removable;                            143         non-removable;
220         pinctrl-names = "default", "state_uhs"    144         pinctrl-names = "default", "state_uhs";
221         pinctrl-0 = <&mmc0_pins_default>;         145         pinctrl-0 = <&mmc0_pins_default>;
222         pinctrl-1 = <&mmc0_pins_uhs>;             146         pinctrl-1 = <&mmc0_pins_uhs>;
223         vmmc-supply = <&mt6331_vemc33_reg>;       147         vmmc-supply = <&mt6331_vemc33_reg>;
224         vqmmc-supply = <&mt6331_vio18_reg>;       148         vqmmc-supply = <&mt6331_vio18_reg>;
225         status = "okay";                          149         status = "okay";
226 };                                                150 };
227                                                   151 
228 &mmc1 {                                           152 &mmc1 {
229         /* MicroSD card slot */                   153         /* MicroSD card slot */
230         vmmc-supply = <&mt6331_vmc_reg>;          154         vmmc-supply = <&mt6331_vmc_reg>;
231         vqmmc-supply = <&mt6331_vmch_reg>;        155         vqmmc-supply = <&mt6331_vmch_reg>;
232         status = "okay";                          156         status = "okay";
233 };                                                157 };
234                                                   158 
235 &mmc2 {                                           159 &mmc2 {
236         /* SDIO WiFi on MMC2 */                   160         /* SDIO WiFi on MMC2 */
237         vmmc-supply = <&mt6331_vmc_reg>;          161         vmmc-supply = <&mt6331_vmc_reg>;
238         vqmmc-supply = <&mt6331_vmch_reg>;        162         vqmmc-supply = <&mt6331_vmch_reg>;
239         status = "okay";                          163         status = "okay";
240 };                                                164 };
241                                                   165 
242 &mt6331_vgp3_reg {                             << 
243         regulator-min-microvolt = <1800000>;   << 
244 };                                             << 
245                                                << 
246 &pio {                                            166 &pio {
247         disp_rst_pins: lcm-pins {              << 
248                 pins-rst {                     << 
249                         pinmux = <PINMUX_GPIO1 << 
250                 };                             << 
251         };                                     << 
252                                                << 
253         mmc0_pins_default: emmc-sdr-pins {        167         mmc0_pins_default: emmc-sdr-pins {
254                 pins-cmd-dat {                    168                 pins-cmd-dat {
255                         pinmux = <PINMUX_GPIO1    169                         pinmux = <PINMUX_GPIO154__FUNC_MSDC0_DAT0>,
256                                  <PINMUX_GPIO1    170                                  <PINMUX_GPIO155__FUNC_MSDC0_DAT1>,
257                                  <PINMUX_GPIO1    171                                  <PINMUX_GPIO156__FUNC_MSDC0_DAT2>,
258                                  <PINMUX_GPIO1    172                                  <PINMUX_GPIO157__FUNC_MSDC0_DAT3>,
259                                  <PINMUX_GPIO1    173                                  <PINMUX_GPIO158__FUNC_MSDC0_DAT4>,
260                                  <PINMUX_GPIO1    174                                  <PINMUX_GPIO159__FUNC_MSDC0_DAT5>,
261                                  <PINMUX_GPIO1    175                                  <PINMUX_GPIO160__FUNC_MSDC0_DAT6>,
262                                  <PINMUX_GPIO1    176                                  <PINMUX_GPIO161__FUNC_MSDC0_DAT7>,
263                                  <PINMUX_GPIO1    177                                  <PINMUX_GPIO162__FUNC_MSDC0_CMD>;
264                         input-enable;             178                         input-enable;
265                         bias-pull-up = <MTK_PU    179                         bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
266                 };                                180                 };
267                                                   181 
268                 pins-clk {                        182                 pins-clk {
269                         pinmux = <PINMUX_GPIO1    183                         pinmux = <PINMUX_GPIO163__FUNC_MSDC0_CLK>;
270                         bias-pull-down = <MTK_    184                         bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
271                 };                                185                 };
272                                                   186 
273                 pins-rst {                        187                 pins-rst {
274                         pinmux = <PINMUX_GPIO1    188                         pinmux = <PINMUX_GPIO165__FUNC_MSDC0_RSTB>;
275                         bias-pull-up = <MTK_PU    189                         bias-pull-up = <MTK_PUPD_SET_R1R0_10>;
276                 };                                190                 };
277         };                                        191         };
278                                                   192 
279         mmc0_pins_uhs: emmc-uhs-pins {            193         mmc0_pins_uhs: emmc-uhs-pins {
280                 pins-cmd-dat {                    194                 pins-cmd-dat {
281                         pinmux = <PINMUX_GPIO1    195                         pinmux = <PINMUX_GPIO154__FUNC_MSDC0_DAT0>,
282                                  <PINMUX_GPIO1    196                                  <PINMUX_GPIO155__FUNC_MSDC0_DAT1>,
283                                  <PINMUX_GPIO1    197                                  <PINMUX_GPIO156__FUNC_MSDC0_DAT2>,
284                                  <PINMUX_GPIO1    198                                  <PINMUX_GPIO157__FUNC_MSDC0_DAT3>,
285                                  <PINMUX_GPIO1    199                                  <PINMUX_GPIO158__FUNC_MSDC0_DAT4>,
286                                  <PINMUX_GPIO1    200                                  <PINMUX_GPIO159__FUNC_MSDC0_DAT5>,
287                                  <PINMUX_GPIO1    201                                  <PINMUX_GPIO160__FUNC_MSDC0_DAT6>,
288                                  <PINMUX_GPIO1    202                                  <PINMUX_GPIO161__FUNC_MSDC0_DAT7>,
289                                  <PINMUX_GPIO1    203                                  <PINMUX_GPIO162__FUNC_MSDC0_CMD>;
290                         input-enable;             204                         input-enable;
291                         drive-strength = <6>;  !! 205                         drive-strength = <MTK_DRIVE_6mA>;
292                         bias-pull-up = <MTK_PU    206                         bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
293                 };                                207                 };
294                                                   208 
295                 pins-clk {                        209                 pins-clk {
296                         pinmux = <PINMUX_GPIO1    210                         pinmux = <PINMUX_GPIO163__FUNC_MSDC0_CLK>;
297                         drive-strength = <6>;  !! 211                         drive-strength = <MTK_DRIVE_6mA>;
298                         bias-pull-down = <MTK_    212                         bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
299                 };                                213                 };
300                                                   214 
301                 pins-rst {                        215                 pins-rst {
302                         pinmux = <PINMUX_GPIO1    216                         pinmux = <PINMUX_GPIO165__FUNC_MSDC0_RSTB>;
303                         drive-strength = <6>;  !! 217                         drive-strength = <MTK_DRIVE_6mA>;
304                         bias-pull-up = <MTK_PU    218                         bias-pull-up = <MTK_PUPD_SET_R1R0_10>;
305                 };                                219                 };
306                                                   220 
307                 pins-ds {                         221                 pins-ds {
308                         pinmux = <PINMUX_GPIO1    222                         pinmux = <PINMUX_GPIO164__FUNC_MSDC0_DSL>;
309                         drive-strength = <6>;  !! 223                         drive-strength = <MTK_DRIVE_6mA>;
310                         bias-pull-down = <MTK_    224                         bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
311                 };                                225                 };
312         };                                        226         };
313                                                   227 
314         nfc_pins: nfc-pins {                      228         nfc_pins: nfc-pins {
315                 pins-irq {                        229                 pins-irq {
316                         pinmux = <PINMUX_GPIO3    230                         pinmux = <PINMUX_GPIO3__FUNC_GPIO3>;
317                         bias-pull-down;           231                         bias-pull-down;
318                         input-enable;             232                         input-enable;
319                 };                                233                 };
320                                                   234 
321                 pins-fw-ven {                     235                 pins-fw-ven {
322                         pinmux = <PINMUX_GPIO9    236                         pinmux = <PINMUX_GPIO94__FUNC_GPIO94>,
323                                  <PINMUX_GPIO1    237                                  <PINMUX_GPIO149__FUNC_GPIO149>;
324                 };                                238                 };
325         };                                        239         };
326                                                   240 
327         ts_pins: touchscreen-pins {               241         ts_pins: touchscreen-pins {
328                 pins-irq {                        242                 pins-irq {
329                         pinmux = <PINMUX_GPIO6    243                         pinmux = <PINMUX_GPIO6__FUNC_GPIO6>;
330                         bias-pull-up;             244                         bias-pull-up;
331                         input-enable;             245                         input-enable;
332                 };                                246                 };
333                                                   247 
334                 pins-rst {                        248                 pins-rst {
335                         pinmux = <PINMUX_GPIO1    249                         pinmux = <PINMUX_GPIO102__FUNC_GPIO102>;
336                         output-high;              250                         output-high;
337                 };                                251                 };
338         };                                        252         };
339                                                   253 
340         proximity_pins: proximity-pins {          254         proximity_pins: proximity-pins {
341                 pins-irq {                        255                 pins-irq {
342                         pinmux = <PINMUX_GPIO8    256                         pinmux = <PINMUX_GPIO8__FUNC_GPIO8>;
343                         bias-pull-up;             257                         bias-pull-up;
344                         input-enable;             258                         input-enable;
345                 };                                259                 };
346         };                                        260         };
347                                                   261 
348         accel_pins: accelerometer-pins {          262         accel_pins: accelerometer-pins {
349                 pins-irq {                        263                 pins-irq {
350                         pinmux = <PINMUX_GPIO1    264                         pinmux = <PINMUX_GPIO12__FUNC_GPIO12>;
351                         bias-pull-up;             265                         bias-pull-up;
352                         input-enable;             266                         input-enable;
353                 };                                267                 };
354         };                                        268         };
355                                                   269 
356         i2c0_pins: i2c0-pins {                    270         i2c0_pins: i2c0-pins {
357                 pins-bus {                        271                 pins-bus {
358                         pinmux = <PINMUX_GPIO4    272                         pinmux = <PINMUX_GPIO45__FUNC_SDA0>,
359                                  <PINMUX_GPIO4    273                                  <PINMUX_GPIO46__FUNC_SCL0>;
360                         input-enable;             274                         input-enable;
361                 };                                275                 };
362         };                                        276         };
363                                                   277 
364         i2c1_pins: i2c1-pins {                    278         i2c1_pins: i2c1-pins {
365                 pins-bus {                        279                 pins-bus {
366                         pinmux = <PINMUX_GPIO1    280                         pinmux = <PINMUX_GPIO125__FUNC_SDA1>,
367                                  <PINMUX_GPIO1    281                                  <PINMUX_GPIO126__FUNC_SCL1>;
368                         bias-disable;             282                         bias-disable;
369                 };                                283                 };
370         };                                        284         };
371                                                   285 
372         i2c2_pins: i2c2-pins {                    286         i2c2_pins: i2c2-pins {
373                 pins-bus {                        287                 pins-bus {
374                         pinmux = <PINMUX_GPIO4    288                         pinmux = <PINMUX_GPIO43__FUNC_SDA2>,
375                                  <PINMUX_GPIO4    289                                  <PINMUX_GPIO44__FUNC_SCL2>;
376                         bias-disable;             290                         bias-disable;
377                 };                                291                 };
378         };                                        292         };
379                                                   293 
380         i2c3_pins: i2c3-pins {                    294         i2c3_pins: i2c3-pins {
381                 pins-bus {                        295                 pins-bus {
382                         pinmux = <PINMUX_GPIO1    296                         pinmux = <PINMUX_GPIO136__FUNC_SDA3>,
383                                  <PINMUX_GPIO1    297                                  <PINMUX_GPIO137__FUNC_SCL3>;
384                         bias-disable;             298                         bias-disable;
385                 };                                299                 };
386         };                                        300         };
387                                                   301 
388         i2c4_pins: i2c4-pins {                    302         i2c4_pins: i2c4-pins {
389                 pins-bus {                        303                 pins-bus {
390                         pinmux = <PINMUX_GPIO1    304                         pinmux = <PINMUX_GPIO100__FUNC_SDA4>,
391                                  <PINMUX_GPIO1    305                                  <PINMUX_GPIO101__FUNC_SCL4>;
392                         bias-disable;             306                         bias-disable;
393                 };                                307                 };
394         };                                        308         };
395                                                   309 
396         uart0_pins: uart0-pins {                  310         uart0_pins: uart0-pins {
397                 pins-rx {                         311                 pins-rx {
398                         pinmux = <PINMUX_GPIO1    312                         pinmux = <PINMUX_GPIO113__FUNC_URXD0>;
399                         bias-pull-up;             313                         bias-pull-up;
400                         input-enable;             314                         input-enable;
401                 };                                315                 };
402                 pins-tx {                         316                 pins-tx {
403                         pinmux = <PINMUX_GPIO1    317                         pinmux = <PINMUX_GPIO114__FUNC_UTXD0>;
404                         output-high;              318                         output-high;
405                 };                                319                 };
406         };                                        320         };
407                                                   321 
408         uart2_pins: uart2-pins {                  322         uart2_pins: uart2-pins {
409                 pins-rx {                         323                 pins-rx {
410                         pinmux = <PINMUX_GPIO3    324                         pinmux = <PINMUX_GPIO31__FUNC_URXD2>;
411                         bias-pull-up;             325                         bias-pull-up;
412                         input-enable;             326                         input-enable;
413                 };                                327                 };
414                 pins-tx {                         328                 pins-tx {
415                         pinmux = <PINMUX_GPIO3    329                         pinmux = <PINMUX_GPIO32__FUNC_UTXD2>;
416                 };                                330                 };
417         };                                        331         };
418 };                                                332 };
419                                                   333 
420 &pmic {                                           334 &pmic {
421         /*                                        335         /*
422          * Smartphones, including the Xperia M    336          * Smartphones, including the Xperia M5, are equipped with a companion
423          * MT6332 PMIC: when this is present,     337          * MT6332 PMIC: when this is present, the main MT6331 PMIC will fire
424          * an interrupt on the companion, so w    338          * an interrupt on the companion, so we use the MT6332 IRQ GPIO.
425          */                                       339          */
426         interrupts = <GIC_SPI 160 IRQ_TYPE_LEV    340         interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>;
427                                                << 
428         mt6332-led {                           << 
429                 compatible = "mediatek,mt6332- << 
430                 #address-cells = <1>;          << 
431                 #size-cells = <0>;             << 
432                                                << 
433                 pmic_bl_led: led@0 {           << 
434                         reg = <0>;             << 
435                         label = "backlight-pmi << 
436                 };                             << 
437         };                                     << 
438 };                                             << 
439                                                << 
440 &pwm0 {                                        << 
441         status = "okay";                       << 
442 };                                                341 };
443                                                   342 
444 &uart0 {                                          343 &uart0 {
445         status = "okay";                          344         status = "okay";
446                                                   345 
447         pinctrl-names = "default";                346         pinctrl-names = "default";
448         pinctrl-0 = <&uart0_pins>;                347         pinctrl-0 = <&uart0_pins>;
449 };                                                348 };
450                                                   349 
451 &uart2 {                                          350 &uart2 {
452         status = "okay";                          351         status = "okay";
453                                                   352 
454         pinctrl-names = "default";                353         pinctrl-names = "default";
455         pinctrl-0 = <&uart2_pins>;                354         pinctrl-0 = <&uart2_pins>;
456 };                                                355 };
                                                      

~ [ 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