Tom Rini | 93743d2 | 2024-04-01 09:08:13 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-or-later OR MIT |
| 2 | /* |
| 3 | * Copyright (c) 2020-2023 TQ-Systems GmbH <linux@ew.tq-group.com>, |
| 4 | * D-82229 Seefeld, Germany. |
| 5 | * Author: Gregor Herburger |
| 6 | */ |
| 7 | |
| 8 | #include "fsl-lx2160a.dtsi" |
| 9 | |
| 10 | / { |
| 11 | reg_vcc3v3: regulator-vcc3v3 { |
| 12 | compatible = "regulator-fixed"; |
| 13 | regulator-name = "VCC3V3"; |
| 14 | regulator-min-microvolt = <3300000>; |
| 15 | regulator-max-microvolt = <3300000>; |
| 16 | regulator-always-on; |
| 17 | }; |
| 18 | }; |
| 19 | |
| 20 | |
| 21 | &emdio1 { |
| 22 | status = "okay"; |
| 23 | }; |
| 24 | |
| 25 | &emdio2 { |
| 26 | status = "okay"; |
| 27 | }; |
| 28 | |
| 29 | &esdhc1 { |
| 30 | bus-width = <8>; |
| 31 | no-sd; |
| 32 | no-sdio; |
| 33 | non-removable; |
| 34 | mmc-hs200-1_8v; |
| 35 | status = "okay"; |
| 36 | }; |
| 37 | |
| 38 | &fspi { |
| 39 | status = "okay"; |
| 40 | |
| 41 | flash0: flash@0 { |
| 42 | compatible = "jedec,spi-nor"; |
| 43 | reg = <0>; |
| 44 | #address-cells = <1>; |
| 45 | #size-cells = <1>; |
| 46 | spi-max-frequency = <10000000>; |
| 47 | spi-rx-bus-width = <1>; |
| 48 | spi-tx-bus-width = <1>; |
| 49 | |
| 50 | partitions { |
| 51 | compatible = "fixed-partitions"; |
| 52 | #address-cells = <1>; |
| 53 | #size-cells = <1>; |
| 54 | }; |
| 55 | }; |
| 56 | |
| 57 | flash1: flash@1 { |
| 58 | compatible = "jedec,spi-nor"; |
| 59 | reg = <1>; |
| 60 | #address-cells = <1>; |
| 61 | #size-cells = <1>; |
| 62 | spi-max-frequency = <10000000>; |
| 63 | spi-rx-bus-width = <1>; |
| 64 | spi-tx-bus-width = <1>; |
| 65 | }; |
| 66 | }; |
| 67 | |
| 68 | &i2c0 { |
| 69 | scl-gpios = <&gpio2 11 GPIO_ACTIVE_HIGH>; |
| 70 | status = "okay"; |
| 71 | |
| 72 | sensor0: temperature-sensor@1f { |
| 73 | compatible = "nxp,se97", "jedec,jc-42.4-temp"; |
| 74 | reg = <0x1f>; |
| 75 | }; |
| 76 | |
| 77 | eeprom1: eeprom@57 { |
| 78 | compatible = "atmel,24c02"; |
| 79 | reg = <0x57>; |
| 80 | pagesize = <16>; |
| 81 | read-only; |
| 82 | vcc-supply = <®_vcc3v3>; |
| 83 | }; |
| 84 | |
| 85 | rtc: rtc@51 { |
| 86 | compatible = "nxp,pcf85063a"; |
| 87 | reg = <0x51>; |
| 88 | quartz-load-femtofarads = <12500>; |
| 89 | }; |
| 90 | |
| 91 | eeprom2: eeprom@50 { |
| 92 | compatible = "atmel,24c64"; |
| 93 | reg = <0x50>; |
| 94 | pagesize = <32>; |
| 95 | vcc-supply = <®_vcc3v3>; |
| 96 | }; |
| 97 | }; |