1 // SPDX-License-Identifier: GPL-2.0-or-later 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* 2 /* 3 * Copyright (C) 2014 Alexander Shiyan <shc_wor 3 * Copyright (C) 2014 Alexander Shiyan <shc_work@mail.ru> 4 */ 4 */ 5 5 6 /dts-v1/; 6 /dts-v1/; 7 #include "imx1.dtsi" 7 #include "imx1.dtsi" 8 8 9 / { 9 / { 10 model = "Freescale MX1 ADS"; 10 model = "Freescale MX1 ADS"; 11 compatible = "fsl,imx1ads", "fsl,imx1" 11 compatible = "fsl,imx1ads", "fsl,imx1"; 12 12 13 chosen { 13 chosen { 14 stdout-path = &uart1; 14 stdout-path = &uart1; 15 }; 15 }; 16 16 17 memory@8000000 { 17 memory@8000000 { 18 device_type = "memory"; 18 device_type = "memory"; 19 reg = <0x08000000 0x04000000>; 19 reg = <0x08000000 0x04000000>; 20 }; 20 }; 21 }; 21 }; 22 22 23 &cspi1 { 23 &cspi1 { 24 pinctrl-0 = <&pinctrl_cspi1>; 24 pinctrl-0 = <&pinctrl_cspi1>; 25 cs-gpios = <&gpio3 15 GPIO_ACTIVE_LOW> 25 cs-gpios = <&gpio3 15 GPIO_ACTIVE_LOW>; 26 status = "okay"; 26 status = "okay"; 27 }; 27 }; 28 28 29 &i2c { 29 &i2c { 30 pinctrl-names = "default"; 30 pinctrl-names = "default"; 31 pinctrl-0 = <&pinctrl_i2c>; 31 pinctrl-0 = <&pinctrl_i2c>; 32 status = "okay"; 32 status = "okay"; 33 33 34 extgpio0: pcf8575@22 { 34 extgpio0: pcf8575@22 { 35 compatible = "nxp,pcf8575"; 35 compatible = "nxp,pcf8575"; 36 reg = <0x22>; 36 reg = <0x22>; 37 gpio-controller; 37 gpio-controller; 38 #gpio-cells = <2>; 38 #gpio-cells = <2>; 39 }; 39 }; 40 40 41 extgpio1: pcf8575@24 { 41 extgpio1: pcf8575@24 { 42 compatible = "nxp,pcf8575"; 42 compatible = "nxp,pcf8575"; 43 reg = <0x24>; 43 reg = <0x24>; 44 gpio-controller; 44 gpio-controller; 45 #gpio-cells = <2>; 45 #gpio-cells = <2>; 46 }; 46 }; 47 }; 47 }; 48 48 49 &uart1 { 49 &uart1 { 50 pinctrl-names = "default"; 50 pinctrl-names = "default"; 51 pinctrl-0 = <&pinctrl_uart1>; 51 pinctrl-0 = <&pinctrl_uart1>; 52 uart-has-rtscts; 52 uart-has-rtscts; 53 status = "okay"; 53 status = "okay"; 54 }; 54 }; 55 55 56 &uart2 { 56 &uart2 { 57 pinctrl-names = "default"; 57 pinctrl-names = "default"; 58 pinctrl-0 = <&pinctrl_uart2>; 58 pinctrl-0 = <&pinctrl_uart2>; 59 uart-has-rtscts; 59 uart-has-rtscts; 60 status = "okay"; 60 status = "okay"; 61 }; 61 }; 62 62 63 &weim { 63 &weim { 64 pinctrl-names = "default"; 64 pinctrl-names = "default"; 65 pinctrl-0 = <&pinctrl_weim>; 65 pinctrl-0 = <&pinctrl_weim>; 66 status = "okay"; 66 status = "okay"; 67 67 68 nor: flash@0,0 { 68 nor: flash@0,0 { 69 compatible = "cfi-flash"; 69 compatible = "cfi-flash"; 70 reg = <0 0x00000000 0x02000000 70 reg = <0 0x00000000 0x02000000>; 71 bank-width = <4>; 71 bank-width = <4>; 72 fsl,weim-cs-timing = <0x00003e 72 fsl,weim-cs-timing = <0x00003e00 0x00000801>; 73 #address-cells = <1>; 73 #address-cells = <1>; 74 #size-cells = <1>; 74 #size-cells = <1>; 75 }; 75 }; 76 }; 76 }; 77 77 78 &iomuxc { 78 &iomuxc { 79 imx1-ads { 79 imx1-ads { 80 pinctrl_cspi1: cspi1grp { 80 pinctrl_cspi1: cspi1grp { 81 fsl,pins = < 81 fsl,pins = < 82 MX1_PAD_SPI1_M 82 MX1_PAD_SPI1_MISO__SPI1_MISO 0x0 83 MX1_PAD_SPI1_M 83 MX1_PAD_SPI1_MOSI__SPI1_MOSI 0x0 84 MX1_PAD_SPI1_R 84 MX1_PAD_SPI1_RDY__SPI1_RDY 0x0 85 MX1_PAD_SPI1_S 85 MX1_PAD_SPI1_SCLK__SPI1_SCLK 0x0 86 MX1_PAD_SPI1_S 86 MX1_PAD_SPI1_SS__GPIO3_15 0x0 87 >; 87 >; 88 }; 88 }; 89 89 90 pinctrl_i2c: i2cgrp { 90 pinctrl_i2c: i2cgrp { 91 fsl,pins = < 91 fsl,pins = < 92 MX1_PAD_I2C_SC 92 MX1_PAD_I2C_SCL__I2C_SCL 0x0 93 MX1_PAD_I2C_SD 93 MX1_PAD_I2C_SDA__I2C_SDA 0x0 94 >; 94 >; 95 }; 95 }; 96 96 97 pinctrl_uart1: uart1grp { 97 pinctrl_uart1: uart1grp { 98 fsl,pins = < 98 fsl,pins = < 99 MX1_PAD_UART1_ 99 MX1_PAD_UART1_TXD__UART1_TXD 0x0 100 MX1_PAD_UART1_ 100 MX1_PAD_UART1_RXD__UART1_RXD 0x0 101 MX1_PAD_UART1_ 101 MX1_PAD_UART1_CTS__UART1_CTS 0x0 102 MX1_PAD_UART1_ 102 MX1_PAD_UART1_RTS__UART1_RTS 0x0 103 >; 103 >; 104 }; 104 }; 105 105 106 pinctrl_uart2: uart2grp { 106 pinctrl_uart2: uart2grp { 107 fsl,pins = < 107 fsl,pins = < 108 MX1_PAD_UART2_ 108 MX1_PAD_UART2_TXD__UART2_TXD 0x0 109 MX1_PAD_UART2_ 109 MX1_PAD_UART2_RXD__UART2_RXD 0x0 110 MX1_PAD_UART2_ 110 MX1_PAD_UART2_CTS__UART2_CTS 0x0 111 MX1_PAD_UART2_ 111 MX1_PAD_UART2_RTS__UART2_RTS 0x0 112 >; 112 >; 113 }; 113 }; 114 114 115 pinctrl_weim: weimgrp { 115 pinctrl_weim: weimgrp { 116 fsl,pins = < 116 fsl,pins = < 117 MX1_PAD_A0__A0 117 MX1_PAD_A0__A0 0x0 118 MX1_PAD_A16__A 118 MX1_PAD_A16__A16 0x0 119 MX1_PAD_A17__A 119 MX1_PAD_A17__A17 0x0 120 MX1_PAD_A18__A 120 MX1_PAD_A18__A18 0x0 121 MX1_PAD_A19__A 121 MX1_PAD_A19__A19 0x0 122 MX1_PAD_A20__A 122 MX1_PAD_A20__A20 0x0 123 MX1_PAD_A21__A 123 MX1_PAD_A21__A21 0x0 124 MX1_PAD_A22__A 124 MX1_PAD_A22__A22 0x0 125 MX1_PAD_A23__A 125 MX1_PAD_A23__A23 0x0 126 MX1_PAD_A24__A 126 MX1_PAD_A24__A24 0x0 127 MX1_PAD_BCLK__ 127 MX1_PAD_BCLK__BCLK 0x0 128 MX1_PAD_CS4__C 128 MX1_PAD_CS4__CS4 0x0 129 MX1_PAD_DTACK_ 129 MX1_PAD_DTACK__DTACK 0x0 130 MX1_PAD_ECB__E 130 MX1_PAD_ECB__ECB 0x0 131 MX1_PAD_LBA__L 131 MX1_PAD_LBA__LBA 0x0 132 >; 132 >; 133 }; 133 }; 134 }; 134 }; 135 }; 135 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.