Marek Vasut | c8ea473 | 2018-01-24 15:52:56 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Source for the Stout board |
| 3 | * |
| 4 | * Copyright (C) 2018 Marek Vasut <marek.vasut@gmail.com> |
| 5 | * |
| 6 | * SPDX-License-Identifier: GPL-2.0 |
| 7 | */ |
| 8 | |
| 9 | /dts-v1/; |
| 10 | #include "r8a7790.dtsi" |
| 11 | |
| 12 | / { |
| 13 | model = "Stout"; |
| 14 | compatible = "renesas,stout", "renesas,r8a7790"; |
| 15 | |
| 16 | aliases { |
| 17 | serial0 = &scif0; |
| 18 | }; |
| 19 | |
| 20 | memory@40000000 { |
| 21 | device_type = "memory"; |
| 22 | reg = <0 0x40000000 0 0x40000000>; |
| 23 | }; |
| 24 | }; |
| 25 | |
| 26 | &extal_clk { |
| 27 | clock-frequency = <20000000>; |
| 28 | }; |
| 29 | |
| 30 | &pfc { |
| 31 | pinctrl-0 = <&scif_clk_pins>; |
| 32 | pinctrl-names = "default"; |
| 33 | |
| 34 | scif0_pins: scif0 { |
| 35 | groups = "scif0_data"; |
| 36 | function = "scif0"; |
| 37 | }; |
| 38 | |
| 39 | scif_clk_pins: scif_clk { |
| 40 | groups = "scif_clk"; |
| 41 | function = "scif_clk"; |
| 42 | }; |
| 43 | }; |
| 44 | |
| 45 | &scif0 { |
| 46 | pinctrl-0 = <&scif0_pins>; |
| 47 | pinctrl-names = "default"; |
| 48 | |
| 49 | status = "okay"; |
| 50 | }; |
| 51 | |
| 52 | &scif_clk { |
| 53 | clock-frequency = <14745600>; |
| 54 | }; |