Bai Ping | 6ab0057 | 2016-02-02 18:01:36 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2016 Freescale Semiconductor, Inc. |
| 3 | * |
| 4 | * This file is dual-licensed: you can use it either under the terms |
| 5 | * of the GPL or the X11 license, at your option. Note that this dual |
| 6 | * licensing only applies to this file, and not this project as a |
| 7 | * whole. |
| 8 | * |
| 9 | * a) This file is free software; you can redistribute it and/or |
| 10 | * modify it under the terms of the GNU General Public License as |
| 11 | * published by the Free Software Foundation; either version 2 of the |
| 12 | * License, or (at your option) any later version. |
| 13 | * |
| 14 | * This file is distributed in the hope that it will be useful, |
| 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 17 | * GNU General Public License for more details. |
| 18 | * |
| 19 | * Or, alternatively, |
| 20 | * |
| 21 | * b) Permission is hereby granted, free of charge, to any person |
| 22 | * obtaining a copy of this software and associated documentation |
| 23 | * files (the "Software"), to deal in the Software without |
| 24 | * restriction, including without limitation the rights to use, |
| 25 | * copy, modify, merge, publish, distribute, sublicense, and/or |
| 26 | * sell copies of the Software, and to permit persons to whom the |
| 27 | * Software is furnished to do so, subject to the following |
| 28 | * conditions: |
| 29 | * |
| 30 | * The above copyright notice and this permission notice shall be |
| 31 | * included in all copies or substantial portions of the Software. |
| 32 | * |
| 33 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
| 34 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
| 35 | * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
| 36 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
| 37 | * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
| 38 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
| 39 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
| 40 | * OTHER DEALINGS IN THE SOFTWARE. |
| 41 | */ |
| 42 | |
| 43 | /dts-v1/; |
| 44 | |
| 45 | #include "imx6qp.dtsi" |
| 46 | #include "imx6qdl-sabreauto.dtsi" |
| 47 | |
| 48 | / { |
| 49 | model = "Freescale i.MX6 Quad Plus SABRE Automotive Board"; |
| 50 | compatible = "fsl,imx6qp-sabreauto", "fsl,imx6qp"; |
| 51 | }; |
| 52 | |
| 53 | &i2c2 { |
| 54 | max7322: gpio@68 { |
| 55 | compatible = "maxim,max7322"; |
| 56 | reg = <0x68>; |
| 57 | gpio-controller; |
| 58 | #gpio-cells = <2>; |
| 59 | }; |
| 60 | }; |
| 61 | |
| 62 | &iomuxc { |
| 63 | imx6qdl-sabreauto { |
| 64 | pinctrl_enet: enetgrp { |
| 65 | fsl,pins = < |
| 66 | MX6QDL_PAD_KEY_COL1__ENET_MDIO 0x1b0b0 |
| 67 | MX6QDL_PAD_KEY_COL2__ENET_MDC 0x1b0b0 |
| 68 | MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x1b018 |
| 69 | MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x1b018 |
| 70 | MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x1b018 |
| 71 | MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x1b018 |
| 72 | MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x1b018 |
| 73 | MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x1b018 |
| 74 | MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b018 |
| 75 | MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b018 |
| 76 | MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b018 |
| 77 | MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b018 |
| 78 | MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b018 |
| 79 | MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b018 |
| 80 | MX6QDL_PAD_GPIO_16__ENET_REF_CLK 0x4001b0a8 |
| 81 | MX6QDL_PAD_GPIO_6__ENET_IRQ 0x000b1 |
| 82 | >; |
| 83 | }; |
| 84 | }; |
| 85 | }; |
| 86 | |
| 87 | &pcie { |
| 88 | status = "disabled"; |
| 89 | }; |
| 90 | |
| 91 | &vgen3_reg { |
| 92 | regulator-always-on; |
| 93 | }; |