Magnus Damm | 1919a0a | 2013-10-08 15:30:09 +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" |
Magnus Damm | 614a198 | 2013-11-21 09:44:04 +0900 | [diff] [blame^] | 14 | #include <dt-bindings/gpio/gpio.h> |
Magnus Damm | 1919a0a | 2013-10-08 15:30:09 +0900 | [diff] [blame] | 15 | |
| 16 | / { |
| 17 | model = "Koelsch"; |
| 18 | compatible = "renesas,koelsch-reference", "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 | }; |
Magnus Damm | 614a198 | 2013-11-21 09:44:04 +0900 | [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 | }; |
Magnus Damm | 1919a0a | 2013-10-08 15:30:09 +0900 | [diff] [blame] | 46 | }; |
Magnus Damm | b91a89c | 2013-11-20 16:36:59 +0900 | [diff] [blame] | 47 | |
| 48 | &pfc { |
| 49 | pinctrl-0 = <&scif0_pins &scif1_pins>; |
| 50 | pinctrl-names = "default"; |
| 51 | |
| 52 | scif0_pins: serial0 { |
| 53 | renesas,groups = "scif0_data_d"; |
| 54 | renesas,function = "scif0"; |
| 55 | }; |
| 56 | |
| 57 | scif1_pins: serial1 { |
| 58 | renesas,groups = "scif1_data_d"; |
| 59 | renesas,function = "scif1"; |
| 60 | }; |
| 61 | }; |