aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun6i-a31.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/boot/dts/sun6i-a31.dtsi')
-rw-r--r--arch/arm/boot/dts/sun6i-a31.dtsi64
1 files changed, 55 insertions, 9 deletions
diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi
index 44b07e512c24..543f895d18d3 100644
--- a/arch/arm/boot/dts/sun6i-a31.dtsi
+++ b/arch/arm/boot/dts/sun6i-a31.dtsi
@@ -3,12 +3,48 @@
3 * 3 *
4 * Maxime Ripard <maxime.ripard@free-electrons.com> 4 * Maxime Ripard <maxime.ripard@free-electrons.com>
5 * 5 *
6 * The code contained herein is licensed under the GNU General Public 6 * This file is dual-licensed: you can use it either under the terms
7 * License. You may obtain a copy of the GNU General Public License 7 * of the GPL or the X11 license, at your option. Note that this dual
8 * Version 2 or later at the following locations: 8 * licensing only applies to this file, and not this project as a
9 * whole.
9 * 10 *
10 * http://www.opensource.org/licenses/gpl-license.html 11 * a) This library is free software; you can redistribute it and/or
11 * http://www.gnu.org/copyleft/gpl.html 12 * modify it under the terms of the GNU General Public License as
13 * published by the Free Software Foundation; either version 2 of the
14 * License, or (at your option) any later version.
15 *
16 * This library is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public
22 * License along with this library; if not, write to the Free
23 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
24 * MA 02110-1301 USA
25 *
26 * Or, alternatively,
27 *
28 * b) Permission is hereby granted, free of charge, to any person
29 * obtaining a copy of this software and associated documentation
30 * files (the "Software"), to deal in the Software without
31 * restriction, including without limitation the rights to use,
32 * copy, modify, merge, publish, distribute, sublicense, and/or
33 * sell copies of the Software, and to permit persons to whom the
34 * Software is furnished to do so, subject to the following
35 * conditions:
36 *
37 * The above copyright notice and this permission notice shall be
38 * included in all copies or substantial portions of the Software.
39 *
40 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
41 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
42 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
43 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
44 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
45 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
46 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
47 * OTHER DEALINGS IN THE SOFTWARE.
12 */ 48 */
13 49
14/include/ "skeleton.dtsi" 50/include/ "skeleton.dtsi"
@@ -657,9 +693,10 @@
657 reg = <0x01c2ac00 0x400>; 693 reg = <0x01c2ac00 0x400>;
658 interrupts = <0 6 4>; 694 interrupts = <0 6 4>;
659 clocks = <&apb2_gates 0>; 695 clocks = <&apb2_gates 0>;
660 clock-frequency = <100000>;
661 resets = <&apb2_rst 0>; 696 resets = <&apb2_rst 0>;
662 status = "disabled"; 697 status = "disabled";
698 #address-cells = <1>;
699 #size-cells = <0>;
663 }; 700 };
664 701
665 i2c1: i2c@01c2b000 { 702 i2c1: i2c@01c2b000 {
@@ -667,9 +704,10 @@
667 reg = <0x01c2b000 0x400>; 704 reg = <0x01c2b000 0x400>;
668 interrupts = <0 7 4>; 705 interrupts = <0 7 4>;
669 clocks = <&apb2_gates 1>; 706 clocks = <&apb2_gates 1>;
670 clock-frequency = <100000>;
671 resets = <&apb2_rst 1>; 707 resets = <&apb2_rst 1>;
672 status = "disabled"; 708 status = "disabled";
709 #address-cells = <1>;
710 #size-cells = <0>;
673 }; 711 };
674 712
675 i2c2: i2c@01c2b400 { 713 i2c2: i2c@01c2b400 {
@@ -677,9 +715,10 @@
677 reg = <0x01c2b400 0x400>; 715 reg = <0x01c2b400 0x400>;
678 interrupts = <0 8 4>; 716 interrupts = <0 8 4>;
679 clocks = <&apb2_gates 2>; 717 clocks = <&apb2_gates 2>;
680 clock-frequency = <100000>;
681 resets = <&apb2_rst 2>; 718 resets = <&apb2_rst 2>;
682 status = "disabled"; 719 status = "disabled";
720 #address-cells = <1>;
721 #size-cells = <0>;
683 }; 722 };
684 723
685 i2c3: i2c@01c2b800 { 724 i2c3: i2c@01c2b800 {
@@ -687,9 +726,10 @@
687 reg = <0x01c2b800 0x400>; 726 reg = <0x01c2b800 0x400>;
688 interrupts = <0 9 4>; 727 interrupts = <0 9 4>;
689 clocks = <&apb2_gates 3>; 728 clocks = <&apb2_gates 3>;
690 clock-frequency = <100000>;
691 resets = <&apb2_rst 3>; 729 resets = <&apb2_rst 3>;
692 status = "disabled"; 730 status = "disabled";
731 #address-cells = <1>;
732 #size-cells = <0>;
693 }; 733 };
694 734
695 gmac: ethernet@01c30000 { 735 gmac: ethernet@01c30000 {
@@ -779,6 +819,12 @@
779 interrupts = <1 9 0xf04>; 819 interrupts = <1 9 0xf04>;
780 }; 820 };
781 821
822 rtc: rtc@01f00000 {
823 compatible = "allwinner,sun6i-a31-rtc";
824 reg = <0x01f00000 0x54>;
825 interrupts = <0 40 4>, <0 41 4>;
826 };
827
782 nmi_intc: interrupt-controller@01f00c0c { 828 nmi_intc: interrupt-controller@01f00c0c {
783 compatible = "allwinner,sun6i-a31-sc-nmi"; 829 compatible = "allwinner,sun6i-a31-sc-nmi";
784 interrupt-controller; 830 interrupt-controller;