1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) << 2 /* 1 /* 3 * Device Tree file for Freescale LS1012A QDS 2 * Device Tree file for Freescale LS1012A QDS Board. 4 * 3 * 5 * Copyright 2016 Freescale Semiconductor, Inc 4 * Copyright 2016 Freescale Semiconductor, Inc. 6 * 5 * >> 6 * This file is dual-licensed: you can use it either under the terms >> 7 * of the GPLv2 or the X11 license, at your option. Note that this dual >> 8 * licensing only applies to this file, and not this project as a >> 9 * whole. >> 10 * >> 11 * a) This library is free software; you can redistribute it and/or >> 12 * modify it under the terms of the GNU General Public License as >> 13 * published by the Free Software Foundation; either version 2 of the >> 14 * License, or (at your option) any later version. >> 15 * >> 16 * This library is distributed in the hope that it will be useful, >> 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of >> 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >> 19 * GNU General Public License for more details. >> 20 * >> 21 * Or, alternatively, >> 22 * >> 23 * b) Permission is hereby granted, free of charge, to any person >> 24 * obtaining a copy of this software and associated documentation >> 25 * files (the "Software"), to deal in the Software without >> 26 * restriction, including without limitation the rights to use, >> 27 * copy, modify, merge, publish, distribute, sublicense, and/or >> 28 * sell copies of the Software, and to permit persons to whom the >> 29 * Software is furnished to do so, subject to the following >> 30 * conditions: >> 31 * >> 32 * The above copyright notice and this permission notice shall be >> 33 * included in all copies or substantial portions of the Software. >> 34 * >> 35 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, >> 36 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES >> 37 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND >> 38 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT >> 39 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, >> 40 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING >> 41 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR >> 42 * OTHER DEALINGS IN THE SOFTWARE. 7 */ 43 */ 8 /dts-v1/; 44 /dts-v1/; 9 45 10 #include "fsl-ls1012a.dtsi" 46 #include "fsl-ls1012a.dtsi" 11 47 12 / { 48 / { 13 model = "LS1012A QDS Board"; 49 model = "LS1012A QDS Board"; 14 compatible = "fsl,ls1012a-qds", "fsl,l 50 compatible = "fsl,ls1012a-qds", "fsl,ls1012a"; 15 51 16 aliases { << 17 mmc0 = &esdhc0; << 18 mmc1 = &esdhc1; << 19 }; << 20 << 21 sys_mclk: clock-mclk { 52 sys_mclk: clock-mclk { 22 compatible = "fixed-clock"; 53 compatible = "fixed-clock"; 23 #clock-cells = <0>; 54 #clock-cells = <0>; 24 clock-frequency = <24576000>; 55 clock-frequency = <24576000>; 25 }; 56 }; 26 57 27 reg_3p3v: regulator-3p3v { 58 reg_3p3v: regulator-3p3v { 28 compatible = "regulator-fixed" 59 compatible = "regulator-fixed"; 29 regulator-name = "3P3V"; 60 regulator-name = "3P3V"; 30 regulator-min-microvolt = <330 61 regulator-min-microvolt = <3300000>; 31 regulator-max-microvolt = <330 62 regulator-max-microvolt = <3300000>; 32 regulator-always-on; 63 regulator-always-on; 33 }; 64 }; 34 65 35 sound { 66 sound { 36 compatible = "simple-audio-car 67 compatible = "simple-audio-card"; 37 simple-audio-card,format = "i2 68 simple-audio-card,format = "i2s"; 38 simple-audio-card,widgets = 69 simple-audio-card,widgets = 39 "Microphone", "Microph 70 "Microphone", "Microphone Jack", 40 "Headphone", "Headphon 71 "Headphone", "Headphone Jack", 41 "Speaker", "Speaker Ex 72 "Speaker", "Speaker Ext", 42 "Line", "Line In Jack" 73 "Line", "Line In Jack"; 43 simple-audio-card,routing = 74 simple-audio-card,routing = 44 "MIC_IN", "Microphone 75 "MIC_IN", "Microphone Jack", 45 "Microphone Jack", "Mi 76 "Microphone Jack", "Mic Bias", 46 "LINE_IN", "Line In Ja 77 "LINE_IN", "Line In Jack", 47 "Headphone Jack", "HP_ 78 "Headphone Jack", "HP_OUT", 48 "Speaker Ext", "LINE_O 79 "Speaker Ext", "LINE_OUT"; 49 80 50 simple-audio-card,cpu { 81 simple-audio-card,cpu { 51 sound-dai = <&sai2>; 82 sound-dai = <&sai2>; 52 frame-master; 83 frame-master; 53 bitclock-master; 84 bitclock-master; 54 }; 85 }; 55 86 56 simple-audio-card,codec { 87 simple-audio-card,codec { 57 sound-dai = <&codec>; 88 sound-dai = <&codec>; 58 frame-master; 89 frame-master; 59 bitclock-master; 90 bitclock-master; 60 system-clock-frequency 91 system-clock-frequency = <24576000>; 61 }; 92 }; 62 }; 93 }; 63 }; 94 }; 64 95 65 &dspi { << 66 bus-num = <0>; << 67 status = "okay"; << 68 << 69 flash@0 { << 70 #address-cells = <1>; << 71 #size-cells = <1>; << 72 compatible = "micron,n25q128a1 << 73 reg = <0>; << 74 spi-max-frequency = <10000000> << 75 }; << 76 << 77 flash@1 { << 78 #address-cells = <1>; << 79 #size-cells = <1>; << 80 compatible = "sst25wf040b", "j << 81 spi-cpol; << 82 spi-cpha; << 83 reg = <1>; << 84 spi-max-frequency = <10000000> << 85 }; << 86 << 87 flash@2 { << 88 #address-cells = <1>; << 89 #size-cells = <1>; << 90 compatible = "en25s64", "jedec << 91 spi-cpol; << 92 spi-cpha; << 93 reg = <2>; << 94 spi-max-frequency = <10000000> << 95 }; << 96 }; << 97 << 98 &duart0 { 96 &duart0 { 99 status = "okay"; 97 status = "okay"; 100 }; 98 }; 101 99 102 &esdhc0 { 100 &esdhc0 { 103 status = "okay"; 101 status = "okay"; 104 }; 102 }; 105 103 106 &esdhc1 { 104 &esdhc1 { 107 status = "okay"; 105 status = "okay"; 108 }; 106 }; 109 107 110 &i2c0 { 108 &i2c0 { 111 status = "okay"; 109 status = "okay"; 112 110 113 i2c-mux@77 { !! 111 pca9547@77 { 114 compatible = "nxp,pca9547"; 112 compatible = "nxp,pca9547"; 115 reg = <0x77>; 113 reg = <0x77>; 116 #address-cells = <1>; 114 #address-cells = <1>; 117 #size-cells = <0>; 115 #size-cells = <0>; 118 116 119 i2c@4 { 117 i2c@4 { 120 #address-cells = <1>; 118 #address-cells = <1>; 121 #size-cells = <0>; 119 #size-cells = <0>; 122 reg = <0x4>; 120 reg = <0x4>; 123 121 124 codec: sgtl5000@a { 122 codec: sgtl5000@a { 125 #sound-dai-cel 123 #sound-dai-cells = <0>; 126 compatible = " 124 compatible = "fsl,sgtl5000"; 127 reg = <0xa>; 125 reg = <0xa>; 128 VDDA-supply = 126 VDDA-supply = <®_3p3v>; 129 VDDIO-supply = 127 VDDIO-supply = <®_3p3v>; 130 clocks = <&sys 128 clocks = <&sys_mclk>; 131 }; 129 }; 132 }; 130 }; 133 }; << 134 }; << 135 << 136 &qspi { << 137 status = "okay"; << 138 << 139 s25fs512s0: flash@0 { << 140 compatible = "jedec,spi-nor"; << 141 #address-cells = <1>; << 142 #size-cells = <1>; << 143 spi-max-frequency = <50000000> << 144 m25p,fast-read; << 145 reg = <0>; << 146 spi-rx-bus-width = <2>; << 147 spi-tx-bus-width = <2>; << 148 }; 131 }; 149 }; 132 }; 150 133 151 &sai2 { 134 &sai2 { 152 status = "okay"; 135 status = "okay"; 153 }; 136 }; 154 137 155 &sata { 138 &sata { 156 status = "okay"; 139 status = "okay"; 157 }; 140 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.