arm:dts: add dts files for ONV v2 board
This commit is contained in:
@ -424,6 +424,7 @@ dtb-$(CONFIG_SOC_IMX6ULL) += \
|
||||
i2c6ulxb-i2s6ull-hat-nand.dtb \
|
||||
i2c6ulxb-i2s6ull-hat-emmc.dtb \
|
||||
odm-ieb-i2s6uby2-nand.dtb \
|
||||
imx6ull-onv-iotcb-v2.dtb \
|
||||
imx6ull-9x9-evk.dtb \
|
||||
imx6ull-9x9-evk-btwifi.dtb \
|
||||
imx6ull-9x9-evk-ldo.dtb
|
||||
|
||||
63
arch/arm/boot/dts/imx6ull-onv-iotcb-v2.dts
Normal file
63
arch/arm/boot/dts/imx6ull-onv-iotcb-v2.dts
Normal file
@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright (C) 2017 i2SOM Team.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
/dts-v1/;
|
||||
|
||||
#include "i2s-6ull-nand.dtsi"
|
||||
#include "imx6ull-onv-iotcb-v2.dtsi"
|
||||
|
||||
&lcdif {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&uart1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uart2 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uart3 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uart4 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uart5 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&fec1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&fec2 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usbotg1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usbotg2 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usdhc1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&wdog1 {
|
||||
status = "okay";
|
||||
};
|
||||
272
arch/arm/boot/dts/imx6ull-onv-iotcb-v2.dtsi
Normal file
272
arch/arm/boot/dts/imx6ull-onv-iotcb-v2.dtsi
Normal file
@ -0,0 +1,272 @@
|
||||
/*
|
||||
* Copyright (C) 2017 i2SOM Team.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
/ {
|
||||
model = "i2SOM i2C-6ULL-B V2.0";
|
||||
compatible = "i2som,i2s6ullnand", "i2som,i2s6ull", "i2som,i2s6ull14x14", "fsl,imx6ull";
|
||||
|
||||
regulators {
|
||||
compatible = "simple-bus";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
reg_sd1_vmmc: regulator@1 {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "VSD_3V3";
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
};
|
||||
};
|
||||
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_leds>;
|
||||
|
||||
cpu {
|
||||
label = "cpu";
|
||||
gpios = <&gpio5 5 GPIO_ACTIVE_LOW>;
|
||||
linux,default-trigger = "heartbeat";
|
||||
default-state = "on";
|
||||
};
|
||||
|
||||
sys {
|
||||
label = "system_status";
|
||||
gpios = <&gpio5 9 GPIO_ACTIVE_LOW>;
|
||||
default-state = "off";
|
||||
};
|
||||
};
|
||||
|
||||
gpio-keys {
|
||||
compatible = "gpio-keys";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_gpio_keys>;
|
||||
|
||||
key1 {
|
||||
label = "KEY1";
|
||||
gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
|
||||
gpio-key,wakeup;
|
||||
linux,code = <KEY_1>;
|
||||
};
|
||||
|
||||
|
||||
key2 {
|
||||
label = "KEY2";
|
||||
gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
|
||||
gpio-key,wakeup;
|
||||
linux,code = <KEY_2>;
|
||||
};
|
||||
|
||||
key3 {
|
||||
label = "KEY3";
|
||||
gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
|
||||
gpio-key,wakeup;
|
||||
linux,code = <KEY_3>;
|
||||
};
|
||||
};
|
||||
|
||||
humidity_sensor {
|
||||
compatible = "dht11";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_dht11_pins>;
|
||||
gpios = <&gpio1 26 0>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
||||
&iomuxc {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_hog_1>;
|
||||
imx6ul-i2s6ull {
|
||||
pinctrl_hog_1: hoggrp-1 {
|
||||
fsl,pins = <
|
||||
MX6UL_PAD_UART1_RTS_B__GPIO1_IO19 0x17059 /* SD1 CD */
|
||||
MX6UL_PAD_LCD_RESET__GPIO3_IO04 0x1b0b0
|
||||
MX6UL_PAD_CSI_DATA07__GPIO4_IO28 0x4001b0b0 /* FAN */
|
||||
MX6UL_PAD_GPIO1_IO00__GPIO1_IO00 0x4001b0b0 /* GPIO_SW2 */
|
||||
MX6UL_PAD_GPIO1_IO01__GPIO1_IO01 0x4001b0b0 /* GPIO_SW3 */
|
||||
MX6UL_PAD_CSI_DATA02__GPIO4_IO23 0x4001b0b0 /* GPIO_F */
|
||||
MX6UL_PAD_CSI_DATA01__GPIO4_IO22 0x4001b0b0 /* GPIO_G */
|
||||
MX6UL_PAD_CSI_DATA00__GPIO4_IO21 0x4001b0b0 /* GPIO_DC1 */
|
||||
MX6UL_PAD_CSI_VSYNC__GPIO4_IO19 0x4001b0b0 /* GPIO_DC2 */
|
||||
MX6UL_PAD_CSI_HSYNC__GPIO4_IO20 0x4001b0b0 /* GPIO_DC3 */
|
||||
>;
|
||||
};
|
||||
|
||||
pinctrl_gpio_keys: keysgrp {
|
||||
fsl,pins = <
|
||||
MX6UL_PAD_GPIO1_IO02__GPIO1_IO02 0x1b0b0
|
||||
MX6UL_PAD_GPIO1_IO03__GPIO1_IO03 0x1b0b0
|
||||
MX6UL_PAD_GPIO1_IO04__GPIO1_IO04 0x1b0b0
|
||||
>;
|
||||
};
|
||||
|
||||
pinctrl_dht11_pins: dht11_pins {
|
||||
fsl,pins = <
|
||||
MX6UL_PAD_UART3_CTS_B__GPIO1_IO26 0x4001b0b0 /* Humidity */
|
||||
>;
|
||||
};
|
||||
|
||||
pinctrl_adc1: adc1grp {
|
||||
fsl,pins = <
|
||||
MX6UL_PAD_GPIO1_IO09__GPIO1_IO09 0xb0 /* Light sensor */
|
||||
>;
|
||||
};
|
||||
|
||||
pinctrl_uart5dce_alt2: uart5dcegrp_alt2 {
|
||||
fsl,pins = <
|
||||
MX6UL_PAD_UART5_TX_DATA__UART5_DCE_TX 0x1b0b1
|
||||
MX6UL_PAD_UART5_RX_DATA__UART5_DCE_RX 0x1b0b1
|
||||
>;
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
&iomuxc_snvs {
|
||||
pinctrl-names = "default_snvs";
|
||||
pinctrl-0 = <&pinctrl_hog_2>;
|
||||
imx6ul-i2s6ull {
|
||||
pinctrl_hog_2: hoggrp-2 {
|
||||
fsl,pins = <
|
||||
MX6ULL_PAD_SNVS_TAMPER6__GPIO5_IO06 0x1b0b0 /* ENET2 Reset */
|
||||
MX6ULL_PAD_SNVS_TAMPER4__GPIO5_IO04 0x4001b0b0 /* FB */
|
||||
MX6ULL_PAD_SNVS_TAMPER2__GPIO5_IO02 0x4001b0b0 /* GPIO_SW1 */
|
||||
MX6ULL_PAD_SNVS_TAMPER8__GPIO5_IO08 0x4001b0b0 /* GPS_EN */
|
||||
MX6ULL_PAD_SNVS_TAMPER7__GPIO5_IO07 0x4001b0b0 /* Buzzer */
|
||||
>;
|
||||
};
|
||||
|
||||
pinctrl_leds: ledsgrp {
|
||||
fsl,pins = <
|
||||
MX6ULL_PAD_SNVS_TAMPER5__GPIO5_IO05 0x4001b0b0
|
||||
MX6ULL_PAD_SNVS_TAMPER9__GPIO5_IO09 0x4001b0b0 /* System_status */
|
||||
>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&fec1 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_enet1>;
|
||||
status = "disabled";
|
||||
/delete-node/ mdio;
|
||||
};
|
||||
|
||||
&fec2 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_enet2 &pinctrl_enet2_mdio>;
|
||||
phy-mode = "rmii";
|
||||
phy-handle = <ðphy1>;
|
||||
phy-reset-gpios = <&gpio5 6 GPIO_ACTIVE_LOW>;
|
||||
phy-reset-duration = <26>;
|
||||
i2som,phy-reset-in-suspend;
|
||||
status = "disabled";
|
||||
|
||||
mdio {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
ethphy0: ethernet-phy@0 {
|
||||
compatible = "ethernet-phy-ieee802.3-c22";
|
||||
reg = <0>;
|
||||
};
|
||||
|
||||
ethphy1: ethernet-phy@1 {
|
||||
compatible = "ethernet-phy-ieee802.3-c22";
|
||||
reg = <1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&lcdif {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&tsc {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&adc1 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_adc1>;
|
||||
num-channels = <1>;
|
||||
vref-supply = <®_vref_3v3>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usbotg1 {
|
||||
/*pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_usb_otg1_id>;*/
|
||||
dr_mode = "host";
|
||||
disable-over-current;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&usbotg2 {
|
||||
dr_mode = "host";
|
||||
disable-over-current;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&usbphy1 {
|
||||
tx-d-cal = <0x5>;
|
||||
};
|
||||
|
||||
&usbphy2 {
|
||||
tx-d-cal = <0x5>;
|
||||
};
|
||||
|
||||
&usdhc1 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_usdhc1>;
|
||||
cd-gpios = <&gpio1 19 GPIO_ACTIVE_LOW>;
|
||||
keep-power-in-suspend;
|
||||
no-1-8-v;
|
||||
vmmc-supply = <®_sd1_vmmc>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&i2c1 {
|
||||
clock_frequency = <100000>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_i2c1_alt1>;
|
||||
|
||||
ssd1306: oled@3c {
|
||||
compatible = "solomon,ssd1306fb-i2c";
|
||||
reg = <0x3c>;
|
||||
solomon,height = <64>;
|
||||
solomon,width = <128>;
|
||||
solomon,page-offset = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
&uart2 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_uart2dce>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&uart3 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_uart3dce_alt1>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
||||
&uart4 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_uart4dce_alt1>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&uart5 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_uart5dce_alt2>;
|
||||
status = "disabled";
|
||||
};
|
||||
Reference in New Issue
Block a user