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&i2c0 { 87 status = "okay"; 88 89 i2c-mux@77 { 90 compatible = "nxp,pca9847"; 91 reg = <0x77>; 92 #address-cells = <1>; 93 #size-cells = <0>; 94 95 i2c@1 { 96 #address-cells = <1>; 97 #size-cells = <0>; 98 reg = <0x1>; 99 100 sgtl5000: audio-codec@a { 101 #sound-dai-cells = <0>; 102 compatible = "fsl,sgtl5000"; 103 reg = <0xa>; 104 VDDA-supply = <®_1p8v>; 105 VDDIO-supply = <®_1p8v>; 106 clocks = <&sys_mclk>; 107 sclk-strength = <3>; 108 }; 109 }; 110 111 i2c@2 { 112 #address-cells = <1>; 113 #size-cells = <0>; 114 reg = <0x02>; 115 116 current-monitor@40 { 117 compatible = "ti,ina220"; 118 reg = <0x40>; 119 shunt-resistor = <500>; 120 }; 121 }; 122 123 i2c@3 { 124 #address-cells = <1>; 125 #size-cells = <0>; 126 reg = <0x3>; 127 128 temperature-sensor@4c { 129 compatible = "nxp,sa56004"; 130 reg = <0x4c>; 131 vcc-supply = <&sb_3v3>; 132 }; 133 134 rtc@51 { 135 compatible = "nxp,pcf2129"; 136 reg = <0x51>; 137 }; 138 }; 139 }; 140}; 141 142&duart0 { 143 status = "okay"; 144}; 145 146&duart1 { 147 status = "okay"; 148}; 149 150&enetc_port0 { 151 phy-handle = <&sgmii_phy0>; 152 phy-connection-type = "sgmii"; 153 154 mdio { 155 #address-cells = <1>; 156 #size-cells = <0>; 157 sgmii_phy0: ethernet-phy@2 { 158 reg = <0x2>; 159 }; 160 }; 161}; 162 163&enetc_port1 { 164 status = "disabled"; 165}; 166 167&sai4 { 168 status = "okay"; 169}; 170 171&sata { 172 status = "okay"; 173}; 174