Merge https://gitlab.denx.de/u-boot/custodians/u-boot-clk
[oweals/u-boot.git] / arch / arm / dts / armada-385-atl-x530DP.dts
1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
3
4 #include "armada-385-atl-x530.dtsi"
5 #include "armada-385-atl-x530-u-boot.dtsi"
6 #include "armada-385-atl-x530DP.dtsi"
7
8 / {
9         model = "Allied Telesis x530DP";
10         compatible = "alliedtelesis,x530DP", "alliedtelesis,x530", "marvell,armada385", "marvell,armada380";
11
12         nand-protect {
13                 compatible = "atl,nand-protect";
14                 protect-gpio = <&gpio1 11 GPIO_ACTIVE_HIGH>;
15         };
16
17         usb-enable {
18                 compatible = "atl,usb-enable";
19                 enable-gpio = <&gpio0 19 GPIO_ACTIVE_HIGH>;
20         };
21
22         boot-board {
23                 compatible = "atl,boot-board";
24                 present-gpio = <&gpio0 24 GPIO_ACTIVE_HIGH>;
25                 override-gpio = <&gpio1 14 GPIO_ACTIVE_HIGH>;
26         };
27
28         phy-reset {
29                 compatible = "atl,phy-reset";
30                 reset-gpio = <&gpio0 12 GPIO_ACTIVE_HIGH>,
31                              <&gpio1 21 GPIO_ACTIVE_HIGH>;
32         };
33
34         led-enable {
35                 compatible = "atl,led-enable";
36                 enable-gpio = <&gpio1 17 GPIO_ACTIVE_HIGH>;
37         };
38
39         led_7seg {
40                 compatible = "atl,of-led-7seg";
41                 segment-gpios = <
42                         &led_7seg_gpio 0 0
43                         &led_7seg_gpio 1 0
44                         &led_7seg_gpio 2 0
45                         &led_7seg_gpio 3 0
46                         &led_7seg_gpio 4 0
47                         &led_7seg_gpio 5 0
48                         &led_7seg_gpio 6 0
49                         &led_7seg_gpio 7 0>;
50         };
51 };