Tom Rini | 8b0c8a1 | 2018-05-06 18:27:01 -0400 | [diff] [blame^] | 1 | // SPDX-License-Identifier: GPL-2.0+ OR X11 |
Prabhakar Kushwaha | 5543250 | 2016-06-03 18:41:34 +0530 | [diff] [blame] | 2 | /* |
| 3 | * Copyright 2016 Freescale Semiconductor |
Prabhakar Kushwaha | 5543250 | 2016-06-03 18:41:34 +0530 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | /include/ "fsl-ls1012a.dtsi" |
| 7 | |
| 8 | / { |
| 9 | model = "LS1012A QDS Board"; |
| 10 | aliases { |
| 11 | spi0 = &qspi; |
| 12 | spi1 = &dspi0; |
| 13 | }; |
| 14 | }; |
| 15 | |
| 16 | &dspi0 { |
| 17 | bus-num = <0>; |
| 18 | status = "okay"; |
| 19 | |
| 20 | dflash0: n25q128a { |
| 21 | #address-cells = <1>; |
| 22 | #size-cells = <1>; |
| 23 | compatible = "spi-flash"; |
| 24 | reg = <0>; |
| 25 | spi-max-frequency = <1000000>; /* input clock */ |
| 26 | }; |
| 27 | |
| 28 | dflash1: sst25wf040b { |
| 29 | #address-cells = <1>; |
| 30 | #size-cells = <1>; |
| 31 | compatible = "spi-flash"; |
| 32 | spi-max-frequency = <3500000>; |
| 33 | reg = <1>; |
| 34 | }; |
| 35 | |
| 36 | dflash2: en25s64 { |
| 37 | #address-cells = <1>; |
| 38 | #size-cells = <1>; |
| 39 | compatible = "spi-flash"; |
| 40 | spi-max-frequency = <3500000>; |
| 41 | reg = <2>; |
| 42 | }; |
| 43 | }; |
| 44 | |
| 45 | &qspi { |
| 46 | bus-num = <0>; |
| 47 | status = "okay"; |
| 48 | |
| 49 | qflash0: s25fl128s@0 { |
| 50 | #address-cells = <1>; |
| 51 | #size-cells = <1>; |
| 52 | compatible = "spi-flash"; |
| 53 | spi-max-frequency = <20000000>; |
| 54 | reg = <0>; |
| 55 | }; |
| 56 | }; |
| 57 | |
| 58 | &i2c0 { |
| 59 | status = "okay"; |
| 60 | pca9547@77 { |
| 61 | compatible = "philips,pca9547"; |
| 62 | reg = <0x77>; |
| 63 | #address-cells = <1>; |
| 64 | #size-cells = <0>; |
| 65 | |
| 66 | i2c@0 { |
| 67 | #address-cells = <1>; |
| 68 | #size-cells = <0>; |
| 69 | reg = <0x0>; |
| 70 | |
| 71 | rtc@68 { |
| 72 | compatible = "dallas,ds3232"; |
| 73 | reg = <0x68>; |
| 74 | /* IRQ10_B */ |
| 75 | interrupts = <0 150 0x4>; |
| 76 | }; |
| 77 | }; |
| 78 | |
| 79 | i2c@2 { |
| 80 | #address-cells = <1>; |
| 81 | #size-cells = <0>; |
| 82 | reg = <0x2>; |
| 83 | |
| 84 | ina220@40 { |
| 85 | compatible = "ti,ina220"; |
| 86 | reg = <0x40>; |
| 87 | shunt-resistor = <1000>; |
| 88 | }; |
| 89 | |
| 90 | ina220@41 { |
| 91 | compatible = "ti,ina220"; |
| 92 | reg = <0x41>; |
| 93 | shunt-resistor = <1000>; |
| 94 | }; |
| 95 | }; |
| 96 | |
| 97 | i2c@3 { |
| 98 | #address-cells = <1>; |
| 99 | #size-cells = <0>; |
| 100 | reg = <0x3>; |
| 101 | |
| 102 | eeprom@56 { |
| 103 | compatible = "at24,24c512"; |
| 104 | reg = <0x56>; |
| 105 | }; |
| 106 | |
| 107 | eeprom@57 { |
| 108 | compatible = "at24,24c512"; |
| 109 | reg = <0x57>; |
| 110 | }; |
| 111 | |
| 112 | adt7461a@4c { |
| 113 | compatible = "adt7461a"; |
| 114 | reg = <0x4c>; |
| 115 | }; |
| 116 | }; |
| 117 | }; |
| 118 | }; |
| 119 | |
| 120 | &duart0 { |
| 121 | status = "okay"; |
| 122 | }; |
Ran Wang | f12db5b | 2017-12-20 10:34:18 +0800 | [diff] [blame] | 123 | |
| 124 | &usb0 { |
| 125 | status = "okay"; |
| 126 | phy_type = "ulpi"; |
| 127 | }; |