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 { |
| 24 | bootargs = "console=ttySC2,115200 ignore_loglevel rw root=/dev/nfs ip=dhcp"; |
| 25 | }; |
| 26 | |
| 27 | memory { |
| 28 | device_type = "memory"; |
| 29 | reg = <0x08000000 0x08000000>; |
| 30 | }; |
| 31 | |
| 32 | lbsc { |
| 33 | #address-cells = <1>; |
| 34 | #size-cells = <1>; |
| 35 | }; |
| 36 | }; |
Wolfram Sang | 2606f47 | 2014-05-16 14:10:14 +0200 | [diff] [blame] | 37 | |
| 38 | &extal_clk { |
| 39 | clock-frequency = <13330000>; |
| 40 | }; |
| 41 | |
| 42 | &usb_x1_clk { |
| 43 | clock-frequency = <48000000>; |
| 44 | }; |
| 45 | |
Laurent Pinchart | 9dddfcf | 2014-07-09 15:12:44 +0200 | [diff] [blame] | 46 | &mtu2 { |
| 47 | status = "ok"; |
| 48 | }; |
| 49 | |
Wolfram Sang | 2606f47 | 2014-05-16 14:10:14 +0200 | [diff] [blame] | 50 | &i2c2 { |
| 51 | status = "okay"; |
| 52 | clock-frequency = <400000>; |
| 53 | |
| 54 | eeprom@50 { |
| 55 | compatible = "renesas,24c128"; |
| 56 | reg = <0x50>; |
| 57 | pagesize = <64>; |
| 58 | }; |
| 59 | }; |
| 60 | |
| 61 | &scif2 { |
| 62 | status = "okay"; |
| 63 | }; |
Geert Uytterhoeven | ae6b618 | 2014-07-03 14:02:45 +0200 | [diff] [blame] | 64 | |
| 65 | &spi4 { |
| 66 | status = "okay"; |
| 67 | |
| 68 | codec: codec@0 { |
| 69 | compatible = "wlf,wm8978"; |
| 70 | reg = <0>; |
| 71 | spi-max-frequency = <5000000>; |
| 72 | }; |
| 73 | }; |