2 * Copyright (c) 2016 Jared McNeill <jmcneill@invisible.ca>
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright
11 * notice, this list of conditions and the following disclaimer in the
12 * documentation and/or other materials provided with the distribution.
14 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 hdmi_clk: clk@01c20150 {
33 compatible = "allwinner,sun4i-a10-hdmi-clk";
34 reg = <0x01c20150 0x4>;
35 clocks = <&pll3>, <&pll7>, <&pll3x2>, <&pll7x2>;
36 clock-output-names = "hdmi";
39 lcd0_ch0_clk: clk@01c20118 {
42 compatible = "allwinner,sun4i-a10-lcd-ch0-clk";
43 reg = <0x01c20118 0x4>;
44 clocks = <&pll3>, <&pll7>, <&pll3x2>, <&pll6 2>;
45 clock-output-names = "lcd0_ch0";
48 lcd0_ch1_clk: clk@01c2012c {
50 compatible = "allwinner,sun4i-a10-lcd-ch1-clk";
51 reg = <0x01c2012c 0x4>;
52 clocks = <&pll3>, <&pll7>, <&pll3x2>, <&pll7x2>;
53 clock-output-names = "lcd0_ch1_sclk1",
57 de_be0_clk: clk@01c20104 {
60 compatible = "allwinner,sun4i-a10-de-be-clk";
61 reg = <0x01c20104 0x4>;
62 clocks = <&pll3>, <&pll7>, <&pll5 1>;
63 clock-output-names = "de_be0";
69 compatible = "allwinner,sun7i-a20-hdmi";
70 reg = <0x01c16000 0x1000>;
71 clocks = <&ahb_gates 43>, <&hdmi_clk>,
73 clock-names = "ahb", "hdmi",
79 compatible = "allwinner,sun7i-a20-hdmiaudio";
84 compatible = "allwinner,sun7i-a20-fb";
85 reg = <0x01e60000 0x10000>, /* DEBE0 */
86 <0x01c0c000 0x1000>; /* LCD0 */
87 clocks = <&ahb_gates 44>, <&dram_gates 26>,
88 <&de_be0_clk>, <&ahb_gates 36>,
89 <&lcd0_ch1_clk 0>, <&lcd0_ch1_clk 1>;
90 clock-names = "ahb_de_be", "dram_de_be",
92 "lcd_ch1_sclk1", "lcd_ch1_sclk2";
93 resets = <&de_be0_clk>, <&lcd0_ch0_clk>;
94 reset-names = "de_be", "lcd";