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

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/freescale/tqmls10xxa-mbls10xxa.dtsi

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-later OR MIT)
  2 /*
  3  * Copyright (c) 2018-2023 TQ-Systems GmbH <linux@ew.tq-group.com>,
  4  * D-82229 Seefeld, Germany.
  5  * Author: Gregor Herburger, Timo Herbrecher
  6  *
  7  * Device Tree Include file for MBLS10xxA from TQ
  8  */
  9 
 10 #include <dt-bindings/input/input.h>
 11 #include <dt-bindings/gpio/gpio.h>
 12 #include <dt-bindings/leds/common.h>
 13 
 14 / {
 15         gpio-keys-polled {
 16                 compatible = "gpio-keys-polled";
 17                 poll-interval = <100>;
 18                 autorepeat;
 19 
 20                 button-0 {
 21                         label = "button0";
 22                         gpios = <&gpioexp3 5 GPIO_ACTIVE_LOW>;
 23                         linux,code = <KEY_F1>;
 24                 };
 25 
 26                 button-1 {
 27                         label = "button1";
 28                         gpios = <&gpioexp3 6 GPIO_ACTIVE_LOW>;
 29                         linux,code = <KEY_F2>;
 30                 };
 31         };
 32 
 33         leds {
 34                 compatible = "gpio-leds";
 35 
 36                 led-user {
 37                         gpios = <&gpioexp3 13 GPIO_ACTIVE_LOW>;
 38                         color = <LED_COLOR_ID_GREEN>;
 39                         function = LED_FUNCTION_HEARTBEAT;
 40                         linux,default-trigger = "heartbeat";
 41                 };
 42         };
 43 
 44         reg_3v3: regulator-3v3 {
 45                 compatible = "regulator-fixed";
 46                 regulator-name = "V_3V3_MB";
 47                 regulator-min-microvolt = <3300000>;
 48                 regulator-max-microvolt = <3300000>;
 49         };
 50 };
 51 
 52 &duart0 {
 53         status = "okay";
 54 };
 55 
 56 &duart1 {
 57         status = "okay";
 58 };
 59 
 60 &esdhc {
 61         status = "okay";
 62 };
 63 
 64 &i2c3 {
 65         status = "okay";
 66 
 67         i2c-mux@70 {
 68                 compatible = "nxp,pca9544";
 69                 reg = <0x70>;
 70                 #address-cells = <1>;
 71                 #size-cells = <0>;
 72 
 73                 i2c@0 {
 74                         reg = <0x0>;
 75                         #address-cells = <1>;
 76                         #size-cells = <0>;
 77 
 78                         gpioexp1: gpio@20 {
 79                                 compatible = "nxp,pca9555";
 80                                 reg = <0x20>;
 81                                 vcc-supply = <&reg_3v3>;
 82                                 gpio-controller;
 83                                 #gpio-cells = <2>;
 84                         };
 85 
 86                         gpioexp2: gpio@21 {
 87                                 compatible = "nxp,pca9555";
 88                                 reg = <0x21>;
 89                                 vcc-supply = <&reg_3v3>;
 90                                 gpio-controller;
 91                                 #gpio-cells = <2>;
 92                         };
 93 
 94                         gpioexp3: gpio@22 {
 95                                 compatible = "nxp,pca9555";
 96                                 reg = <0x22>;
 97                                 vcc-supply = <&reg_3v3>;
 98                                 gpio-controller;
 99                                 #gpio-cells = <2>;
100                         };
101                 };
102 
103                 sfp1_i2c: i2c@1 {
104                         reg = <0x1>;
105                         #address-cells = <1>;
106                         #size-cells = <0>;
107                         status = "disabled";
108                 };
109 
110                 sfp2_i2c: i2c@2 {
111                         reg = <0x2>;
112                         #address-cells = <1>;
113                         #size-cells = <0>;
114                         status = "disabled";
115                 };
116 
117                 i2c@3 {
118                         reg = <0x3>;
119                         #address-cells = <1>;
120                         #size-cells = <0>;
121                 };
122         };
123 };
124 
125 &sata {
126         status = "okay";
127 };
128 
129 &usb0 {
130         status = "okay";
131 };
132 
133 &usb1 {
134         dr_mode = "otg";
135         status = "okay";
136 };

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