blob: 0ebaa8bb344c1ef6fc21a191bbaf50740c4c33ab [file] [log] [blame]
Chris Packham0e316662019-01-10 21:01:00 +13001// 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
7/ {
8 model = "Allied Telesis x530";
9 compatible = "alliedtelesis,x530", "marvell,armada385", "marvell,armada380";
10
11 nand-protect {
12 compatible = "atl,nand-protect";
13 protect-gpio = <&gpio1 11 GPIO_ACTIVE_HIGH>;
14 };
15
16 usb-enable {
17 compatible = "atl,usb-enable";
18 enable-gpio = <&gpio0 19 GPIO_ACTIVE_HIGH>;
19 };
20
21 boot-board {
22 compatible = "atl,boot-board";
23 present-gpio = <&gpio0 24 GPIO_ACTIVE_HIGH>;
24 override-gpio = <&gpio1 14 GPIO_ACTIVE_HIGH>;
25 };
26
27 phy-reset {
28 compatible = "atl,phy-reset";
29 reset-gpio = <&gpio0 12 GPIO_ACTIVE_HIGH>,
30 <&gpio1 21 GPIO_ACTIVE_HIGH>;
31 };
32
33 led-enable {
34 compatible = "atl,led-enable";
35 enable-gpio = <&gpio1 17 GPIO_ACTIVE_HIGH>;
36 };
37
38 led_7seg {
39 compatible = "atl,of-led-7seg";
40 segment-gpios = <
41 &led_7seg_gpio 0 0
42 &led_7seg_gpio 1 0
43 &led_7seg_gpio 2 0
44 &led_7seg_gpio 3 0
45 &led_7seg_gpio 4 0
46 &led_7seg_gpio 5 0
47 &led_7seg_gpio 6 0
48 &led_7seg_gpio 7 0>;
49 };
50};