2 * Device Tree file for HP t5325 Thin Client"
6 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 * Andrew Lunn <andrew@lunn.ch>
9 * This file is licensed under the terms of the GNU General Public
10 * License version 2. This program is licensed "as is" without any
11 * warranty of any kind, whether express or implied.
16 #include "kirkwood.dtsi"
17 #include "kirkwood-6281.dtsi"
20 model = "HP t5325 Thin Client";
21 compatible = "hp,t5325", "marvell,kirkwood-88f6281", "marvell,kirkwood";
24 device_type = "memory";
25 reg = <0x00000000 0x20000000>;
29 bootargs = "console=ttyS0,115200n8";
43 pinctrl: pinctrl@10000 {
44 pinctrl-0 = <&pmx_i2s &pmx_sysrst>;
45 pinctrl-names = "default";
47 pmx_button_power: pmx-button_power {
48 marvell,pins = "mpp45";
49 marvell,function = "gpio";
52 pmx_power_off: pmx-power-off {
53 marvell,pins = "mpp48";
54 marvell,function = "gpio";
58 marvell,pins = "mpp21";
59 marvell,function = "gpio";
62 pmx_usb_sata_power_enable: pmx-usb-sata-power-enable {
63 marvell,pins = "mpp44";
64 marvell,function = "gpio";
68 * Redefined from kirkwood-6281.dtsi, because
69 * we don't use SPI CS on MPP0, but on MPP7.
72 marvell,pins = "mpp1", "mpp2", "mpp3", "mpp7";
73 marvell,function = "spi";
76 pmx_sysrst: pmx-sysrst {
77 marvell,pins = "mpp6";
78 marvell,function = "sysrst";
82 marvell,pins = "mpp39", "mpp40", "mpp41", "mpp42",
84 marvell,function = "audio";
89 pinctrl-0 = <&pmx_spi>;
90 pinctrl-names = "default";
96 compatible = "st,m25p80";
97 spi-max-frequency = <86000000>;
107 reg = <0x80000 0x40000>;
108 label = "SSD firmware";
112 reg = <0xc0000 0x10000>;
113 label = "u-boot env";
117 reg = <0xd0000 0x10000>;
118 label = "permanent u-boot env";
122 reg = <0xd0000 0x10000>;
123 label = "permanent u-boot env";
141 audio: audio-controller@a0000 {
147 compatible = "simple-bus";
148 #address-cells = <1>;
150 pinctrl-0 = <&pmx_usb_sata_power_enable>;
151 pinctrl-names = "default";
153 usb_power: regulator@1 {
154 compatible = "regulator-fixed";
156 regulator-name = "USB-SATA Power";
157 regulator-min-microvolt = <5000000>;
158 regulator-max-microvolt = <5000000>;
162 gpio = <&gpio1 12 GPIO_ACTIVE_HIGH>;
167 compatible = "gpio-keys";
168 #address-cells = <1>;
170 pinctrl-0 = <&pmx_button_power>;
171 pinctrl-names = "default";
174 label = "Power Button";
175 linux,code = <KEY_POWER>;
176 gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
181 compatible = "gpio-poweroff";
182 pinctrl-0 = <&pmx_power_off>;
183 pinctrl-names = "default";
184 gpios = <&gpio1 17 GPIO_ACTIVE_HIGH>;
192 ethphy0: ethernet-phy {
193 device_type = "ethernet-phy";
201 phy-handle = <ðphy0>;