diff options
Diffstat (limited to 'arch/arm/boot/dts/armada-370-mirabox.dts')
-rw-r--r-- | arch/arm/boot/dts/armada-370-mirabox.dts | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/armada-370-mirabox.dts b/arch/arm/boot/dts/armada-370-mirabox.dts index 3234875824dc..58ee79372206 100644 --- a/arch/arm/boot/dts/armada-370-mirabox.dts +++ b/arch/arm/boot/dts/armada-370-mirabox.dts | |||
@@ -33,6 +33,43 @@ | |||
33 | clock-frequency = <600000000>; | 33 | clock-frequency = <600000000>; |
34 | status = "okay"; | 34 | status = "okay"; |
35 | }; | 35 | }; |
36 | |||
37 | pinctrl { | ||
38 | pwr_led_pin: pwr-led-pin { | ||
39 | marvell,pins = "mpp63"; | ||
40 | marvell,function = "gpo"; | ||
41 | }; | ||
42 | |||
43 | stat_led_pins: stat-led-pins { | ||
44 | marvell,pins = "mpp64", "mpp65"; | ||
45 | marvell,function = "gpio"; | ||
46 | }; | ||
47 | }; | ||
48 | |||
49 | gpio_leds { | ||
50 | compatible = "gpio-leds"; | ||
51 | pinctrl-names = "default"; | ||
52 | pinctrl-0 = <&pwr_led_pin &stat_led_pins>; | ||
53 | |||
54 | green_pwr_led { | ||
55 | label = "mirabox:green:pwr"; | ||
56 | gpios = <&gpio1 31 1>; | ||
57 | linux,default-trigger = "heartbeat"; | ||
58 | }; | ||
59 | |||
60 | blue_stat_led { | ||
61 | label = "mirabox:blue:stat"; | ||
62 | gpios = <&gpio2 0 1>; | ||
63 | linux,default-trigger = "cpu0"; | ||
64 | }; | ||
65 | |||
66 | green_stat_led { | ||
67 | label = "mirabox:green:stat"; | ||
68 | gpios = <&gpio2 1 1>; | ||
69 | default-state = "off"; | ||
70 | }; | ||
71 | }; | ||
72 | |||
36 | mdio { | 73 | mdio { |
37 | phy0: ethernet-phy@0 { | 74 | phy0: ethernet-phy@0 { |
38 | reg = <0>; | 75 | reg = <0>; |
@@ -70,5 +107,32 @@ | |||
70 | usb@d0051000 { | 107 | usb@d0051000 { |
71 | status = "okay"; | 108 | status = "okay"; |
72 | }; | 109 | }; |
110 | |||
111 | i2c@d0011000 { | ||
112 | status = "okay"; | ||
113 | clock-frequency = <100000>; | ||
114 | pca9505: pca9505@25 { | ||
115 | compatible = "nxp,pca9505"; | ||
116 | gpio-controller; | ||
117 | #gpio-cells = <2>; | ||
118 | reg = <0x25>; | ||
119 | }; | ||
120 | }; | ||
121 | |||
122 | pcie-controller { | ||
123 | status = "okay"; | ||
124 | |||
125 | /* Internal mini-PCIe connector */ | ||
126 | pcie@1,0 { | ||
127 | /* Port 0, Lane 0 */ | ||
128 | status = "okay"; | ||
129 | }; | ||
130 | |||
131 | /* Connected on the PCB to a USB 3.0 XHCI controller */ | ||
132 | pcie@2,0 { | ||
133 | /* Port 1, Lane 0 */ | ||
134 | status = "okay"; | ||
135 | }; | ||
136 | }; | ||
73 | }; | 137 | }; |
74 | }; | 138 | }; |