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

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/marvell/kirkwood-t5325.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 ] ~

  1 // SPDX-License-Identifier: GPL-2.0
  2 /*
  3  * Device Tree file for HP t5325 Thin Client"
  4  *
  5  * Copyright (C) 2014
  6  *
  7  * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  8  * Andrew Lunn <andrew@lunn.ch>
  9  *
 10 */
 11 
 12 /dts-v1/;
 13 
 14 #include "kirkwood.dtsi"
 15 #include "kirkwood-6281.dtsi"
 16 
 17 / {
 18         model = "HP t5325 Thin Client";
 19         compatible = "hp,t5325", "marvell,kirkwood-88f6281", "marvell,kirkwood";
 20 
 21         memory {
 22                 device_type = "memory";
 23                 reg = <0x00000000 0x20000000>;
 24         };
 25 
 26         chosen {
 27                 bootargs = "console=ttyS0,115200n8";
 28                 stdout-path = &uart0;
 29         };
 30 
 31         ocp@f1000000 {
 32                 pinctrl: pin-controller@10000 {
 33                         pinctrl-0 = <&pmx_i2s &pmx_sysrst>;
 34                         pinctrl-names = "default";
 35 
 36                         pmx_button_power: pmx-button_power {
 37                                 marvell,pins = "mpp45";
 38                                 marvell,function = "gpio";
 39                         };
 40 
 41                         pmx_power_off: pmx-power-off {
 42                                 marvell,pins = "mpp48";
 43                                 marvell,function = "gpio";
 44                         };
 45 
 46                         pmx_led: pmx-led {
 47                                 marvell,pins = "mpp21";
 48                                 marvell,function = "gpio";
 49                         };
 50 
 51                         pmx_usb_sata_power_enable: pmx-usb-sata-power-enable {
 52                                 marvell,pins = "mpp44";
 53                                 marvell,function = "gpio";
 54                         };
 55 
 56                         pmx_spi: pmx-spi {
 57                                 marvell,pins = "mpp1", "mpp2", "mpp3", "mpp7";
 58                                 marvell,function = "spi";
 59                         };
 60 
 61                         pmx_sysrst: pmx-sysrst {
 62                                 marvell,pins = "mpp6";
 63                                 marvell,function = "sysrst";
 64                         };
 65 
 66                         pmx_i2s: pmx-i2s {
 67                                 marvell,pins = "mpp39", "mpp40", "mpp41", "mpp42",
 68                                                "mpp43";
 69                                 marvell,function = "audio";
 70                         };
 71                 };
 72 
 73                 spi@10600 {
 74                         status = "okay";
 75 
 76                         flash@0 {
 77                                 #address-cells = <1>;
 78                                 #size-cells = <1>;
 79                                 compatible = "st,m25p80", "jedec,spi-nor";
 80                                 spi-max-frequency = <86000000>;
 81                                 reg = <0>;
 82                                 mode = <0>;
 83 
 84                                 partition@0 {
 85                                         reg = <0x0 0x80000>;
 86                                         label = "u-boot";
 87                                 };
 88 
 89                                 partition@1 {
 90                                         reg = <0x80000 0x40000>;
 91                                         label = "SSD firmware";
 92                                 };
 93 
 94                                 partition@2 {
 95                                         reg = <0xc0000 0x10000>;
 96                                         label = "u-boot env";
 97                                 };
 98 
 99                                 partition@3 {
100                                         reg = <0xd0000 0x10000>;
101                                         label = "permanent u-boot env";
102                                 };
103 
104                                 partition@4 {
105                                         reg = <0xd0000 0x10000>;
106                                         label = "permanent u-boot env";
107                                 };
108                         };
109                 };
110 
111                 i2c@11000 {
112                         status = "okay";
113 
114                         alc5621: alc5621@1a {
115                                 compatible = "realtek,alc5621";
116                                 reg = <0x1a>;
117                                 #sound-dai-cells = <0>;
118                                 add-ctrl = <0x3700>;
119                                 jack-det-ctrl = <0x4810>;
120                         };
121                 };
122 
123                 serial@12000 {
124                         status = "okay";
125                 };
126 
127                 sata@80000 {
128                         status = "okay";
129                         nr-ports = <2>;
130                 };
131 
132                 audio: audio-controller@a0000 {
133                         status = "okay";
134                 };
135         };
136 
137         regulators {
138                 compatible = "simple-bus";
139                 #address-cells = <1>;
140                 #size-cells = <0>;
141                 pinctrl-0 = <&pmx_usb_sata_power_enable>;
142                 pinctrl-names = "default";
143 
144                 usb_power: regulator@1 {
145                         compatible = "regulator-fixed";
146                         reg = <1>;
147                         regulator-name = "USB-SATA Power";
148                         regulator-min-microvolt = <5000000>;
149                         regulator-max-microvolt = <5000000>;
150                         enable-active-high;
151                         regulator-always-on;
152                         regulator-boot-on;
153                         gpio = <&gpio1 12 GPIO_ACTIVE_HIGH>;
154                 };
155         };
156 
157         gpio_keys {
158                 compatible = "gpio-keys";
159                 pinctrl-0 = <&pmx_button_power>;
160                 pinctrl-names = "default";
161 
162                 button-power {
163                         label = "Power Button";
164                         linux,code = <KEY_POWER>;
165                         gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
166                 };
167         };
168 
169         gpio_poweroff {
170                 compatible = "gpio-poweroff";
171                 pinctrl-0 = <&pmx_power_off>;
172                 pinctrl-names = "default";
173                 gpios = <&gpio1 17 GPIO_ACTIVE_HIGH>;
174         };
175 
176         sound {
177                 compatible = "simple-audio-card";
178                 simple-audio-card,format = "i2s";
179                 simple-audio-card,routing =
180                         "Headphone Jack", "HPL",
181                         "Headphone Jack", "HPR",
182                         "Speaker", "SPKOUT",
183                         "Speaker", "SPKOUTN",
184                         "MIC1", "Mic Jack",
185                         "MIC2", "Mic Jack";
186                 simple-audio-card,widgets =
187                         "Headphone", "Headphone Jack",
188                         "Speaker", "Speaker",
189                         "Microphone", "Mic Jack";
190 
191                 simple-audio-card,mclk-fs = <256>;
192 
193                 simple-audio-card,cpu {
194                         sound-dai = <&audio>;
195                 };
196 
197                 simple-audio-card,codec {
198                         sound-dai = <&alc5621>;
199                 };
200         };
201 };
202 
203 &mdio {
204         status = "okay";
205 
206         ethphy0: ethernet-phy@8 {
207                 device_type = "ethernet-phy";
208                 reg = <8>;
209         };
210 };
211 
212 &eth0 {
213         status = "okay";
214         ethernet0-port@0 {
215                 phy-handle = <&ethphy0>;
216         };
217 };
218 
219 &pciec {
220         status = "okay";
221 };
222 
223 &pcie0 {
224         status = "okay";
225 };

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