| 1 |
// SPDX-License-Identifier: GPL-2.0-only OR MIT |
| 2 |
/* |
| 3 |
* Copyright (C) 2021-2024 PHYTEC America, LLC - https://www.phytec.com |
| 4 |
* Author: Matt McKee <[email protected]> |
| 5 |
* |
| 6 |
* Copyright (C) 2022-2024 PHYTEC Messtechnik GmbH |
| 7 |
* Author: Wadim Egorov <[email protected]> |
| 8 |
* |
| 9 |
* Product homepage: |
| 10 |
* https://www.phytec.com/product/phyboard-am64x |
| 11 |
*/ |
| 12 |
|
| 13 |
/dts-v1/; |
| 14 |
|
| 15 |
#include <dt-bindings/gpio/gpio.h> |
| 16 |
#include <dt-bindings/input/input.h> |
| 17 |
#include <dt-bindings/leds/common.h> |
| 18 |
#include <dt-bindings/leds/leds-pca9532.h> |
| 19 |
#include <dt-bindings/phy/phy.h> |
| 20 |
#include "k3-am642.dtsi" |
| 21 |
#include "k3-am64-phycore-som.dtsi" |
| 22 |
|
| 23 |
#include "k3-serdes.h" |
| 24 |
|
| 25 |
/ { |
| 26 |
compatible = "phytec,am642-phyboard-electra-rdk", |
| 27 |
"phytec,am64-phycore-som", "ti,am642"; |
| 28 |
model = "PHYTEC phyBOARD-Electra-AM64x RDK"; |
| 29 |
|
| 30 |
aliases { |
| 31 |
ethernet1 = &icssg0_emac0; |
| 32 |
ethernet2 = &icssg0_emac1; |
| 33 |
mmc1 = &sdhci1; |
| 34 |
serial2 = &main_uart0; |
| 35 |
serial3 = &main_uart1; |
| 36 |
}; |
| 37 |
|
| 38 |
chosen { |
| 39 |
stdout-path = &main_uart0; |
| 40 |
}; |
| 41 |
|
| 42 |
can_tc1: can-phy0 { |
| 43 |
compatible = "ti,tcan1042"; |
| 44 |
pinctrl-names = "default"; |
| 45 |
pinctrl-0 = <&can_tc1_pins_default>; |
| 46 |
#phy-cells = <0>; |
| 47 |
max-bitrate = <8000000>; |
| 48 |
standby-gpios = <&main_gpio0 32 GPIO_ACTIVE_HIGH>; |
| 49 |
}; |
| 50 |
|
| 51 |
can_tc2: can-phy1 { |
| 52 |
compatible = "ti,tcan1042"; |
| 53 |
pinctrl-names = "default"; |
| 54 |
pinctrl-0 = <&can_tc2_pins_default>; |
| 55 |
#phy-cells = <0>; |
| 56 |
max-bitrate = <8000000>; |
| 57 |
standby-gpios = <&main_gpio0 35 GPIO_ACTIVE_HIGH>; |
| 58 |
}; |
| 59 |
|
| 60 |
/* Dual Ethernet application node on PRU-ICSSG0 */ |
| 61 |
ethernet { |
| 62 |
compatible = "ti,am642-icssg-prueth"; |
| 63 |
pinctrl-names = "default"; |
| 64 |
pinctrl-0 = <&icssg0_rgmii1_pins_default>, <&icssg0_rgmii2_pins_default>; |
| 65 |
|
| 66 |
interrupt-parent = <&icssg0_intc>; |
| 67 |
interrupts = <24 0 2>, <25 1 3>; |
| 68 |
interrupt-names = "tx_ts0", "tx_ts1"; |
| 69 |
|
| 70 |
sram = <&oc_sram>; |
| 71 |
firmware-name = "ti-pruss/am65x-sr2-pru0-prueth-fw.elf", |
| 72 |
"ti-pruss/am65x-sr2-rtu0-prueth-fw.elf", |
| 73 |
"ti-pruss/am65x-sr2-txpru0-prueth-fw.elf", |
| 74 |
"ti-pruss/am65x-sr2-pru1-prueth-fw.elf", |
| 75 |
"ti-pruss/am65x-sr2-rtu1-prueth-fw.elf", |
| 76 |
"ti-pruss/am65x-sr2-txpru1-prueth-fw.elf"; |
| 77 |
|
| 78 |
dmas = <&main_pktdma 0xc100 15>, /* egress slice 0 */ |
| 79 |
<&main_pktdma 0xc101 15>, /* egress slice 0 */ |
| 80 |
<&main_pktdma 0xc102 15>, /* egress slice 0 */ |
| 81 |
<&main_pktdma 0xc103 15>, /* egress slice 0 */ |
| 82 |
<&main_pktdma 0xc104 15>, /* egress slice 1 */ |
| 83 |
<&main_pktdma 0xc105 15>, /* egress slice 1 */ |
| 84 |
<&main_pktdma 0xc106 15>, /* egress slice 1 */ |
| 85 |
<&main_pktdma 0xc107 15>, /* egress slice 1 */ |
| 86 |
<&main_pktdma 0x4100 15>, /* ingress slice 0 */ |
| 87 |
<&main_pktdma 0x4101 15>; /* ingress slice 1 */ |
| 88 |
dma-names = "tx0-0", "tx0-1", "tx0-2", "tx0-3", |
| 89 |
"tx1-0", "tx1-1", "tx1-2", "tx1-3", |
| 90 |
"rx0", "rx1"; |
| 91 |
|
| 92 |
ti,prus = <&pru0_0>, <&rtu0_0>, <&tx_pru0_0>, <&pru0_1>, <&rtu0_1>, <&tx_pru0_1>; |
| 93 |
ti,pruss-gp-mux-sel = <2>, /* MII mode */ |
| 94 |
<2>, |
| 95 |
<2>, |
| 96 |
<2>, /* MII mode */ |
| 97 |
<2>, |
| 98 |
<2>; |
| 99 |
|
| 100 |
ti,mii-g-rt = <&icssg0_mii_g_rt>; |
| 101 |
ti,mii-rt = <&icssg0_mii_rt>; |
| 102 |
ti,iep = <&icssg0_iep0>, <&icssg0_iep1>; |
| 103 |
ti,pa-stats = <&icssg0_pa_stats>; |
| 104 |
|
| 105 |
ethernet-ports { |
| 106 |
#address-cells = <1>; |
| 107 |
#size-cells = <0>; |
| 108 |
icssg0_emac0: port@0 { |
| 109 |
reg = <0>; |
| 110 |
phy-handle = <&icssg0_phy1>; |
| 111 |
phy-mode = "rgmii-id"; |
| 112 |
/* Filled in by bootloader */ |
| 113 |
local-mac-address = [00 00 00 00 00 00]; |
| 114 |
ti,syscon-rgmii-delay = <&main_conf 0x4100>; |
| 115 |
}; |
| 116 |
|
| 117 |
icssg0_emac1: port@1 { |
| 118 |
reg = <1>; |
| 119 |
phy-handle = <&icssg0_phy2>; |
| 120 |
phy-mode = "rgmii-id"; |
| 121 |
/* Filled in by bootloader */ |
| 122 |
local-mac-address = [00 00 00 00 00 00]; |
| 123 |
ti,syscon-rgmii-delay = <&main_conf 0x4104>; |
| 124 |
}; |
| 125 |
}; |
| 126 |
}; |
| 127 |
|
| 128 |
keys { |
| 129 |
compatible = "gpio-keys"; |
| 130 |
autorepeat; |
| 131 |
pinctrl-names = "default"; |
| 132 |
pinctrl-0 = <&gpio_keys_pins_default>; |
| 133 |
|
| 134 |
key-home { |
| 135 |
label = "home"; |
| 136 |
linux,code = <KEY_HOME>; |
| 137 |
gpios = <&main_gpio0 17 GPIO_ACTIVE_HIGH>; |
| 138 |
}; |
| 139 |
|
| 140 |
key-menu { |
| 141 |
label = "menu"; |
| 142 |
linux,code = <KEY_MENU>; |
| 143 |
gpios = <&main_gpio0 21 GPIO_ACTIVE_HIGH>; |
| 144 |
}; |
| 145 |
}; |
| 146 |
|
| 147 |
leds { |
| 148 |
compatible = "gpio-leds"; |
| 149 |
pinctrl-names = "default"; |
| 150 |
pinctrl-0 = <&leds_pins_default>, <&user_leds_pins_default>; |
| 151 |
|
| 152 |
led-1 { |
| 153 |
color = <LED_COLOR_ID_RED>; |
| 154 |
gpios = <&main_gpio0 15 GPIO_ACTIVE_HIGH>; |
| 155 |
linux,default-trigger = "mmc0"; |
| 156 |
function = LED_FUNCTION_DISK; |
| 157 |
}; |
| 158 |
|
| 159 |
led-2 { |
| 160 |
color = <LED_COLOR_ID_GREEN>; |
| 161 |
gpios = <&main_gpio0 16 GPIO_ACTIVE_HIGH>; |
| 162 |
linux,default-trigger = "mmc1"; |
| 163 |
function = LED_FUNCTION_DISK; |
| 164 |
}; |
| 165 |
}; |
| 166 |
|
| 167 |
vcc_3v3_mmc: regulator-sd { |
| 168 |
/* TPS22963C */ |
| 169 |
compatible = "regulator-fixed"; |
| 170 |
regulator-name = "VCC_3V3_MMC"; |
| 171 |
regulator-min-microvolt = <3300000>; |
| 172 |
regulator-max-microvolt = <3300000>; |
| 173 |
regulator-boot-on; |
| 174 |
regulator-always-on; |
| 175 |
bootph-all; |
| 176 |
}; |
| 177 |
}; |
| 178 |
|
| 179 |
&main_pmx0 { |
| 180 |
can_tc1_pins_default: can-tc1-default-pins { |
| 181 |
pinctrl-single,pins = < |
| 182 |
AM64X_IOPAD(0x0084, PIN_OUTPUT, 7) /* (P16) GPMC0_ADVn_ALE.GPIO0_32 */ |
| 183 |
>; |
| 184 |
}; |
| 185 |
|
| 186 |
can_tc2_pins_default: can-tc2-default-pins { |
| 187 |
pinctrl-single,pins = < |
| 188 |
AM64X_IOPAD(0x0090, PIN_OUTPUT, 7) /* (P17) GPMC0_BE0n_CLE.GPIO0_35 */ |
| 189 |
>; |
| 190 |
}; |
| 191 |
|
| 192 |
clkout0_pins_default: clkout0-default-pins { |
| 193 |
pinctrl-single,pins = < |
| 194 |
AM64X_IOPAD(0x0274, PIN_OUTPUT, 5) /* (A19) EXT_REFCLK1.CLKOUT0 */ |
| 195 |
>; |
| 196 |
}; |
| 197 |
|
| 198 |
gpio_keys_pins_default: gpio-keys-default-pins { |
| 199 |
pinctrl-single,pins = < |
| 200 |
AM64X_IOPAD(0x0044, PIN_INPUT, 7) /* (T18) GPMC0_AD2.GPIO0_17 */ |
| 201 |
AM64X_IOPAD(0x0054, PIN_INPUT, 7) /* (V20) GPMC0_AD6.GPIO0_21 */ |
| 202 |
>; |
| 203 |
}; |
| 204 |
|
| 205 |
icssg0_mdio_pins_default: icssg0-mdio-default-pins { |
| 206 |
pinctrl-single,pins = < |
| 207 |
AM64X_IOPAD(0x0200, PIN_INPUT, 0) /* (P2) PRG0_MDIO0_MDIO */ |
| 208 |
AM64X_IOPAD(0x0204, PIN_OUTPUT, 0) /* (P3) PRG0_MDIO0_MDC */ |
| 209 |
AM64X_IOPAD(0x01a8, PIN_OUTPUT, 7) /* (V1) PRG0_PRU0_GPO18.GPIO1_18 */ |
| 210 |
AM64X_IOPAD(0x01ac, PIN_OUTPUT, 7) /* (W1) PRG0_PRU0_GPO19.GPIO1_19 */ |
| 211 |
>; |
| 212 |
}; |
| 213 |
|
| 214 |
icssg0_rgmii1_pins_default: icssg0-rgmii1-default-pins { |
| 215 |
pinctrl-single,pins = < |
| 216 |
AM64X_IOPAD(0x0160, PIN_INPUT, 2) /* (Y1) PRG0_PRU0_GPO0.PRG0_RGMII1_RD0 */ |
| 217 |
AM64X_IOPAD(0x0164, PIN_INPUT, 2) /* (R4) PRG0_PRU0_GPO1.PRG0_RGMII1_RD1 */ |
| 218 |
AM64X_IOPAD(0x0168, PIN_INPUT, 2) /* (U2) PRG0_PRU0_GPO2.PRG0_RGMII1_RD2 */ |
| 219 |
AM64X_IOPAD(0x016c, PIN_INPUT, 2) /* (V2) PRG0_PRU0_GPO3.PRG0_RGMII1_RD3 */ |
| 220 |
AM64X_IOPAD(0x0170, PIN_INPUT, 2) /* (AA2) PRG0_PRU0_GPO4.PRG0_RGMII1_RX_CTL */ |
| 221 |
AM64X_IOPAD(0x0178, PIN_INPUT, 2) /* (T3) PRG0_PRU0_GPO6.PRG0_RGMII1_RXC */ |
| 222 |
AM64X_IOPAD(0x018c, PIN_OUTPUT, 2) /* (Y3) PRG0_PRU0_GPO11.PRG0_RGMII1_TD0 */ |
| 223 |
AM64X_IOPAD(0x0190, PIN_OUTPUT, 2) /* (AA3) PRG0_PRU0_GPO12.PRG0_RGMII1_TD1 */ |
| 224 |
AM64X_IOPAD(0x0194, PIN_OUTPUT, 2) /* (R6) PRG0_PRU0_GPO13.PRG0_RGMII1_TD2 */ |
| 225 |
AM64X_IOPAD(0x0198, PIN_OUTPUT, 2) /* (V4) PRG0_PRU0_GPO14.PRG0_RGMII1_TD3 */ |
| 226 |
AM64X_IOPAD(0x019c, PIN_OUTPUT, 2) /* (T5) PRG0_PRU0_GPO15.PRG0_RGMII1_TX_CTL */ |
| 227 |
AM64X_IOPAD(0x01a0, PIN_OUTPUT, 2) /* (U4) PRG0_PRU0_GPO16.PRG0_RGMII1_TXC */ |
| 228 |
>; |
| 229 |
}; |
| 230 |
|
| 231 |
icssg0_rgmii2_pins_default: icssg0-rgmii2-default-pins { |
| 232 |
pinctrl-single,pins = < |
| 233 |
AM64X_IOPAD(0x01b0, PIN_INPUT, 2) /* (Y2) PRG0_PRU1_GPO0.PRG0_RGMII2_RD0 */ |
| 234 |
AM64X_IOPAD(0x01b4, PIN_INPUT, 2) /* (W2) PRG0_PRU1_GPO1.PRG0_RGMII2_RD1 */ |
| 235 |
AM64X_IOPAD(0x01b8, PIN_INPUT, 2) /* (V3) PRG0_PRU1_GPO2.PRG0_RGMII2_RD2 */ |
| 236 |
AM64X_IOPAD(0x01bc, PIN_INPUT, 2) /* (T4) PRG0_PRU1_GPO3.PRG0_RGMII2_RD3 */ |
| 237 |
AM64X_IOPAD(0x01c0, PIN_INPUT, 2) /* (W3) PRG0_PRU1_GPO4.PRG0_RGMII2_RX_CTL */ |
| 238 |
AM64X_IOPAD(0x01c8, PIN_INPUT, 2) /* (R5) PRG0_PRU1_GPO6.PRG0_RGMII2_RXC */ |
| 239 |
AM64X_IOPAD(0x01dc, PIN_OUTPUT, 2) /* (W4) PRG0_PRU1_GPO11.PRG0_RGMII2_TD0 */ |
| 240 |
AM64X_IOPAD(0x01e0, PIN_OUTPUT, 2) /* (Y4) PRG0_PRU1_GPO12.PRG0_RGMII2_TD1 */ |
| 241 |
AM64X_IOPAD(0x01e4, PIN_OUTPUT, 2) /* (T6) PRG0_PRU1_GPO13.PRG0_RGMII2_TD2 */ |
| 242 |
AM64X_IOPAD(0x01e8, PIN_OUTPUT, 2) /* (U6) PRG0_PRU1_GPO14.PRG0_RGMII2_TD3 */ |
| 243 |
AM64X_IOPAD(0x01ec, PIN_OUTPUT, 2) /* (U5) PRG0_PRU1_GPO15.PRG0_RGMII2_TX_CTL */ |
| 244 |
AM64X_IOPAD(0x01f0, PIN_OUTPUT, 2) /* (AA4) PRG0_PRU1_GPO16.PRG0_RGMII2_TXC */ |
| 245 |
>; |
| 246 |
}; |
| 247 |
|
| 248 |
main_i2c1_pins_default: main-i2c1-default-pins { |
| 249 |
pinctrl-single,pins = < |
| 250 |
AM64X_IOPAD(0x0268, PIN_INPUT, 0) /* (C18) I2C1_SCL */ |
| 251 |
AM64X_IOPAD(0x026c, PIN_INPUT, 0) /* (B19) I2C1_SDA */ |
| 252 |
>; |
| 253 |
}; |
| 254 |
|
| 255 |
main_mcan0_pins_default: main-mcan0-default-pins { |
| 256 |
pinctrl-single,pins = < |
| 257 |
AM64X_IOPAD(0x0250, PIN_OUTPUT, 0) /* (A17) MCAN0_TX */ |
| 258 |
AM64X_IOPAD(0x0254, PIN_INPUT, 0) /* (B17) MCAN0_RX */ |
| 259 |
>; |
| 260 |
}; |
| 261 |
|
| 262 |
main_mcan1_pins_default: main-mcan1-default-pins { |
| 263 |
pinctrl-single,pins = < |
| 264 |
AM64X_IOPAD(0x0258, PIN_OUTPUT, 0) /* (C17) MCAN1_TX */ |
| 265 |
AM64X_IOPAD(0x025c, PIN_INPUT, 0) /* (D17) MCAN1_RX */ |
| 266 |
>; |
| 267 |
}; |
| 268 |
|
| 269 |
main_mmc1_pins_default: main-mmc1-default-pins { |
| 270 |
pinctrl-single,pins = < |
| 271 |
AM64X_IOPAD(0x027c, PIN_INPUT_PULLUP, 0) /* (K18) MMC1_DAT3 */ |
| 272 |
AM64X_IOPAD(0x0280, PIN_INPUT_PULLUP, 0) /* (K19) MMC1_DAT2 */ |
| 273 |
AM64X_IOPAD(0x0284, PIN_INPUT_PULLUP, 0) /* (L21) MMC1_DAT1 */ |
| 274 |
AM64X_IOPAD(0x0288, PIN_INPUT_PULLUP, 0) /* (K21) MMC1_DAT0 */ |
| 275 |
AM64X_IOPAD(0x028c, PIN_INPUT_PULLDOWN, 0) /* (L20) MMC1_CLK */ |
| 276 |
AM64X_IOPAD(0x0290, PIN_INPUT, 0) /* MMC1_CLKLB */ |
| 277 |
AM64X_IOPAD(0x0294, PIN_INPUT_PULLUP, 0) /* (J19) MMC1_CMD */ |
| 278 |
AM64X_IOPAD(0x0298, PIN_INPUT_PULLUP, 0) /* (D19) MMC1_SDCD */ |
| 279 |
>; |
| 280 |
bootph-all; |
| 281 |
}; |
| 282 |
|
| 283 |
main_spi0_pins_default: main-spi0-default-pins { |
| 284 |
pinctrl-single,pins = < |
| 285 |
AM64X_IOPAD(0x020c, PIN_OUTPUT, 7) /* (C13) SPI0_CS1.GPIO1_43 */ |
| 286 |
AM64X_IOPAD(0x0210, PIN_INPUT, 0) /* (D13) SPI0_CLK */ |
| 287 |
AM64X_IOPAD(0x0214, PIN_OUTPUT, 0) /* (A13) SPI0_D0 */ |
| 288 |
AM64X_IOPAD(0x0218, PIN_INPUT, 0) /* (A14) SPI0_D1 */ |
| 289 |
>; |
| 290 |
}; |
| 291 |
|
| 292 |
main_uart0_pins_default: main-uart0-default-pins { |
| 293 |
pinctrl-single,pins = < |
| 294 |
AM64X_IOPAD(0x0230, PIN_INPUT, 0) /* (D15) UART0_RXD */ |
| 295 |
AM64X_IOPAD(0x0234, PIN_OUTPUT, 0) /* (C16) UART0_TXD */ |
| 296 |
>; |
| 297 |
bootph-all; |
| 298 |
}; |
| 299 |
|
| 300 |
main_uart1_pins_default: main-uart1-default-pins { |
| 301 |
pinctrl-single,pins = < |
| 302 |
AM64X_IOPAD(0x0248, PIN_INPUT, 0) /* (D16) UART1_CTSn */ |
| 303 |
AM64X_IOPAD(0x024c, PIN_OUTPUT, 0) /* (E16) UART1_RTSn */ |
| 304 |
AM64X_IOPAD(0x0240, PIN_INPUT, 0) /* (E15) UART1_RXD */ |
| 305 |
AM64X_IOPAD(0x0244, PIN_OUTPUT, 0) /* (E14) UART1_TXD */ |
| 306 |
>; |
| 307 |
}; |
| 308 |
|
| 309 |
main_usb0_pins_default: main-usb0-default-pins { |
| 310 |
pinctrl-single,pins = < |
| 311 |
AM64X_IOPAD(0x02a8, PIN_OUTPUT, 0) /* (E19) USB0_DRVVBUS */ |
| 312 |
>; |
| 313 |
}; |
| 314 |
|
| 315 |
user_leds_pins_default: user-leds-default-pins { |
| 316 |
pinctrl-single,pins = < |
| 317 |
AM64X_IOPAD(0x003c, PIN_OUTPUT, 7) /* (T20) GPMC0_AD0.GPIO0_15 */ |
| 318 |
AM64X_IOPAD(0x0040, PIN_OUTPUT, 7) /* (U21) GPMC0_AD1.GPIO0_16 */ |
| 319 |
>; |
| 320 |
}; |
| 321 |
}; |
| 322 |
|
| 323 |
&icssg0_mdio { |
| 324 |
pinctrl-names = "default"; |
| 325 |
pinctrl-0 = <&icssg0_mdio_pins_default &clkout0_pins_default>; |
| 326 |
assigned-clocks = <&k3_clks 157 123>; |
| 327 |
assigned-clock-parents = <&k3_clks 157 125>; |
| 328 |
status = "okay"; |
| 329 |
|
| 330 |
icssg0_phy1: ethernet-phy@1 { |
| 331 |
compatible = "ethernet-phy-id2000.a231", "ethernet-phy-ieee802.3-c22"; |
| 332 |
reg = <0x1>; |
| 333 |
tx-fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; |
| 334 |
rx-fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; |
| 335 |
reset-gpios = <&main_gpio1 18 GPIO_ACTIVE_LOW>; |
| 336 |
reset-assert-us = <1000>; |
| 337 |
reset-deassert-us = <1000>; |
| 338 |
ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>; |
| 339 |
}; |
| 340 |
|
| 341 |
icssg0_phy2: ethernet-phy@2 { |
| 342 |
compatible = "ethernet-phy-id2000.a231", "ethernet-phy-ieee802.3-c22"; |
| 343 |
reg = <0x2>; |
| 344 |
tx-fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; |
| 345 |
rx-fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; |
| 346 |
reset-gpios = <&main_gpio1 19 GPIO_ACTIVE_LOW>; |
| 347 |
reset-assert-us = <1000>; |
| 348 |
reset-deassert-us = <1000>; |
| 349 |
ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>; |
| 350 |
}; |
| 351 |
}; |
| 352 |
|
| 353 |
&i2c_som_rtc { |
| 354 |
trickle-resistor-ohms = <3000>; |
| 355 |
}; |
| 356 |
|
| 357 |
&main_i2c1 { |
| 358 |
pinctrl-names = "default"; |
| 359 |
pinctrl-0 = <&main_i2c1_pins_default>; |
| 360 |
clock-frequency = <400000>; |
| 361 |
status = "okay"; |
| 362 |
|
| 363 |
eeprom@51 { |
| 364 |
compatible = "atmel,24c02"; |
| 365 |
pagesize = <16>; |
| 366 |
reg = <0x51>; |
| 367 |
}; |
| 368 |
|
| 369 |
led-controller@62 { |
| 370 |
compatible = "nxp,pca9533"; |
| 371 |
reg = <0x62>; |
| 372 |
|
| 373 |
led-3 { |
| 374 |
label = "red:user"; |
| 375 |
type = <PCA9532_TYPE_LED>; |
| 376 |
}; |
| 377 |
|
| 378 |
led-4 { |
| 379 |
label = "green:user"; |
| 380 |
type = <PCA9532_TYPE_LED>; |
| 381 |
}; |
| 382 |
|
| 383 |
led-5 { |
| 384 |
label = "blue:user"; |
| 385 |
type = <PCA9532_TYPE_LED>; |
| 386 |
}; |
| 387 |
}; |
| 388 |
}; |
| 389 |
|
| 390 |
&main_mcan0 { |
| 391 |
pinctrl-names = "default"; |
| 392 |
pinctrl-0 = <&main_mcan0_pins_default>; |
| 393 |
phys = <&can_tc1>; |
| 394 |
status = "okay"; |
| 395 |
}; |
| 396 |
|
| 397 |
&main_mcan1 { |
| 398 |
pinctrl-names = "default"; |
| 399 |
pinctrl-0 = <&main_mcan1_pins_default>; |
| 400 |
phys = <&can_tc2>; |
| 401 |
status = "okay"; |
| 402 |
}; |
| 403 |
|
| 404 |
&main_spi0 { |
| 405 |
pinctrl-names = "default"; |
| 406 |
pinctrl-0 = <&main_spi0_pins_default>; |
| 407 |
cs-gpios = <0>, <&main_gpio1 43 GPIO_ACTIVE_LOW>; |
| 408 |
ti,pindir-d0-out-d1-in; |
| 409 |
status = "okay"; |
| 410 |
|
| 411 |
tpm@1 { |
| 412 |
compatible = "infineon,slb9670", "tcg,tpm_tis-spi"; |
| 413 |
reg = <1>; |
| 414 |
spi-max-frequency = <10000000>; |
| 415 |
}; |
| 416 |
}; |
| 417 |
|
| 418 |
&main_uart0 { |
| 419 |
pinctrl-names = "default"; |
| 420 |
pinctrl-0 = <&main_uart0_pins_default>; |
| 421 |
bootph-all; |
| 422 |
status = "okay"; |
| 423 |
}; |
| 424 |
|
| 425 |
&main_uart1 { |
| 426 |
pinctrl-names = "default"; |
| 427 |
pinctrl-0 = <&main_uart1_pins_default>; |
| 428 |
uart-has-rtscts; |
| 429 |
status = "okay"; |
| 430 |
}; |
| 431 |
|
| 432 |
&sdhci1 { |
| 433 |
vmmc-supply = <&vcc_3v3_mmc>; |
| 434 |
pinctrl-names = "default"; |
| 435 |
pinctrl-0 = <&main_mmc1_pins_default>; |
| 436 |
disable-wp; |
| 437 |
no-1-8-v; |
| 438 |
bootph-all; |
| 439 |
status = "okay"; |
| 440 |
}; |
| 441 |
|
| 442 |
&serdes0 { |
| 443 |
serdes0_pcie_usb_link: phy@0 { |
| 444 |
reg = <0>; |
| 445 |
cdns,num-lanes = <1>; |
| 446 |
#phy-cells = <0>; |
| 447 |
cdns,phy-type = <PHY_TYPE_USB3>; |
| 448 |
resets = <&serdes_wiz0 1>; |
| 449 |
}; |
| 450 |
}; |
| 451 |
|
| 452 |
&serdes_ln_ctrl { |
| 453 |
idle-states = <AM64_SERDES0_LANE0_USB>; |
| 454 |
}; |
| 455 |
|
| 456 |
&usbss0 { |
| 457 |
ti,vbus-divider; |
| 458 |
}; |
| 459 |
|
| 460 |
&usb0 { |
| 461 |
pinctrl-names = "default"; |
| 462 |
pinctrl-0 = <&main_usb0_pins_default>; |
| 463 |
dr_mode = "host"; |
| 464 |
maximum-speed = "super-speed"; |
| 465 |
phys = <&serdes0_pcie_usb_link>; |
| 466 |
phy-names = "cdns3,usb3-phy"; |
| 467 |
}; |