Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * Device Tree Include file for the Conexant Digicolor CX92755 SoC
0003  *
0004  * Author: Baruch Siach <baruch@tkos.co.il>
0005  *
0006  *  Copyright (C) 2014 Paradox Innovation Ltd.
0007  *
0008  * This file is dual-licensed: you can use it either under the terms
0009  * of the GPL or the X11 license, at your option. Note that this dual
0010  * licensing only applies to this file, and not this project as a
0011  * whole.
0012  *
0013  *  a) This file is free software; you can redistribute it and/or
0014  *     modify it under the terms of the GNU General Public License as
0015  *     published by the Free Software Foundation; either version 2 of the
0016  *     License, or (at your option) any later version.
0017  *
0018  *     This file is distributed in the hope that it will be useful,
0019  *     but WITHOUT ANY WARRANTY; without even the implied warranty of
0020  *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0021  *     GNU General Public License for more details.
0022  *
0023  * Or, alternatively,
0024  *
0025  *  b) Permission is hereby granted, free of charge, to any person
0026  *     obtaining a copy of this software and associated documentation
0027  *     files (the "Software"), to deal in the Software without
0028  *     restriction, including without limitation the rights to use,
0029  *     copy, modify, merge, publish, distribute, sublicense, and/or
0030  *     sell copies of the Software, and to permit persons to whom the
0031  *     Software is furnished to do so, subject to the following
0032  *     conditions:
0033  *
0034  *     The above copyright notice and this permission notice shall be
0035  *     included in all copies or substantial portions of the Software.
0036  *
0037  *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
0038  *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
0039  *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
0040  *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
0041  *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
0042  *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
0043  *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
0044  *     OTHER DEALINGS IN THE SOFTWARE.
0045  */
0046 
0047 / {
0048         #address-cells = <1>;
0049         #size-cells = <1>;
0050         compatible = "cnxt,cx92755";
0051 
0052         interrupt-parent = <&intc>;
0053 
0054         cpus {
0055                 #address-cells = <1>;
0056                 #size-cells = <0>;
0057                 cpu@0 {
0058                         device_type = "cpu";
0059                         compatible = "arm,cortex-a8";
0060                         reg = <0x0>;
0061                 };
0062         };
0063 
0064         main_clk: main_clk {
0065                 compatible = "fixed-clock";
0066                 #clock-cells = <0>;
0067                 clock-frequency  = <200000000>;
0068         };
0069 
0070         intc: interrupt-controller@f0000040 {
0071                 compatible = "cnxt,cx92755-ic";
0072                 interrupt-controller;
0073                 #interrupt-cells = <1>;
0074                 reg = <0xf0000040 0x40>;
0075                 syscon = <&uc_regs>;
0076         };
0077 
0078         timer@f0000fc0 {
0079                 compatible = "cnxt,cx92755-timer";
0080                 reg = <0xf0000fc0 0x40>;
0081                 interrupts = <19>, <31>, <34>, <35>, <52>, <53>, <54>, <55>;
0082                 clocks = <&main_clk>;
0083         };
0084 
0085         rtc@f0000c30 {
0086                 compatible = "cnxt,cx92755-rtc";
0087                 reg = <0xf0000c30 0x18>;
0088                 interrupts = <25>;
0089         };
0090 
0091         watchdog@f0000fc0 {
0092                 compatible = "cnxt,cx92755-wdt";
0093                 reg = <0xf0000fc0 0x8>;
0094                 clocks = <&main_clk>;
0095                 timeout-sec = <15>;
0096         };
0097 
0098         pinctrl: pinctrl@f0000e20 {
0099                 compatible = "cnxt,cx92755-pinctrl";
0100                 reg = <0xf0000e20 0x100>;
0101                 gpio-controller;
0102                 #gpio-cells = <2>;
0103         };
0104 
0105         uc_regs: syscon@f00003a0 {
0106                 compatible = "cnxt,cx92755-uc", "syscon";
0107                 reg = <0xf00003a0 0x10>;
0108         };
0109 
0110         uart0: uart@f0000740 {
0111                 compatible = "cnxt,cx92755-usart";
0112                 reg = <0xf0000740 0x20>;
0113                 clocks = <&main_clk>;
0114                 interrupts = <44>;
0115                 status = "disabled";
0116         };
0117 
0118         uart1: uart@f0000760 {
0119                 compatible = "cnxt,cx92755-usart";
0120                 reg = <0xf0000760 0x20>;
0121                 clocks = <&main_clk>;
0122                 interrupts = <45>;
0123                 status = "disabled";
0124         };
0125 
0126         uart2: uart@f0000780 {
0127                 compatible = "cnxt,cx92755-usart";
0128                 reg = <0xf0000780 0x20>;
0129                 clocks = <&main_clk>;
0130                 interrupts = <46>;
0131                 status = "disabled";
0132         };
0133 
0134         i2c: i2c@f0000120 {
0135                 compatible = "cnxt,cx92755-i2c";
0136                 reg = <0xf0000120 0x10>;
0137                 interrupts = <28>;
0138                 clocks = <&main_clk>;
0139                 clock-frequency = <100000>;
0140                 #address-cells = <1>;
0141                 #size-cells = <0>;
0142                 status = "disabled";
0143         };
0144 };