arm64: dts: qcom: sm8550: add TRNG node
[linux-modified.git] / arch / arm64 / boot / dts / freescale / tqmls10xxa-mbls10xxa.dtsi
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 };