-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARM: dts: vf500-colibri: add Colibri VF50 support
Add Colibri VF50 device tree files vf500-colibri.dtsi and vf500-colibri-eval-v3.dts, in line with the Colibri VF61 device tree files. However, to minimize dupplication we also add vf-colibri.dtsi and vf-colibri-eval-v3.dtsi which contain the common device tree nodes. Signed-off-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
- Loading branch information
Stefan Agner
authored and
Shawn Guo
committed
Nov 23, 2014
1 parent
efb45b3
commit e1bf86a
Showing
7 changed files
with
237 additions
and
193 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
/* | ||
* Copyright 2014 Toradex AG | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 2 of the License, or | ||
* (at your option) any later version. | ||
*/ | ||
|
||
/ { | ||
chosen { | ||
bootargs = "console=ttyLP0,115200"; | ||
}; | ||
}; | ||
|
||
&bl { | ||
brightness-levels = <0 4 8 16 32 64 128 255>; | ||
default-brightness-level = <6>; | ||
status = "okay"; | ||
}; | ||
|
||
&esdhc1 { | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&pinctrl_esdhc1>; | ||
bus-width = <4>; | ||
status = "okay"; | ||
}; | ||
|
||
&fec1 { | ||
phy-mode = "rmii"; | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&pinctrl_fec1>; | ||
status = "okay"; | ||
}; | ||
|
||
&pwm0 { | ||
status = "okay"; | ||
}; | ||
|
||
&pwm1 { | ||
status = "okay"; | ||
}; | ||
|
||
&uart0 { | ||
status = "okay"; | ||
}; | ||
|
||
&uart1 { | ||
status = "okay"; | ||
}; | ||
|
||
&uart2 { | ||
status = "okay"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,142 @@ | ||
/* | ||
* Copyright 2014 Toradex AG | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 2 of the License, or | ||
* (at your option) any later version. | ||
*/ | ||
|
||
/ { | ||
bl: backlight { | ||
compatible = "pwm-backlight"; | ||
pwms = <&pwm0 0 5000000 0>; | ||
status = "disabled"; | ||
}; | ||
}; | ||
|
||
&adc0 { | ||
status = "okay"; | ||
}; | ||
|
||
&adc1 { | ||
status = "okay"; | ||
}; | ||
|
||
&edma0 { | ||
status = "okay"; | ||
}; | ||
|
||
&esdhc1 { | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&pinctrl_esdhc1>; | ||
bus-width = <4>; | ||
}; | ||
|
||
&fec1 { | ||
phy-mode = "rmii"; | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&pinctrl_fec1>; | ||
}; | ||
|
||
&pwm0 { | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&pinctrl_pwm0>; | ||
}; | ||
|
||
&pwm1 { | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&pinctrl_pwm1>; | ||
}; | ||
|
||
&uart0 { | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&pinctrl_uart0>; | ||
}; | ||
|
||
&uart1 { | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&pinctrl_uart1>; | ||
}; | ||
|
||
&uart2 { | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&pinctrl_uart2>; | ||
}; | ||
|
||
&usbdev0 { | ||
disable-over-current; | ||
status = "okay"; | ||
}; | ||
|
||
&usbh1 { | ||
disable-over-current; | ||
status = "okay"; | ||
}; | ||
|
||
&iomuxc { | ||
vf610-colibri { | ||
pinctrl_esdhc1: esdhc1grp { | ||
fsl,pins = < | ||
VF610_PAD_PTA24__ESDHC1_CLK 0x31ef | ||
VF610_PAD_PTA25__ESDHC1_CMD 0x31ef | ||
VF610_PAD_PTA26__ESDHC1_DAT0 0x31ef | ||
VF610_PAD_PTA27__ESDHC1_DAT1 0x31ef | ||
VF610_PAD_PTA28__ESDHC1_DATA2 0x31ef | ||
VF610_PAD_PTA29__ESDHC1_DAT3 0x31ef | ||
VF610_PAD_PTB20__GPIO_42 0x219d | ||
>; | ||
}; | ||
|
||
pinctrl_fec1: fec1grp { | ||
fsl,pins = < | ||
VF610_PAD_PTC9__ENET_RMII1_MDC 0x30d2 | ||
VF610_PAD_PTC10__ENET_RMII1_MDIO 0x30d3 | ||
VF610_PAD_PTC11__ENET_RMII1_CRS 0x30d1 | ||
VF610_PAD_PTC12__ENET_RMII_RXD1 0x30d1 | ||
VF610_PAD_PTC13__ENET_RMII1_RXD0 0x30d1 | ||
VF610_PAD_PTC14__ENET_RMII1_RXER 0x30d1 | ||
VF610_PAD_PTC15__ENET_RMII1_TXD1 0x30d2 | ||
VF610_PAD_PTC16__ENET_RMII1_TXD0 0x30d2 | ||
VF610_PAD_PTC17__ENET_RMII1_TXEN 0x30d2 | ||
>; | ||
}; | ||
|
||
pinctrl_pwm0: pwm0grp { | ||
fsl,pins = < | ||
VF610_PAD_PTB0__FTM0_CH0 0x1182 | ||
VF610_PAD_PTB1__FTM0_CH1 0x1182 | ||
>; | ||
}; | ||
|
||
pinctrl_pwm1: pwm1grp { | ||
fsl,pins = < | ||
VF610_PAD_PTB8__FTM1_CH0 0x1182 | ||
VF610_PAD_PTB9__FTM1_CH1 0x1182 | ||
>; | ||
}; | ||
|
||
pinctrl_uart0: uart0grp { | ||
fsl,pins = < | ||
VF610_PAD_PTB10__UART0_TX 0x21a2 | ||
VF610_PAD_PTB11__UART0_RX 0x21a1 | ||
>; | ||
}; | ||
|
||
pinctrl_uart1: uart1grp { | ||
fsl,pins = < | ||
VF610_PAD_PTB4__UART1_TX 0x21a2 | ||
VF610_PAD_PTB5__UART1_RX 0x21a1 | ||
>; | ||
}; | ||
|
||
pinctrl_uart2: uart2grp { | ||
fsl,pins = < | ||
VF610_PAD_PTD0__UART2_TX 0x21a2 | ||
VF610_PAD_PTD1__UART2_RX 0x21a1 | ||
VF610_PAD_PTD2__UART2_RTS 0x21a2 | ||
VF610_PAD_PTD3__UART2_CTS 0x21a1 | ||
>; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* | ||
* Copyright 2014 Toradex AG | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 2 of the License, or | ||
* (at your option) any later version. | ||
*/ | ||
|
||
/dts-v1/; | ||
#include "vf500-colibri.dtsi" | ||
#include "vf-colibri-eval-v3.dtsi" | ||
|
||
/ { | ||
model = "Toradex Colibri VF50 on Colibri Evaluation Board"; | ||
compatible = "toradex,vf500-colibri_vf50-on-eval", "toradex,vf500-colibri_vf50", "fsl,vf500"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/* | ||
* Copyright 2014 Toradex AG | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 2 of the License, or | ||
* (at your option) any later version. | ||
*/ | ||
|
||
#include "vf500.dtsi" | ||
#include "vf-colibri.dtsi" | ||
|
||
/ { | ||
model = "Toradex Colibri VF50 COM"; | ||
compatible = "toradex,vf610-colibri_vf50", "fsl,vf500"; | ||
|
||
memory { | ||
reg = <0x80000000 0x8000000>; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.