Simon Horman | 6dace67 | 2013-06-28 13:42:16 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Source for the Lager board |
| 3 | * |
| 4 | * Copyright (C) 2013 Renesas Solutions Corp. |
| 5 | * |
| 6 | * This file is licensed under the terms of the GNU General Public License |
| 7 | * version 2. This program is licensed "as is" without any warranty of any |
| 8 | * kind, whether express or implied. |
| 9 | */ |
| 10 | |
| 11 | /dts-v1/; |
| 12 | /include/ "r8a7790.dtsi" |
Laurent Pinchart | 466f302 | 2013-07-16 11:45:56 +0200 | [diff] [blame] | 13 | #include <dt-bindings/gpio/gpio.h> |
Simon Horman | 6dace67 | 2013-06-28 13:42:16 +0900 | [diff] [blame] | 14 | |
| 15 | / { |
| 16 | model = "Lager"; |
| 17 | compatible = "renesas,lager-reference", "renesas,r8a7790"; |
| 18 | |
| 19 | chosen { |
Laurent Pinchart | d2f463a | 2013-07-29 22:31:41 +0200 | [diff] [blame] | 20 | bootargs = "console=ttySC6,115200 ignore_loglevel rw"; |
Simon Horman | 6dace67 | 2013-06-28 13:42:16 +0900 | [diff] [blame] | 21 | }; |
| 22 | |
| 23 | memory@40000000 { |
| 24 | device_type = "memory"; |
| 25 | reg = <0 0x40000000 0 0x80000000>; |
| 26 | }; |
| 27 | |
| 28 | lbsc { |
| 29 | #address-cells = <1>; |
| 30 | #size-cells = <1>; |
| 31 | }; |
Laurent Pinchart | 466f302 | 2013-07-16 11:45:56 +0200 | [diff] [blame] | 32 | |
| 33 | leds { |
| 34 | compatible = "gpio-leds"; |
| 35 | led6 { |
| 36 | gpios = <&gpio4 22 GPIO_ACTIVE_HIGH>; |
| 37 | }; |
| 38 | led7 { |
| 39 | gpios = <&gpio4 23 GPIO_ACTIVE_HIGH>; |
| 40 | }; |
| 41 | led8 { |
| 42 | gpios = <&gpio5 17 GPIO_ACTIVE_HIGH>; |
| 43 | }; |
| 44 | }; |
Kuninori Morimoto | 02b4a74 | 2013-10-06 21:26:58 -0700 | [diff] [blame] | 45 | |
| 46 | fixedregulator3v3: fixedregulator@0 { |
| 47 | compatible = "regulator-fixed"; |
| 48 | regulator-name = "fixed-3.3V"; |
| 49 | regulator-min-microvolt = <3300000>; |
| 50 | regulator-max-microvolt = <3300000>; |
| 51 | regulator-boot-on; |
| 52 | regulator-always-on; |
| 53 | }; |
Simon Horman | 6dace67 | 2013-06-28 13:42:16 +0900 | [diff] [blame] | 54 | }; |
Kuninori Morimoto | 4a46bea | 2013-10-06 21:26:40 -0700 | [diff] [blame] | 55 | |
| 56 | &pfc { |
| 57 | pinctrl-0 = <&scif0_pins &scif1_pins>; |
| 58 | pinctrl-names = "default"; |
| 59 | |
Kuninori Morimoto | f56d51f | 2013-10-21 19:38:16 -0700 | [diff] [blame] | 60 | scif0_pins: serial0 { |
Kuninori Morimoto | 4a46bea | 2013-10-06 21:26:40 -0700 | [diff] [blame] | 61 | renesas,groups = "scif0_data"; |
| 62 | renesas,function = "scif0"; |
| 63 | }; |
| 64 | |
Kuninori Morimoto | f56d51f | 2013-10-21 19:38:16 -0700 | [diff] [blame] | 65 | scif1_pins: serial1 { |
Kuninori Morimoto | 4a46bea | 2013-10-06 21:26:40 -0700 | [diff] [blame] | 66 | renesas,groups = "scif1_data"; |
| 67 | renesas,function = "scif1"; |
| 68 | }; |
Kuninori Morimoto | 02b4a74 | 2013-10-06 21:26:58 -0700 | [diff] [blame] | 69 | |
| 70 | mmc1_pins: mmc1 { |
| 71 | renesas,groups = "mmc1_data8", "mmc1_ctrl"; |
| 72 | renesas,function = "mmc1"; |
| 73 | }; |
| 74 | }; |
| 75 | |
| 76 | &mmcif1 { |
| 77 | pinctrl-0 = <&mmc1_pins>; |
| 78 | pinctrl-names = "default"; |
| 79 | |
| 80 | vmmc-supply = <&fixedregulator3v3>; |
| 81 | bus-width = <8>; |
| 82 | non-removable; |
| 83 | status = "okay"; |
Kuninori Morimoto | 4a46bea | 2013-10-06 21:26:40 -0700 | [diff] [blame] | 84 | }; |