a2d6081c56
Upgrade to linux-next version. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
245 lines
4.8 KiB
Text
245 lines
4.8 KiB
Text
/*
|
|
* Copyright 2013 Christian Hemp, Phytec Messtechnik GmbH
|
|
*
|
|
* The code contained herein is licensed under the GNU General Public
|
|
* License. You may obtain a copy of the GNU General Public License
|
|
* Version 2 or later at the following locations:
|
|
*
|
|
* http://www.opensource.org/licenses/gpl-license.html
|
|
* http://www.gnu.org/copyleft/gpl.html
|
|
*/
|
|
|
|
#include "imx6q.dtsi"
|
|
|
|
/ {
|
|
model = "Phytec phyFLEX-i.MX6 Ouad";
|
|
compatible = "phytec,imx6q-pfla02", "fsl,imx6q";
|
|
|
|
memory {
|
|
reg = <0x10000000 0x40000000>;
|
|
};
|
|
};
|
|
|
|
&ecspi3 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_ecspi3>;
|
|
status = "okay";
|
|
fsl,spi-num-chipselects = <1>;
|
|
cs-gpios = <&gpio4 24 0>;
|
|
|
|
flash: m25p80@0 {
|
|
compatible = "m25p80";
|
|
spi-max-frequency = <20000000>;
|
|
reg = <0>;
|
|
};
|
|
};
|
|
|
|
&i2c1 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_i2c1>;
|
|
status = "okay";
|
|
|
|
eeprom@50 {
|
|
compatible = "atmel,24c32";
|
|
reg = <0x50>;
|
|
};
|
|
|
|
pmic@58 {
|
|
compatible = "dialog,da9063";
|
|
reg = <0x58>;
|
|
interrupt-parent = <&gpio4>;
|
|
interrupts = <17 0x8>; /* active-low GPIO4_17 */
|
|
|
|
regulators {
|
|
vddcore_reg: bcore1 {
|
|
regulator-min-microvolt = <730000>;
|
|
regulator-max-microvolt = <1380000>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
vddsoc_reg: bcore2 {
|
|
regulator-min-microvolt = <730000>;
|
|
regulator-max-microvolt = <1380000>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
vdd_ddr3_reg: bpro {
|
|
regulator-min-microvolt = <1500000>;
|
|
regulator-max-microvolt = <1500000>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
vdd_3v3_reg: bperi {
|
|
regulator-min-microvolt = <3300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
vdd_buckmem_reg: bmem {
|
|
regulator-min-microvolt = <3300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
vdd_eth_reg: bio {
|
|
regulator-min-microvolt = <1200000>;
|
|
regulator-max-microvolt = <1200000>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
vdd_eth_io_reg: ldo4 {
|
|
regulator-min-microvolt = <2500000>;
|
|
regulator-max-microvolt = <2500000>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
vdd_mx6_snvs_reg: ldo5 {
|
|
regulator-min-microvolt = <3000000>;
|
|
regulator-max-microvolt = <3000000>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
vdd_3v3_pmic_io_reg: ldo6 {
|
|
regulator-min-microvolt = <3300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
vdd_sd0_reg: ldo9 {
|
|
regulator-min-microvolt = <3300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
};
|
|
|
|
vdd_sd1_reg: ldo10 {
|
|
regulator-min-microvolt = <3300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
};
|
|
|
|
vdd_mx6_high_reg: ldo11 {
|
|
regulator-min-microvolt = <3000000>;
|
|
regulator-max-microvolt = <3000000>;
|
|
regulator-always-on;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&iomuxc {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_hog>;
|
|
|
|
imx6q-phytec-pfla02 {
|
|
pinctrl_hog: hoggrp {
|
|
fsl,pins = <
|
|
MX6QDL_PAD_EIM_D23__GPIO3_IO23 0x80000000
|
|
MX6QDL_PAD_DISP0_DAT3__GPIO4_IO24 0x80000000 /* SPI NOR chipselect */
|
|
MX6QDL_PAD_DI0_PIN15__GPIO4_IO17 0x80000000 /* PMIC interrupt */
|
|
>;
|
|
};
|
|
|
|
pinctrl_ecspi3: ecspi3grp {
|
|
fsl,pins = <MX6QDL_ECSPI3_PINGRP1>;
|
|
};
|
|
|
|
pinctrl_enet: enetgrp {
|
|
fsl,pins = <MX6QDL_ENET_PINGRP3>;
|
|
};
|
|
|
|
pinctrl_gpmi_nand: gpmigrp {
|
|
fsl,pins = <MX6QDL_GPMI_NAND_PINGRP1>;
|
|
};
|
|
|
|
pinctrl_i2c1: i2c1grp {
|
|
fsl,pins = <MX6QDL_I2C1_PINGRP1>;
|
|
};
|
|
|
|
pinctrl_uart4: uart4grp {
|
|
fsl,pins = <MX6QDL_UART4_PINGRP1>;
|
|
};
|
|
|
|
pinctrl_usdhc2: usdhc2grp {
|
|
fsl,pins = <MX6QDL_USDHC2_PINGRP_D4>;
|
|
};
|
|
|
|
pinctrl_usdhc3: usdhc3grp {
|
|
fsl,pins = <MX6QDL_USDHC3_PINGRP_D4>;
|
|
};
|
|
|
|
pinctrl_usdhc3_cdwp: usdhc3cdwp {
|
|
fsl,pins = <
|
|
MX6QDL_PAD_ENET_RXD0__GPIO1_IO27 0x80000000
|
|
MX6QDL_PAD_ENET_TXD1__GPIO1_IO29 0x80000000
|
|
>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&fec {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_enet>;
|
|
phy-mode = "rgmii";
|
|
phy-reset-gpios = <&gpio3 23 0>;
|
|
status = "disabled";
|
|
};
|
|
|
|
&flash {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
partition@0 {
|
|
label = "barebox";
|
|
reg = <0x0 0x80000>;
|
|
};
|
|
|
|
partition@1 {
|
|
label = "barebox-environment";
|
|
reg = <0x80000 0x10000>;
|
|
};
|
|
};
|
|
|
|
&gpmi {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_gpmi_nand>;
|
|
nand-on-flash-bbt;
|
|
status = "okay";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
partition@0 {
|
|
label = "barebox";
|
|
reg = <0x0 0x200000>;
|
|
};
|
|
|
|
partition@1 {
|
|
label = "ubi";
|
|
reg = <0x200000 0x3fe00000>;
|
|
};
|
|
};
|
|
|
|
&ocotp {
|
|
barebox,provide-mac-address = <&fec 0x620>;
|
|
};
|
|
|
|
&uart4 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_uart4>;
|
|
status = "disabled";
|
|
};
|
|
|
|
&usdhc2 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_usdhc2>;
|
|
cd-gpios = <&gpio1 4 0>;
|
|
wp-gpios = <&gpio1 2 0>;
|
|
status = "disabled";
|
|
};
|
|
|
|
&usdhc3 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_usdhc3
|
|
&pinctrl_usdhc3_cdwp>;
|
|
cd-gpios = <&gpio1 27 0>;
|
|
wp-gpios = <&gpio1 29 0>;
|
|
status = "disabled";
|
|
};
|