blob: 3e54f38f0ab6f46585647afb2b8b79765ba8b7b4 [file] [log] [blame]
Jagan Teki635727d2020-06-10 16:06:57 +05301// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd
4 * Copyright (c) 2019 Radxa Limited
5 * Copyright (c) 2019 Amarula Solutions(India)
6 */
7
8#include <dt-bindings/pwm/pwm.h>
9
10/ {
11 chosen {
12 stdout-path = "serial2:1500000n8";
13 };
14};
15
16&gmac {
17 status = "okay";
18};
19
20&i2c1 {
21 status = "okay";
22 i2c-scl-rising-time-ns = <140>;
23 i2c-scl-falling-time-ns = <30>;
24};
25
26&i2c2 {
27 status = "okay";
28 clock-frequency = <400000>;
29
30 hym8563: hym8563@51 {
31 compatible = "haoyu,hym8563";
32 reg = <0x51>;
33 #clock-cells = <0>;
34 clock-frequency = <32768>;
35 clock-output-names = "hym8563";
36 pinctrl-names = "default";
37 pinctrl-0 = <&hym8563_int>;
38 interrupt-parent = <&gpio4>;
39 interrupts = <30 IRQ_TYPE_LEVEL_LOW>;
40 };
41};
42
43&pwm0 {
44 status = "okay";
45};
46
47&pwm2 {
48 status = "okay";
49};
50
51&sdmmc {
52 bus-width = <4>;
53 cap-mmc-highspeed;
54 cap-sd-highspeed;
Jagan Teki635727d2020-06-10 16:06:57 +053055 disable-wp;
56 vqmmc-supply = <&vccio_sd>;
Jagan Teki635727d2020-06-10 16:06:57 +053057 pinctrl-names = "default";
58 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
59 status = "okay";
60};
61
62&uart0 {
63 pinctrl-names = "default";
64 pinctrl-0 = <&uart0_xfer &uart0_cts>;
65 status = "okay";
66};
67
68&uart2 {
69 status = "okay";
70};
71
72&pinctrl {
73 hym8563 {
74 hym8563_int: hym8563-int {
75 rockchip,pins =
76 <4 RK_PD6 0 &pcfg_pull_up>;
77 };
78 };
79};