Hisashi Nakamura | 1f52c65 | 2013-09-04 12:46:49 +0900 | [diff] [blame] | 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/; |
Laurent Pinchart | 31c46cb | 2013-11-09 13:23:53 +0100 | [diff] [blame] | 13 | #include "r8a7791.dtsi" |
Laurent Pinchart | f8e2535 | 2013-12-11 15:13:48 +0100 | [diff] [blame] | 14 | #include <dt-bindings/gpio/gpio.h> |
Hisashi Nakamura | 1f52c65 | 2013-09-04 12:46:49 +0900 | [diff] [blame] | 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 | }; |
Laurent Pinchart | f8e2535 | 2013-12-11 15:13:48 +0100 | [diff] [blame] | 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 | |
Laurent Pinchart | fcf0c72 | 2013-12-11 15:13:50 +0100 | [diff] [blame] | 48 | &extal_clk { |
| 49 | clock-frequency = <20000000>; |
| 50 | }; |
| 51 | |
Laurent Pinchart | f8e2535 | 2013-12-11 15:13:48 +0100 | [diff] [blame] | 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 | }; |
Hisashi Nakamura | 1f52c65 | 2013-09-04 12:46:49 +0900 | [diff] [blame] | 65 | }; |