Commit | Line | Data |
---|---|---|
1f52c659 HN |
1 | /* |
2 | * Device Tree Source for the Koelsch board | |
3 | * | |
4 | * Copyright (C) 2013 Renesas Electronics Corporation | |
5 | * Copyright (C) 2013 Renesas Solutions Corp. | |
6 | * | |
7 | * This file is licensed under the terms of the GNU General Public License | |
8 | * version 2. This program is licensed "as is" without any warranty of any | |
9 | * kind, whether express or implied. | |
10 | */ | |
11 | ||
12 | /dts-v1/; | |
31c46cbf | 13 | #include "r8a7791.dtsi" |
f8e2535d | 14 | #include <dt-bindings/gpio/gpio.h> |
1f52c659 HN |
15 | |
16 | / { | |
17 | model = "Koelsch"; | |
18 | compatible = "renesas,koelsch", "renesas,r8a7791"; | |
19 | ||
20 | chosen { | |
21 | bootargs = "console=ttySC6,115200 ignore_loglevel rw root=/dev/nfs ip=dhcp"; | |
22 | }; | |
23 | ||
24 | memory@40000000 { | |
25 | device_type = "memory"; | |
26 | reg = <0 0x40000000 0 0x80000000>; | |
27 | }; | |
28 | ||
29 | lbsc { | |
30 | #address-cells = <1>; | |
31 | #size-cells = <1>; | |
32 | }; | |
f8e2535d LP |
33 | |
34 | leds { | |
35 | compatible = "gpio-leds"; | |
36 | led6 { | |
37 | gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>; | |
38 | }; | |
39 | led7 { | |
40 | gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>; | |
41 | }; | |
42 | led8 { | |
43 | gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>; | |
44 | }; | |
45 | }; | |
46 | }; | |
47 | ||
fcf0c725 LP |
48 | &extal_clk { |
49 | clock-frequency = <20000000>; | |
50 | }; | |
51 | ||
f8e2535d LP |
52 | &pfc { |
53 | pinctrl-0 = <&scif0_pins &scif1_pins>; | |
54 | pinctrl-names = "default"; | |
55 | ||
56 | scif0_pins: serial0 { | |
57 | renesas,groups = "scif0_data_d"; | |
58 | renesas,function = "scif0"; | |
59 | }; | |
60 | ||
61 | scif1_pins: serial1 { | |
62 | renesas,groups = "scif1_data_d"; | |
63 | renesas,function = "scif1"; | |
64 | }; | |
1f52c659 | 65 | }; |