Shawn Guo | 9a8d6d5 | 2013-04-02 14:04:45 +0800 | [diff] [blame] | 1 | |
Shawn Guo | 7c1da58 | 2013-02-04 23:09:16 +0800 | [diff] [blame] | 2 | /* |
| 3 | * Copyright 2013 Freescale Semiconductor, Inc. |
| 4 | * |
| 5 | * This program is free software; you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License version 2 as |
| 7 | * published by the Free Software Foundation. |
| 8 | * |
| 9 | */ |
| 10 | |
Troy Kisky | f89f5b4 | 2013-11-14 14:02:11 -0700 | [diff] [blame] | 11 | #include <dt-bindings/interrupt-controller/irq.h> |
Shawn Guo | 9a8d6d5 | 2013-04-02 14:04:45 +0800 | [diff] [blame] | 12 | #include "imx6dl-pinfunc.h" |
Shawn Guo | c56009b2f | 2013-07-11 13:58:36 +0800 | [diff] [blame] | 13 | #include "imx6qdl.dtsi" |
Shawn Guo | 7c1da58 | 2013-02-04 23:09:16 +0800 | [diff] [blame] | 14 | |
| 15 | / { |
Vladimir Zapolskiy | 225fc6d | 2014-10-29 16:36:30 +0200 | [diff] [blame] | 16 | aliases { |
| 17 | i2c3 = &i2c4; |
| 18 | }; |
| 19 | |
Shawn Guo | 7c1da58 | 2013-02-04 23:09:16 +0800 | [diff] [blame] | 20 | cpus { |
| 21 | #address-cells = <1>; |
| 22 | #size-cells = <0>; |
| 23 | |
| 24 | cpu@0 { |
| 25 | compatible = "arm,cortex-a9"; |
Lorenzo Pieralisi | 7925e89 | 2013-04-18 18:34:06 +0100 | [diff] [blame] | 26 | device_type = "cpu"; |
Shawn Guo | 7c1da58 | 2013-02-04 23:09:16 +0800 | [diff] [blame] | 27 | reg = <0>; |
| 28 | next-level-cache = <&L2>; |
Anson Huang | 978ed90 | 2013-12-19 10:02:10 -0500 | [diff] [blame] | 29 | operating-points = < |
| 30 | /* kHz uV */ |
Anson Huang | 4c61a1e | 2014-12-05 16:23:49 +0800 | [diff] [blame] | 31 | 996000 1250000 |
Anson Huang | 978ed90 | 2013-12-19 10:02:10 -0500 | [diff] [blame] | 32 | 792000 1175000 |
| 33 | 396000 1075000 |
| 34 | >; |
| 35 | fsl,soc-operating-points = < |
| 36 | /* ARM kHz SOC-PU uV */ |
| 37 | 996000 1175000 |
| 38 | 792000 1175000 |
| 39 | 396000 1175000 |
| 40 | >; |
| 41 | clock-latency = <61036>; /* two CLK32 periods */ |
Shawn Guo | 8888f65 | 2014-06-15 20:36:50 +0800 | [diff] [blame] | 42 | clocks = <&clks IMX6QDL_CLK_ARM>, |
| 43 | <&clks IMX6QDL_CLK_PLL2_PFD2_396M>, |
| 44 | <&clks IMX6QDL_CLK_STEP>, |
| 45 | <&clks IMX6QDL_CLK_PLL1_SW>, |
| 46 | <&clks IMX6QDL_CLK_PLL1_SYS>; |
Anson Huang | 978ed90 | 2013-12-19 10:02:10 -0500 | [diff] [blame] | 47 | clock-names = "arm", "pll2_pfd2_396m", "step", |
| 48 | "pll1_sw", "pll1_sys"; |
| 49 | arm-supply = <®_arm>; |
| 50 | pu-supply = <®_pu>; |
| 51 | soc-supply = <®_soc>; |
Shawn Guo | 7c1da58 | 2013-02-04 23:09:16 +0800 | [diff] [blame] | 52 | }; |
| 53 | |
| 54 | cpu@1 { |
| 55 | compatible = "arm,cortex-a9"; |
Lorenzo Pieralisi | 7925e89 | 2013-04-18 18:34:06 +0100 | [diff] [blame] | 56 | device_type = "cpu"; |
Shawn Guo | 7c1da58 | 2013-02-04 23:09:16 +0800 | [diff] [blame] | 57 | reg = <1>; |
| 58 | next-level-cache = <&L2>; |
| 59 | }; |
| 60 | }; |
| 61 | |
| 62 | soc { |
Shawn Guo | 951ebf5 | 2013-07-23 15:25:13 +0800 | [diff] [blame] | 63 | ocram: sram@00900000 { |
| 64 | compatible = "mmio-sram"; |
| 65 | reg = <0x00900000 0x20000>; |
Shawn Guo | 8888f65 | 2014-06-15 20:36:50 +0800 | [diff] [blame] | 66 | clocks = <&clks IMX6QDL_CLK_OCRAM>; |
Shawn Guo | 951ebf5 | 2013-07-23 15:25:13 +0800 | [diff] [blame] | 67 | }; |
| 68 | |
Shawn Guo | 7c1da58 | 2013-02-04 23:09:16 +0800 | [diff] [blame] | 69 | aips1: aips-bus@02000000 { |
Shawn Guo | 9a8d6d5 | 2013-04-02 14:04:45 +0800 | [diff] [blame] | 70 | iomuxc: iomuxc@020e0000 { |
| 71 | compatible = "fsl,imx6dl-iomuxc"; |
Shawn Guo | 9a8d6d5 | 2013-04-02 14:04:45 +0800 | [diff] [blame] | 72 | }; |
| 73 | |
Shawn Guo | 7c1da58 | 2013-02-04 23:09:16 +0800 | [diff] [blame] | 74 | pxp: pxp@020f0000 { |
| 75 | reg = <0x020f0000 0x4000>; |
Troy Kisky | f89f5b4 | 2013-11-14 14:02:11 -0700 | [diff] [blame] | 76 | interrupts = <0 98 IRQ_TYPE_LEVEL_HIGH>; |
Shawn Guo | 7c1da58 | 2013-02-04 23:09:16 +0800 | [diff] [blame] | 77 | }; |
| 78 | |
| 79 | epdc: epdc@020f4000 { |
| 80 | reg = <0x020f4000 0x4000>; |
Troy Kisky | f89f5b4 | 2013-11-14 14:02:11 -0700 | [diff] [blame] | 81 | interrupts = <0 97 IRQ_TYPE_LEVEL_HIGH>; |
Shawn Guo | 7c1da58 | 2013-02-04 23:09:16 +0800 | [diff] [blame] | 82 | }; |
| 83 | |
| 84 | lcdif: lcdif@020f8000 { |
| 85 | reg = <0x020f8000 0x4000>; |
Troy Kisky | f89f5b4 | 2013-11-14 14:02:11 -0700 | [diff] [blame] | 86 | interrupts = <0 39 IRQ_TYPE_LEVEL_HIGH>; |
Shawn Guo | 7c1da58 | 2013-02-04 23:09:16 +0800 | [diff] [blame] | 87 | }; |
| 88 | }; |
| 89 | |
| 90 | aips2: aips-bus@02100000 { |
| 91 | i2c4: i2c@021f8000 { |
| 92 | #address-cells = <1>; |
| 93 | #size-cells = <0>; |
Iain Paton | b92d776 | 2014-05-09 16:01:56 +0100 | [diff] [blame] | 94 | compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c"; |
Shawn Guo | 7c1da58 | 2013-02-04 23:09:16 +0800 | [diff] [blame] | 95 | reg = <0x021f8000 0x4000>; |
Troy Kisky | f89f5b4 | 2013-11-14 14:02:11 -0700 | [diff] [blame] | 96 | interrupts = <0 35 IRQ_TYPE_LEVEL_HIGH>; |
Shawn Guo | 8888f65 | 2014-06-15 20:36:50 +0800 | [diff] [blame] | 97 | clocks = <&clks IMX6DL_CLK_I2C4>; |
Shawn Guo | 7c1da58 | 2013-02-04 23:09:16 +0800 | [diff] [blame] | 98 | status = "disabled"; |
| 99 | }; |
| 100 | }; |
| 101 | }; |
Philipp Zabel | 4520e69 | 2014-03-05 10:21:01 +0100 | [diff] [blame] | 102 | |
| 103 | display-subsystem { |
| 104 | compatible = "fsl,imx-display-subsystem"; |
| 105 | ports = <&ipu1_di0>, <&ipu1_di1>; |
| 106 | }; |
| 107 | }; |
| 108 | |
| 109 | &hdmi { |
| 110 | compatible = "fsl,imx6dl-hdmi"; |
Shawn Guo | 7c1da58 | 2013-02-04 23:09:16 +0800 | [diff] [blame] | 111 | }; |
Philipp Zabel | 964c847 | 2013-06-28 14:24:16 +0200 | [diff] [blame] | 112 | |
| 113 | &ldb { |
Shawn Guo | 8888f65 | 2014-06-15 20:36:50 +0800 | [diff] [blame] | 114 | clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>, <&clks IMX6QDL_CLK_LDB_DI1_SEL>, |
| 115 | <&clks IMX6QDL_CLK_IPU1_DI0_SEL>, <&clks IMX6QDL_CLK_IPU1_DI1_SEL>, |
| 116 | <&clks IMX6QDL_CLK_LDB_DI0>, <&clks IMX6QDL_CLK_LDB_DI1>; |
Philipp Zabel | 964c847 | 2013-06-28 14:24:16 +0200 | [diff] [blame] | 117 | clock-names = "di0_pll", "di1_pll", |
| 118 | "di0_sel", "di1_sel", |
| 119 | "di0", "di1"; |
Russell King | cf83eb2 | 2013-10-30 20:10:31 +0000 | [diff] [blame] | 120 | }; |
Philipp Zabel | a04a0b6 | 2014-11-11 19:12:47 -0200 | [diff] [blame] | 121 | |
| 122 | &vpu { |
| 123 | compatible = "fsl,imx6dl-vpu", "cnm,coda960"; |
| 124 | }; |