Kuninori Morimoto | cfa66a8 | 2013-07-24 00:36:51 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Reference Device Tree Source for the Bock-W board |
| 3 | * |
| 4 | * Copyright (C) 2013 Renesas Solutions Corp. |
| 5 | * Copyright (C) 2013 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
| 6 | * |
| 7 | * based on r8a7779 |
| 8 | * |
| 9 | * Copyright (C) 2013 Renesas Solutions Corp. |
| 10 | * Copyright (C) 2013 Simon Horman |
| 11 | * |
| 12 | * This file is licensed under the terms of the GNU General Public License |
| 13 | * version 2. This program is licensed "as is" without any warranty of any |
| 14 | * kind, whether express or implied. |
| 15 | */ |
| 16 | |
| 17 | /dts-v1/; |
| 18 | /include/ "r8a7778.dtsi" |
| 19 | |
| 20 | / { |
| 21 | model = "bockw"; |
| 22 | compatible = "renesas,bockw-reference", "renesas,r8a7778"; |
| 23 | |
| 24 | chosen { |
Kuninori Morimoto | 1e918e0 | 2013-10-02 01:34:07 -0700 | [diff] [blame] | 25 | bootargs = "console=ttySC0,115200 ignore_loglevel root=/dev/nfs ip=dhcp rw"; |
Kuninori Morimoto | cfa66a8 | 2013-07-24 00:36:51 -0700 | [diff] [blame] | 26 | }; |
| 27 | |
| 28 | memory { |
| 29 | device_type = "memory"; |
| 30 | reg = <0x60000000 0x10000000>; |
| 31 | }; |
Kuninori Morimoto | 1e918e0 | 2013-10-02 01:34:07 -0700 | [diff] [blame] | 32 | |
| 33 | fixedregulator3v3: fixedregulator@0 { |
| 34 | compatible = "regulator-fixed"; |
| 35 | regulator-name = "fixed-3.3V"; |
| 36 | regulator-min-microvolt = <3300000>; |
| 37 | regulator-max-microvolt = <3300000>; |
| 38 | regulator-boot-on; |
| 39 | regulator-always-on; |
| 40 | }; |
| 41 | |
Kuninori Morimoto | 73c79af | 2013-10-03 18:20:19 -0700 | [diff] [blame] | 42 | ethernet@18300000 { |
Kuninori Morimoto | 1e918e0 | 2013-10-02 01:34:07 -0700 | [diff] [blame] | 43 | compatible = "smsc,lan9220", "smsc,lan9115"; |
| 44 | reg = <0x18300000 0x1000>; |
| 45 | |
| 46 | phy-mode = "mii"; |
| 47 | interrupt-parent = <&irqpin>; |
| 48 | interrupts = <0 0>; /* IRQ0: hwirq 0 on irqpin */ |
| 49 | reg-io-width = <4>; |
| 50 | vddvario-supply = <&fixedregulator3v3>; |
| 51 | vdd33a-supply = <&fixedregulator3v3>; |
| 52 | }; |
Kuninori Morimoto | 14cdd83 | 2013-10-03 18:32:34 -0700 | [diff] [blame^] | 53 | |
| 54 | mmc_pins: mmc { |
| 55 | renesas,groups = "mmc_data8", "mmc_ctrl"; |
| 56 | renesas,function = "mmc"; |
| 57 | }; |
| 58 | }; |
| 59 | |
| 60 | &mmcif { |
| 61 | pinctrl-0 = <&mmc_pins>; |
| 62 | pinctrl-names = "default"; |
| 63 | |
| 64 | vmmc-supply = <&fixedregulator3v3>; |
| 65 | bus-width = <8>; |
| 66 | broken-cd; |
| 67 | status = "okay"; |
Kuninori Morimoto | 1e918e0 | 2013-10-02 01:34:07 -0700 | [diff] [blame] | 68 | }; |
| 69 | |
| 70 | &irqpin { |
| 71 | status = "okay"; |
Kuninori Morimoto | cfa66a8 | 2013-07-24 00:36:51 -0700 | [diff] [blame] | 72 | }; |
Kuninori Morimoto | 8ed1f8a | 2013-10-03 18:31:16 -0700 | [diff] [blame] | 73 | |
| 74 | &pfc { |
| 75 | pinctrl-0 = <&scif0_pins>; |
| 76 | pinctrl-names = "default"; |
| 77 | |
| 78 | scif0_pins: scif0 { |
| 79 | renesas,groups = "scif0_data_a", "scif0_ctrl"; |
| 80 | renesas,function = "scif0"; |
| 81 | }; |
| 82 | }; |