]>
Commit | Line | Data |
---|---|---|
b879d674 JM |
1 | /* |
2 | * Device Tree Source for the GR-Peach board | |
3 | * | |
4 | * Copyright (C) 2017 Jacopo Mondi <jacopo+renesas@jmondi.org> | |
5 | * Copyright (C) 2016 Renesas Electronics | |
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/; | |
13 | #include "r7s72100.dtsi" | |
cfce5ac1 | 14 | #include <dt-bindings/gpio/gpio.h> |
2f8be2d1 | 15 | #include <dt-bindings/pinctrl/r7s72100-pinctrl.h> |
b879d674 JM |
16 | |
17 | / { | |
18 | model = "GR-Peach"; | |
19 | compatible = "renesas,gr-peach", "renesas,r7s72100"; | |
20 | ||
21 | aliases { | |
22 | serial0 = &scif2; | |
23 | }; | |
24 | ||
25 | chosen { | |
26 | bootargs = "ignore_loglevel rw root=/dev/mtdblock0"; | |
27 | stdout-path = "serial0:115200n8"; | |
28 | }; | |
29 | ||
30 | memory@20000000 { | |
31 | device_type = "memory"; | |
32 | reg = <0x20000000 0x00a00000>; | |
b879d674 JM |
33 | }; |
34 | ||
35 | lbsc { | |
36 | #address-cells = <1>; | |
37 | #size-cells = <1>; | |
38 | }; | |
39 | ||
40 | flash@18000000 { | |
41 | compatible = "mtd-rom"; | |
42 | probe-type = "map_rom"; | |
43 | reg = <0x18000000 0x00800000>; | |
44 | bank-width = <4>; | |
45 | device-width = <1>; | |
46 | ||
47 | #address-cells = <1>; | |
48 | #size-cells = <1>; | |
49 | ||
50 | rootfs@600000 { | |
51 | label = "rootfs"; | |
52 | reg = <0x00600000 0x00200000>; | |
53 | }; | |
54 | }; | |
cfce5ac1 | 55 | |
4f049e09 | 56 | leds { |
cfce5ac1 JM |
57 | status = "okay"; |
58 | compatible = "gpio-leds"; | |
59 | ||
60 | led1 { | |
61 | gpios = <&port6 12 GPIO_ACTIVE_HIGH>; | |
62 | }; | |
63 | }; | |
b879d674 JM |
64 | }; |
65 | ||
2f8be2d1 JM |
66 | &pinctrl { |
67 | scif2_pins: serial2 { | |
68 | /* P6_2 as RxD2; P6_3 as TxD2 */ | |
69 | pinmux = <RZA1_PINMUX(6, 2, 7)>, <RZA1_PINMUX(6, 3, 7)>; | |
70 | }; | |
71 | }; | |
72 | ||
b879d674 JM |
73 | &extal_clk { |
74 | clock-frequency = <13333000>; | |
75 | }; | |
76 | ||
77 | &usb_x1_clk { | |
78 | clock-frequency = <48000000>; | |
79 | }; | |
80 | ||
62cea6d2 JM |
81 | &mtu2 { |
82 | status = "okay"; | |
83 | }; | |
84 | ||
b879d674 | 85 | &scif2 { |
2f8be2d1 JM |
86 | pinctrl-names = "default"; |
87 | pinctrl-0 = <&scif2_pins>; | |
88 | ||
b879d674 JM |
89 | status = "okay"; |
90 | }; |