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 serial0 = &duart0; 20 serial1 = &duart1; 21 }; 22 23 chosen { 24 stdout-path = "serial0:115200n8"; 25 }; 26 27 memory@80000000 { 28 device_type = "memory"; 29 reg = <0x0 0x80000000 0x1 0x0000000>; 30 }; 31 32 sys_mclk: clock-mclk { 33 compatible = "fixed-clock"; 34 #clock-cells = <0>; 35 clock-frequency = <25000000>; 36 }; 37 38 reg_1p8v: regulator-1p8v { 39 compatible = "regulator-fixed"; 40 regulator-name = "1P8V"; 41 regulator-min-microvolt = <1800000>; 42 regulator-max-microvolt = <1800000>; 43 regulator-always-on; 44 }; 45 46 sb_3v3: regulator-sb3v3 { 47 compatible = "regulator-fixed"; 48 regulator-name = "3v3_vbus"; 49 regulator-min-microvolt = <3300000>; 50 regulator-max-microvolt = <3300000>; 51 regulator-boot-on; 52 regulator-always-on; 53 }; 54 55 sound { 56 compatible = "simple-audio-card"; 57 simple-audio-card,format = "i2s"; 58 simple-audio-card,widgets = 59 "Microphone", "Microphone Jack", 60 "Headphone", "Headphone Jack", 61 "Speaker", "Speaker Ext", 62 "Line", "Line In Jack"; 63 simple-audio-card,routing = 64 "MIC_IN", "Microphone Jack", 65 "Microphone Jack", "Mic Bias", 66 "LINE_IN", "Line In Jack", 67 "Headphone Jack", "HP_OUT", 68 "Speaker Ext", "LINE_OUT"; 69 70 simple-audio-card,cpu { 71 sound-dai = <&sai4>; 72 frame-master; 73 bitclock-master; 74 }; 75 76 simple-audio-card,codec { 77 sound-dai = <&sgtl5000>; 78 frame-master; 79 bitclock-master; 80 system-clock-frequency = <25000000>; 81 }; 82 }; 83}; 84 85&i2c0 { 86 status = "okay"; 87 88 i2c-mux@77 { 89 compatible = "nxp,pca9847"; 90 reg = <0x77>; 91 #address-cells = <1>; 92 #size-cells = <0>; 93 94 i2c@1 { 95 #address-cells = <1>; 96 #size-cells = <0>; 97 reg = <0x1>; 98 99 sgtl5000: audio-codec@a { 100 #sound-dai-cells = <0>; 101 compatible = "fsl,sgtl5000"; 102 reg = <0xa>; 103 VDDA-supply = <®_1p8v>; 104 VDDIO-supply = <®_1p8v>; 105 clocks = <&sys_mclk>; 106 sclk-strength = <3>; 107 }; 108 }; 109 110 i2c@2 { 111 #address-cells = <1>; 112 #size-cells = <0>; 113 reg = <0x02>; 114 115 current-monitor@40 { 116 compatible = "ti,ina220"; 117 reg = <0x40>; 118 shunt-resistor = <500>; 119 }; 120 }; 121 122 i2c@3 { 123 #address-cells = <1>; 124 #size-cells = <0>; 125 reg = <0x3>; 126 127 temperature-sensor@4c { 128 compatible = "nxp,sa56004"; 129 reg = <0x4c>; 130 vcc-supply = <&sb_3v3>; 131 }; 132 133 rtc@51 { 134 compatible = "nxp,pcf2129"; 135 reg = <0x51>; 136 }; 137 }; 138 }; 139}; 140 141&duart0 { 142 status = "okay"; 143}; 144 145&duart1 { 146 status = "okay"; 147}; 148 149&enetc_port0 { 150 phy-handle = <&sgmii_phy0>; 151 phy-connection-type = "sgmii"; 152 153 mdio { 154 #address-cells = <1>; 155 #size-cells = <0>; 156 sgmii_phy0: ethernet-phy@2 { 157 reg = <0x2>; 158 }; 159 }; 160}; 161 162&enetc_port1 { 163 status = "disabled"; 164}; 165 166&sai4 { 167 status = "okay"; 168}; 169 170&sata { 171 status = "okay"; 172}; 173