1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 2 /* 3 * Device Tree file for Freescale LS1012A QDS 3 * Device Tree file for Freescale LS1012A QDS Board. 4 * 4 * 5 * Copyright 2016 Freescale Semiconductor, Inc 5 * Copyright 2016 Freescale Semiconductor, Inc. 6 * 6 * 7 */ 7 */ 8 /dts-v1/; 8 /dts-v1/; 9 9 10 #include "fsl-ls1012a.dtsi" 10 #include "fsl-ls1012a.dtsi" 11 11 12 / { 12 / { 13 model = "LS1012A QDS Board"; 13 model = "LS1012A QDS Board"; 14 compatible = "fsl,ls1012a-qds", "fsl,l 14 compatible = "fsl,ls1012a-qds", "fsl,ls1012a"; 15 15 16 aliases { << 17 mmc0 = &esdhc0; << 18 mmc1 = &esdhc1; << 19 }; << 20 << 21 sys_mclk: clock-mclk { 16 sys_mclk: clock-mclk { 22 compatible = "fixed-clock"; 17 compatible = "fixed-clock"; 23 #clock-cells = <0>; 18 #clock-cells = <0>; 24 clock-frequency = <24576000>; 19 clock-frequency = <24576000>; 25 }; 20 }; 26 21 27 reg_3p3v: regulator-3p3v { 22 reg_3p3v: regulator-3p3v { 28 compatible = "regulator-fixed" 23 compatible = "regulator-fixed"; 29 regulator-name = "3P3V"; 24 regulator-name = "3P3V"; 30 regulator-min-microvolt = <330 25 regulator-min-microvolt = <3300000>; 31 regulator-max-microvolt = <330 26 regulator-max-microvolt = <3300000>; 32 regulator-always-on; 27 regulator-always-on; 33 }; 28 }; 34 29 35 sound { 30 sound { 36 compatible = "simple-audio-car 31 compatible = "simple-audio-card"; 37 simple-audio-card,format = "i2 32 simple-audio-card,format = "i2s"; 38 simple-audio-card,widgets = 33 simple-audio-card,widgets = 39 "Microphone", "Microph 34 "Microphone", "Microphone Jack", 40 "Headphone", "Headphon 35 "Headphone", "Headphone Jack", 41 "Speaker", "Speaker Ex 36 "Speaker", "Speaker Ext", 42 "Line", "Line In Jack" 37 "Line", "Line In Jack"; 43 simple-audio-card,routing = 38 simple-audio-card,routing = 44 "MIC_IN", "Microphone 39 "MIC_IN", "Microphone Jack", 45 "Microphone Jack", "Mi 40 "Microphone Jack", "Mic Bias", 46 "LINE_IN", "Line In Ja 41 "LINE_IN", "Line In Jack", 47 "Headphone Jack", "HP_ 42 "Headphone Jack", "HP_OUT", 48 "Speaker Ext", "LINE_O 43 "Speaker Ext", "LINE_OUT"; 49 44 50 simple-audio-card,cpu { 45 simple-audio-card,cpu { 51 sound-dai = <&sai2>; 46 sound-dai = <&sai2>; 52 frame-master; 47 frame-master; 53 bitclock-master; 48 bitclock-master; 54 }; 49 }; 55 50 56 simple-audio-card,codec { 51 simple-audio-card,codec { 57 sound-dai = <&codec>; 52 sound-dai = <&codec>; 58 frame-master; 53 frame-master; 59 bitclock-master; 54 bitclock-master; 60 system-clock-frequency 55 system-clock-frequency = <24576000>; 61 }; 56 }; 62 }; 57 }; 63 }; 58 }; 64 59 65 &dspi { 60 &dspi { 66 bus-num = <0>; 61 bus-num = <0>; 67 status = "okay"; 62 status = "okay"; 68 63 69 flash@0 { 64 flash@0 { 70 #address-cells = <1>; 65 #address-cells = <1>; 71 #size-cells = <1>; 66 #size-cells = <1>; 72 compatible = "micron,n25q128a1 !! 67 compatible = "n25q128a11", "jedec,spi-nor"; 73 reg = <0>; 68 reg = <0>; 74 spi-max-frequency = <10000000> 69 spi-max-frequency = <10000000>; 75 }; 70 }; 76 71 77 flash@1 { 72 flash@1 { 78 #address-cells = <1>; 73 #address-cells = <1>; 79 #size-cells = <1>; 74 #size-cells = <1>; 80 compatible = "sst25wf040b", "j 75 compatible = "sst25wf040b", "jedec,spi-nor"; 81 spi-cpol; 76 spi-cpol; 82 spi-cpha; 77 spi-cpha; 83 reg = <1>; 78 reg = <1>; 84 spi-max-frequency = <10000000> 79 spi-max-frequency = <10000000>; 85 }; 80 }; 86 81 87 flash@2 { 82 flash@2 { 88 #address-cells = <1>; 83 #address-cells = <1>; 89 #size-cells = <1>; 84 #size-cells = <1>; 90 compatible = "en25s64", "jedec 85 compatible = "en25s64", "jedec,spi-nor"; 91 spi-cpol; 86 spi-cpol; 92 spi-cpha; 87 spi-cpha; 93 reg = <2>; 88 reg = <2>; 94 spi-max-frequency = <10000000> 89 spi-max-frequency = <10000000>; 95 }; 90 }; 96 }; 91 }; 97 92 98 &duart0 { 93 &duart0 { 99 status = "okay"; 94 status = "okay"; 100 }; 95 }; 101 96 102 &esdhc0 { 97 &esdhc0 { 103 status = "okay"; 98 status = "okay"; 104 }; 99 }; 105 100 106 &esdhc1 { 101 &esdhc1 { 107 status = "okay"; 102 status = "okay"; 108 }; 103 }; 109 104 110 &i2c0 { 105 &i2c0 { 111 status = "okay"; 106 status = "okay"; 112 107 113 i2c-mux@77 { !! 108 pca9547@77 { 114 compatible = "nxp,pca9547"; 109 compatible = "nxp,pca9547"; 115 reg = <0x77>; 110 reg = <0x77>; 116 #address-cells = <1>; 111 #address-cells = <1>; 117 #size-cells = <0>; 112 #size-cells = <0>; 118 113 119 i2c@4 { 114 i2c@4 { 120 #address-cells = <1>; 115 #address-cells = <1>; 121 #size-cells = <0>; 116 #size-cells = <0>; 122 reg = <0x4>; 117 reg = <0x4>; 123 118 124 codec: sgtl5000@a { 119 codec: sgtl5000@a { 125 #sound-dai-cel 120 #sound-dai-cells = <0>; 126 compatible = " 121 compatible = "fsl,sgtl5000"; 127 reg = <0xa>; 122 reg = <0xa>; 128 VDDA-supply = 123 VDDA-supply = <®_3p3v>; 129 VDDIO-supply = 124 VDDIO-supply = <®_3p3v>; 130 clocks = <&sys 125 clocks = <&sys_mclk>; 131 }; 126 }; 132 }; 127 }; 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 }; 128 }; 149 }; 129 }; 150 130 151 &sai2 { 131 &sai2 { 152 status = "okay"; 132 status = "okay"; 153 }; 133 }; 154 134 155 &sata { 135 &sata { 156 status = "okay"; 136 status = "okay"; 157 }; 137 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.