| 1 |
// SPDX-License-Identifier: (GPL-2.0 OR MIT) |
| 2 |
// |
| 3 |
// Device Tree file for LX2162A-SOM |
| 4 |
// |
| 5 |
// Copyright 2021 Rabeeh Khoury <[email protected]> |
| 6 |
// Copyright 2023 Josua Mayer <[email protected]> |
| 7 |
|
| 8 |
&crypto { |
| 9 |
status = "okay"; |
| 10 |
}; |
| 11 |
|
| 12 |
&dpmac17 { |
| 13 |
phy-handle = <ðernet_phy0>; |
| 14 |
phy-connection-type = "rgmii-id"; |
| 15 |
}; |
| 16 |
|
| 17 |
&emdio1 { |
| 18 |
status = "okay"; |
| 19 |
|
| 20 |
ethernet_phy0: ethernet-phy@1 { |
| 21 |
reg = <1>; |
| 22 |
}; |
| 23 |
}; |
| 24 |
|
| 25 |
&esdhc1 { |
| 26 |
bus-width = <8>; |
| 27 |
mmc-hs200-1_8v; |
| 28 |
mmc-hs400-1_8v; |
| 29 |
status = "okay"; |
| 30 |
}; |
| 31 |
|
| 32 |
&fspi { |
| 33 |
pinctrl-names = "default"; |
| 34 |
pinctrl-0 = <&fspi_data74_pins>, <&fspi_data30_pins>, <&fspi_dqs_sck_cs10_pins>; |
| 35 |
status = "okay"; |
| 36 |
|
| 37 |
flash@0 { |
| 38 |
compatible = "jedec,spi-nor"; |
| 39 |
reg = <0>; |
| 40 |
m25p,fast-read; |
| 41 |
spi-max-frequency = <50000000>; |
| 42 |
/* The following setting enables 1-1-8 (CMD-ADDR-DATA) mode */ |
| 43 |
spi-rx-bus-width = <8>; |
| 44 |
spi-tx-bus-width = <1>; |
| 45 |
}; |
| 46 |
}; |
| 47 |
|
| 48 |
&i2c0 { |
| 49 |
status = "okay"; |
| 50 |
|
| 51 |
fan-controller@18 { |
| 52 |
compatible = "ti,amc6821"; |
| 53 |
reg = <0x18>; |
| 54 |
}; |
| 55 |
|
| 56 |
ddr_spd: eeprom@51 { |
| 57 |
compatible = "st,24c02", "atmel,24c02"; |
| 58 |
reg = <0x51>; |
| 59 |
read-only; |
| 60 |
}; |
| 61 |
|
| 62 |
config_eeprom: eeprom@57 { |
| 63 |
compatible = "st,24c02", "atmel,24c02"; |
| 64 |
reg = <0x57>; |
| 65 |
}; |
| 66 |
}; |
| 67 |
|
| 68 |
&i2c4 { |
| 69 |
status = "okay"; |
| 70 |
|
| 71 |
variable_eeprom: eeprom@54 { |
| 72 |
compatible = "st,24c2048", "atmel,24c2048"; |
| 73 |
reg = <0x54>; |
| 74 |
}; |
| 75 |
}; |
| 76 |
|
| 77 |
&i2c5 { |
| 78 |
status = "okay"; |
| 79 |
|
| 80 |
rtc@6f { |
| 81 |
compatible = "microchip,mcp7940x"; |
| 82 |
reg = <0x6f>; |
| 83 |
}; |
| 84 |
}; |
| 85 |
|
| 86 |
&pinmux_i2crv { |
| 87 |
pinctrl-names = "default"; |
| 88 |
pinctrl-0 = <&gpio0_14_12_pins>; |
| 89 |
}; |