Magnus Damm | a4ed412 | 2013-09-19 05:11:29 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Source for the Genmai board |
| 3 | * |
Wolfram Sang | 2606f47 | 2014-05-16 14:10:14 +0200 | [diff] [blame] | 4 | * Copyright (C) 2013-14 Renesas Solutions Corp. |
| 5 | * Copyright (C) 2014 Wolfram Sang, Sang Engineering <wsa@sang-engineering.com> |
Magnus Damm | a4ed412 | 2013-09-19 05:11:29 +0900 | [diff] [blame] | 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 "r7s72100.dtsi" |
Magnus Damm | a4ed412 | 2013-09-19 05:11:29 +0900 | [diff] [blame] | 14 | |
| 15 | / { |
| 16 | model = "Genmai"; |
| 17 | compatible = "renesas,genmai", "renesas,r7s72100"; |
| 18 | |
Wolfram Sang | 2606f47 | 2014-05-16 14:10:14 +0200 | [diff] [blame] | 19 | aliases { |
| 20 | serial2 = &scif2; |
| 21 | }; |
| 22 | |
Magnus Damm | a4ed412 | 2013-09-19 05:11:29 +0900 | [diff] [blame] | 23 | chosen { |
Geert Uytterhoeven | a678986 | 2014-10-03 17:11:35 +0200 | [diff] [blame] | 24 | bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp"; |
| 25 | stdout-path = &scif2; |
Magnus Damm | a4ed412 | 2013-09-19 05:11:29 +0900 | [diff] [blame] | 26 | }; |
| 27 | |
| 28 | memory { |
| 29 | device_type = "memory"; |
| 30 | reg = <0x08000000 0x08000000>; |
| 31 | }; |
| 32 | |
| 33 | lbsc { |
| 34 | #address-cells = <1>; |
| 35 | #size-cells = <1>; |
| 36 | }; |
| 37 | }; |
Wolfram Sang | 2606f47 | 2014-05-16 14:10:14 +0200 | [diff] [blame] | 38 | |
| 39 | &extal_clk { |
| 40 | clock-frequency = <13330000>; |
| 41 | }; |
| 42 | |
| 43 | &usb_x1_clk { |
| 44 | clock-frequency = <48000000>; |
| 45 | }; |
| 46 | |
Laurent Pinchart | 9dddfcf | 2014-07-09 15:12:44 +0200 | [diff] [blame] | 47 | &mtu2 { |
Geert Uytterhoeven | 5f61ffb | 2014-12-09 12:24:59 +0100 | [diff] [blame] | 48 | status = "okay"; |
Laurent Pinchart | 9dddfcf | 2014-07-09 15:12:44 +0200 | [diff] [blame] | 49 | }; |
| 50 | |
Wolfram Sang | 2606f47 | 2014-05-16 14:10:14 +0200 | [diff] [blame] | 51 | &i2c2 { |
| 52 | status = "okay"; |
| 53 | clock-frequency = <400000>; |
| 54 | |
| 55 | eeprom@50 { |
| 56 | compatible = "renesas,24c128"; |
| 57 | reg = <0x50>; |
| 58 | pagesize = <64>; |
| 59 | }; |
| 60 | }; |
| 61 | |
| 62 | &scif2 { |
| 63 | status = "okay"; |
| 64 | }; |
Geert Uytterhoeven | ae6b618 | 2014-07-03 14:02:45 +0200 | [diff] [blame] | 65 | |
| 66 | &spi4 { |
| 67 | status = "okay"; |
| 68 | |
| 69 | codec: codec@0 { |
| 70 | compatible = "wlf,wm8978"; |
| 71 | reg = <0>; |
| 72 | spi-max-frequency = <5000000>; |
| 73 | }; |
| 74 | }; |