1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree file for HP t5325 Thin Client"
7 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 * Andrew Lunn <andrew@lunn.ch>
14 #include "kirkwood.dtsi"
15 #include "kirkwood-6281.dtsi"
18 model = "HP t5325 Thin Client";
19 compatible = "hp,t5325", "marvell,kirkwood-88f6281", "marvell,kirkwood";
22 device_type = "memory";
23 reg = <0x00000000 0x20000000>;
27 bootargs = "console=ttyS0,115200n8";
32 pinctrl: pin-controller@10000 {
33 pinctrl-0 = <&pmx_i2s &pmx_sysrst>;
34 pinctrl-names = "default";
36 pmx_button_power: pmx-button_power {
37 marvell,pins = "mpp45";
38 marvell,function = "gpio";
41 pmx_power_off: pmx-power-off {
42 marvell,pins = "mpp48";
43 marvell,function = "gpio";
47 marvell,pins = "mpp21";
48 marvell,function = "gpio";
51 pmx_usb_sata_power_enable: pmx-usb-sata-power-enable {
52 marvell,pins = "mpp44";
53 marvell,function = "gpio";
57 marvell,pins = "mpp1", "mpp2", "mpp3", "mpp7";
58 marvell,function = "spi";
61 pmx_sysrst: pmx-sysrst {
62 marvell,pins = "mpp6";
63 marvell,function = "sysrst";
67 marvell,pins = "mpp39", "mpp40", "mpp41", "mpp42",
69 marvell,function = "audio";
79 compatible = "st,m25p80", "jedec,spi-nor";
80 spi-max-frequency = <86000000>;
90 reg = <0x80000 0x40000>;
91 label = "SSD firmware";
95 reg = <0xc0000 0x10000>;
100 reg = <0xd0000 0x10000>;
101 label = "permanent u-boot env";
105 reg = <0xd0000 0x10000>;
106 label = "permanent u-boot env";
114 alc5621: alc5621@1a {
115 compatible = "realtek,alc5621";
117 #sound-dai-cells = <0>;
119 jack-det-ctrl = <0x4810>;
132 audio: audio-controller@a0000 {
138 compatible = "simple-bus";
139 #address-cells = <1>;
141 pinctrl-0 = <&pmx_usb_sata_power_enable>;
142 pinctrl-names = "default";
144 usb_power: regulator@1 {
145 compatible = "regulator-fixed";
147 regulator-name = "USB-SATA Power";
148 regulator-min-microvolt = <5000000>;
149 regulator-max-microvolt = <5000000>;
153 gpio = <&gpio1 12 GPIO_ACTIVE_HIGH>;
158 compatible = "gpio-keys";
159 #address-cells = <1>;
161 pinctrl-0 = <&pmx_button_power>;
162 pinctrl-names = "default";
165 label = "Power Button";
166 linux,code = <KEY_POWER>;
167 gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
172 compatible = "gpio-poweroff";
173 pinctrl-0 = <&pmx_power_off>;
174 pinctrl-names = "default";
175 gpios = <&gpio1 17 GPIO_ACTIVE_HIGH>;
179 compatible = "simple-audio-card";
180 simple-audio-card,format = "i2s";
181 simple-audio-card,routing =
182 "Headphone Jack", "HPL",
183 "Headphone Jack", "HPR",
185 "Speaker", "SPKOUTN",
188 simple-audio-card,widgets =
189 "Headphone", "Headphone Jack",
190 "Speaker", "Speaker",
191 "Microphone", "Mic Jack";
193 simple-audio-card,mclk-fs = <256>;
195 simple-audio-card,cpu {
196 sound-dai = <&audio>;
199 simple-audio-card,codec {
200 sound-dai = <&alc5621>;
208 ethphy0: ethernet-phy@8 {
209 device_type = "ethernet-phy";
217 phy-handle = <ðphy0>;