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