Commit | Line | Data |
---|---|---|
40e3e672 SK |
1 | /* |
2 | * Copyright (C) 2013 STMicroelectronics (R&D) Limited. | |
3 | * Author: Srinivas Kandagatla <srinivas.kandagatla@st.com> | |
4 | * | |
5 | * This program is free software; you can redistribute it and/or modify | |
6 | * it under the terms of the GNU General Public License version 2 as | |
7 | * publishhed by the Free Software Foundation. | |
8 | */ | |
9 | / { | |
10 | memory{ | |
11 | device_type = "memory"; | |
12 | reg = <0x40000000 0x80000000>; | |
13 | }; | |
14 | ||
15 | chosen { | |
16 | bootargs = "console=ttyAS0,115200"; | |
17 | linux,stdout-path = &sbc_serial1; | |
18 | }; | |
19 | ||
20 | aliases { | |
21 | ttyAS0 = &sbc_serial1; | |
22 | }; | |
23 | soc { | |
24 | sbc_serial1: serial@fe531000 { | |
25 | status = "okay"; | |
26 | }; | |
27 | ||
28 | leds { | |
29 | compatible = "gpio-leds"; | |
30 | red { | |
31 | #gpio-cells = <1>; | |
32 | label = "Front Panel LED"; | |
33 | gpios = <&PIO4 1>; | |
34 | linux,default-trigger = "heartbeat"; | |
35 | }; | |
36 | green { | |
37 | gpios = <&PIO4 7>; | |
38 | default-state = "off"; | |
39 | }; | |
40 | }; | |
41 | }; | |
42 | }; |