1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Device Tree file for NXP LS1028A RDB Board. 4 * 5 * Copyright 2018 NXP 6 * 7 * Harninder Rai <harninder.rai@nxp.com> 8 * 9 */ 10 11/dts-v1/; 12#include "fsl-ls1028a.dtsi" 13 14/ { 15 model = "LS1028A RDB Board"; 16 compatible = "fsl,ls1028a-rdb", "fsl,ls1028a"; 17 18 aliases { 19 crypto = &crypto; 20 serial0 = &duart0; 21 serial1 = &duart1; 22 }; 23 24 chosen { 25 stdout-path = "serial0:115200n8"; 26 }; 27 28 memory@80000000 { 29 device_type = "memory"; 30 reg = <0x0 0x80000000 0x1 0x0000000>; 31 }; 32 33 sys_mclk: clock-mclk { 34 compatible = "fixed-clock"; 35 #clock-cells = <0>; 36 clock-frequency = <25000000>; 37 }; 38 39 reg_1p8v: regulator-1p8v { 40 compatible = "regulator-fixed"; 41 regulator-name = "1P8V"; 42 regulator-min-microvolt = <1800000>; 43 regulator-max-microvolt = <1800000>; 44 regulator-always-on; 45 }; 46 47 sb_3v3: regulator-sb3v3 { 48 compatible = "regulator-fixed"; 49 regulator-name = "3v3_vbus"; 50 regulator-min-microvolt = <3300000>; 51 regulator-max-microvolt = <3300000>; 52 regulator-boot-on; 53 regulator-always-on; 54 }; 55 56 sound { 57 compatible = "simple-audio-card"; 58 simple-audio-card,format = "i2s"; 59 simple-audio-card,widgets = 60 "Microphone", "Microphone Jack", 61 "Headphone", "Headphone Jack", 62 "Speaker", "Speaker Ext", 63 "Line", "Line In Jack"; 64 simple-audio-card,routing = 65 "MIC_IN", "Microphone Jack", 66 "Microphone Jack", "Mic Bias", 67 "LINE_IN", "Line In Jack", 68 "Headphone Jack", "HP_OUT", 69 "Speaker Ext", "LINE_OUT"; 70 71 simple-audio-card,cpu { 72 sound-dai = <&sai4>; 73 frame-master; 74 bitclock-master; 75 }; 76 77 simple-audio-card,codec { 78 sound-dai = <&sgtl5000>; 79 frame-master; 80 bitclock-master; 81 system-clock-frequency = <25000000>; 82 }; 83 }; 84}; 85 86&esdhc { 87 sd-uhs-sdr104; 88 sd-uhs-sdr50; 89 sd-uhs-sdr25; 90 sd-uhs-sdr12; 91 status = "okay"; 92}; 93 94&esdhc1 { 95 mmc-hs200-1_8v; 96 status = "okay"; 97}; 98 99&i2c0 { 100 status = "okay"; 101 102 i2c-mux@77 { 103 compatible = "nxp,pca9847"; 104 reg = <0x77>; 105 #address-cells = <1>; 106 #size-cells = <0>; 107 108 i2c@1 { 109 #address-cells = <1>; 110 #size-cells = <0>; 111 reg = <0x1>; 112 113 sgtl5000: audio-codec@a { 114 #sound-dai-cells = <0>; 115 compatible = "fsl,sgtl5000"; 116 reg = <0xa>; 117 VDDA-supply = <®_1p8v>; 118 VDDIO-supply = <®_1p8v>; 119 clocks = <&sys_mclk>; 120 sclk-strength = <3>; 121 }; 122 }; 123 124 i2c@2 { 125 #address-cells = <1>; 126 #size-cells = <0>; 127 reg = <0x02>; 128 129 current-monitor@40 { 130 compatible = "ti,ina220"; 131 reg = <0x40>; 132 shunt-resistor = <500>; 133 }; 134 }; 135 136 i2c@3 { 137 #address-cells = <1>; 138 #size-cells = <0>; 139 reg = <0x3>; 140 141 temperature-sensor@4c { 142 compatible = "nxp,sa56004"; 143 reg = <0x4c>; 144 vcc-supply = <&sb_3v3>; 145 }; 146 147 rtc@51 { 148 compatible = "nxp,pcf2129"; 149 reg = <0x51>; 150 }; 151 }; 152 }; 153}; 154 155&duart0 { 156 status = "okay"; 157}; 158 159&duart1 { 160 status = "okay"; 161}; 162 163&enetc_port0 { 164 phy-handle = <&sgmii_phy0>; 165 phy-connection-type = "sgmii"; 166 167 mdio { 168 #address-cells = <1>; 169 #size-cells = <0>; 170 sgmii_phy0: ethernet-phy@2 { 171 reg = <0x2>; 172 }; 173 }; 174}; 175 176&enetc_port1 { 177 status = "disabled"; 178}; 179 180&sai4 { 181 status = "okay"; 182}; 183 184&sata { 185 status = "okay"; 186}; 187