| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * am335x-igep0033.dtsi - Device Tree file for IGEP COM AQUILA AM335x |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2013 ISEE 2007 SL - http://www.isee.biz |
|---|
| 5 | | - * |
|---|
| 6 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 7 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 8 | | - * published by the Free Software Foundation. |
|---|
| 9 | 6 | */ |
|---|
| 10 | 7 | |
|---|
| 11 | 8 | /dts-v1/; |
|---|
| .. | .. |
|---|
| 57 | 54 | &am33xx_pinmux { |
|---|
| 58 | 55 | i2c0_pins: pinmux_i2c0_pins { |
|---|
| 59 | 56 | pinctrl-single,pins = < |
|---|
| 60 | | - AM33XX_IOPAD(0x988, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c0_sda.i2c0_sda */ |
|---|
| 61 | | - AM33XX_IOPAD(0x98c, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c0_scl.i2c0_scl */ |
|---|
| 57 | + AM33XX_PADCONF(AM335X_PIN_I2C0_SDA, PIN_INPUT_PULLUP, MUX_MODE0) |
|---|
| 58 | + AM33XX_PADCONF(AM335X_PIN_I2C0_SCL, PIN_INPUT_PULLUP, MUX_MODE0) |
|---|
| 62 | 59 | >; |
|---|
| 63 | 60 | }; |
|---|
| 64 | 61 | |
|---|
| 65 | 62 | nandflash_pins: pinmux_nandflash_pins { |
|---|
| 66 | 63 | pinctrl-single,pins = < |
|---|
| 67 | | - AM33XX_IOPAD(0x800, PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad0.gpmc_ad0 */ |
|---|
| 68 | | - AM33XX_IOPAD(0x804, PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad1.gpmc_ad1 */ |
|---|
| 69 | | - AM33XX_IOPAD(0x808, PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad2.gpmc_ad2 */ |
|---|
| 70 | | - AM33XX_IOPAD(0x80c, PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad3.gpmc_ad3 */ |
|---|
| 71 | | - AM33XX_IOPAD(0x810, PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad4.gpmc_ad4 */ |
|---|
| 72 | | - AM33XX_IOPAD(0x814, PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad5.gpmc_ad5 */ |
|---|
| 73 | | - AM33XX_IOPAD(0x818, PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad6.gpmc_ad6 */ |
|---|
| 74 | | - AM33XX_IOPAD(0x81c, PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad7.gpmc_ad7 */ |
|---|
| 75 | | - AM33XX_IOPAD(0x870, PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_wait0.gpmc_wait0 */ |
|---|
| 76 | | - AM33XX_IOPAD(0x874, PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_wpn.gpio0_30 */ |
|---|
| 77 | | - AM33XX_IOPAD(0x87c, PIN_OUTPUT | MUX_MODE0) /* gpmc_csn0.gpmc_csn0 */ |
|---|
| 78 | | - AM33XX_IOPAD(0x890, PIN_OUTPUT | MUX_MODE0) /* gpmc_advn_ale.gpmc_advn_ale */ |
|---|
| 79 | | - AM33XX_IOPAD(0x894, PIN_OUTPUT | MUX_MODE0) /* gpmc_oen_ren.gpmc_oen_ren */ |
|---|
| 80 | | - AM33XX_IOPAD(0x898, PIN_OUTPUT | MUX_MODE0) /* gpmc_wen.gpmc_wen */ |
|---|
| 81 | | - AM33XX_IOPAD(0x89c, PIN_OUTPUT | MUX_MODE0) /* gpmc_be0n_cle.gpmc_be0n_cle */ |
|---|
| 64 | + AM33XX_PADCONF(AM335X_PIN_GPMC_AD0, PIN_INPUT_PULLUP, MUX_MODE0) |
|---|
| 65 | + AM33XX_PADCONF(AM335X_PIN_GPMC_AD1, PIN_INPUT_PULLUP, MUX_MODE0) |
|---|
| 66 | + AM33XX_PADCONF(AM335X_PIN_GPMC_AD2, PIN_INPUT_PULLUP, MUX_MODE0) |
|---|
| 67 | + AM33XX_PADCONF(AM335X_PIN_GPMC_AD3, PIN_INPUT_PULLUP, MUX_MODE0) |
|---|
| 68 | + AM33XX_PADCONF(AM335X_PIN_GPMC_AD4, PIN_INPUT_PULLUP, MUX_MODE0) |
|---|
| 69 | + AM33XX_PADCONF(AM335X_PIN_GPMC_AD5, PIN_INPUT_PULLUP, MUX_MODE0) |
|---|
| 70 | + AM33XX_PADCONF(AM335X_PIN_GPMC_AD6, PIN_INPUT_PULLUP, MUX_MODE0) |
|---|
| 71 | + AM33XX_PADCONF(AM335X_PIN_GPMC_AD7, PIN_INPUT_PULLUP, MUX_MODE0) |
|---|
| 72 | + AM33XX_PADCONF(AM335X_PIN_GPMC_WAIT0, PIN_INPUT_PULLUP, MUX_MODE0) |
|---|
| 73 | + AM33XX_PADCONF(AM335X_PIN_GPMC_WPN, PIN_INPUT_PULLUP, MUX_MODE7) /* gpmc_wpn.gpio0_30 */ |
|---|
| 74 | + AM33XX_PADCONF(AM335X_PIN_GPMC_CSN0, PIN_OUTPUT, MUX_MODE0) |
|---|
| 75 | + AM33XX_PADCONF(AM335X_PIN_GPMC_ADVN_ALE, PIN_OUTPUT, MUX_MODE0) |
|---|
| 76 | + AM33XX_PADCONF(AM335X_PIN_GPMC_OEN_REN, PIN_OUTPUT, MUX_MODE0) |
|---|
| 77 | + AM33XX_PADCONF(AM335X_PIN_GPMC_WEN, PIN_OUTPUT, MUX_MODE0) |
|---|
| 78 | + AM33XX_PADCONF(AM335X_PIN_GPMC_BEN0_CLE, PIN_OUTPUT, MUX_MODE0) |
|---|
| 82 | 79 | >; |
|---|
| 83 | 80 | }; |
|---|
| 84 | 81 | |
|---|
| 85 | 82 | uart0_pins: pinmux_uart0_pins { |
|---|
| 86 | 83 | pinctrl-single,pins = < |
|---|
| 87 | | - AM33XX_IOPAD(0x970, PIN_INPUT_PULLUP | MUX_MODE0) /* uart0_rxd.uart0_rxd */ |
|---|
| 88 | | - AM33XX_IOPAD(0x974, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart0_txd.uart0_txd */ |
|---|
| 84 | + AM33XX_PADCONF(AM335X_PIN_UART0_RXD, PIN_INPUT_PULLUP, MUX_MODE0) |
|---|
| 85 | + AM33XX_PADCONF(AM335X_PIN_UART0_TXD, PIN_OUTPUT_PULLDOWN, MUX_MODE0) |
|---|
| 89 | 86 | >; |
|---|
| 90 | 87 | }; |
|---|
| 91 | 88 | |
|---|
| 92 | 89 | leds_pins: pinmux_leds_pins { |
|---|
| 93 | 90 | pinctrl-single,pins = < |
|---|
| 94 | | - AM33XX_IOPAD(0x85c, PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_a7.gpio1_23 */ |
|---|
| 91 | + AM33XX_PADCONF(AM335X_PIN_GPMC_A7, PIN_OUTPUT_PULLDOWN, MUX_MODE7) /* gpmc_a7.gpio1_23 */ |
|---|
| 95 | 92 | >; |
|---|
| 96 | 93 | }; |
|---|
| 97 | 94 | }; |
|---|
| .. | .. |
|---|
| 102 | 99 | |
|---|
| 103 | 100 | &davinci_mdio { |
|---|
| 104 | 101 | status = "okay"; |
|---|
| 102 | + |
|---|
| 103 | + ethphy0: ethernet-phy@0 { |
|---|
| 104 | + reg = <0>; |
|---|
| 105 | + }; |
|---|
| 106 | + |
|---|
| 107 | + ethphy1: ethernet-phy@1 { |
|---|
| 108 | + reg = <1>; |
|---|
| 109 | + }; |
|---|
| 105 | 110 | }; |
|---|
| 106 | 111 | |
|---|
| 107 | 112 | &cpsw_emac0 { |
|---|
| 108 | | - phy_id = <&davinci_mdio>, <0>; |
|---|
| 113 | + phy-handle = <ðphy0>; |
|---|
| 109 | 114 | phy-mode = "rmii"; |
|---|
| 115 | + |
|---|
| 110 | 116 | }; |
|---|
| 111 | 117 | |
|---|
| 112 | 118 | &cpsw_emac1 { |
|---|
| 113 | | - phy_id = <&davinci_mdio>, <1>; |
|---|
| 119 | + phy-handle = <ðphy1>; |
|---|
| 114 | 120 | phy-mode = "rmii"; |
|---|
| 115 | | -}; |
|---|
| 116 | | - |
|---|
| 117 | | -&phy_sel { |
|---|
| 118 | | - rmii-clock-ext; |
|---|
| 119 | 121 | }; |
|---|
| 120 | 122 | |
|---|
| 121 | 123 | &elm { |
|---|
| .. | .. |
|---|
| 215 | 217 | pinctrl-0 = <&uart0_pins>; |
|---|
| 216 | 218 | }; |
|---|
| 217 | 219 | |
|---|
| 218 | | -&usb { |
|---|
| 219 | | - status = "okay"; |
|---|
| 220 | | -}; |
|---|
| 221 | | - |
|---|
| 222 | | -&usb_ctrl_mod { |
|---|
| 223 | | - status = "okay"; |
|---|
| 224 | | -}; |
|---|
| 225 | | - |
|---|
| 226 | | -&usb0_phy { |
|---|
| 227 | | - status = "okay"; |
|---|
| 228 | | -}; |
|---|
| 229 | | - |
|---|
| 230 | | -&usb1_phy { |
|---|
| 231 | | - status = "okay"; |
|---|
| 232 | | -}; |
|---|
| 233 | | - |
|---|
| 234 | | -&usb0 { |
|---|
| 235 | | - status = "okay"; |
|---|
| 236 | | -}; |
|---|
| 237 | | - |
|---|
| 238 | 220 | &usb1 { |
|---|
| 239 | | - status = "okay"; |
|---|
| 240 | 221 | dr_mode = "host"; |
|---|
| 241 | | -}; |
|---|
| 242 | | - |
|---|
| 243 | | -&cppi41dma { |
|---|
| 244 | | - status = "okay"; |
|---|
| 245 | 222 | }; |
|---|
| 246 | 223 | |
|---|
| 247 | 224 | #include "tps65910.dtsi" |
|---|