Simon Glass | 4a56f10 | 2015-01-27 22:13:47 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2014, Bin Meng <bmeng.cn@gmail.com> |
| 3 | * |
| 4 | * SPDX-License-Identifier: GPL-2.0+ |
| 5 | */ |
| 6 | |
| 7 | /dts-v1/; |
| 8 | |
Gabriel Huau | f813548 | 2015-05-25 22:27:37 -0700 | [diff] [blame] | 9 | #include <dt-bindings/gpio/x86-gpio.h> |
| 10 | |
Simon Glass | 4a56f10 | 2015-01-27 22:13:47 -0700 | [diff] [blame] | 11 | /include/ "skeleton.dtsi" |
| 12 | /include/ "serial.dtsi" |
| 13 | |
| 14 | / { |
| 15 | model = "Intel Minnowboard Max"; |
| 16 | compatible = "intel,minnowmax", "intel,baytrail"; |
| 17 | |
| 18 | aliases { |
| 19 | serial0 = &serial; |
Bin Meng | 60ccd37 | 2015-04-15 12:00:11 +0800 | [diff] [blame] | 20 | spi0 = "/spi"; |
Simon Glass | 4a56f10 | 2015-01-27 22:13:47 -0700 | [diff] [blame] | 21 | }; |
| 22 | |
| 23 | config { |
| 24 | silent_console = <0>; |
| 25 | }; |
| 26 | |
Gabriel Huau | f813548 | 2015-05-25 22:27:37 -0700 | [diff] [blame] | 27 | pch_pinctrl { |
| 28 | compatible = "intel,x86-pinctrl"; |
| 29 | io-base = <0x4c>; |
| 30 | |
| 31 | pin_usb_host_en0@0 { |
| 32 | gpio-offset = <0x80 8>; |
| 33 | pad-offset = <0x260>; |
| 34 | mode-gpio; |
| 35 | output-value = <1>; |
| 36 | direction = <PIN_OUTPUT>; |
| 37 | }; |
| 38 | |
| 39 | pin_usb_host_en1@0 { |
| 40 | gpio-offset = <0x80 9>; |
| 41 | pad-offset = <0x258>; |
| 42 | mode-gpio; |
| 43 | output-value = <1>; |
| 44 | direction = <PIN_OUTPUT>; |
| 45 | }; |
| 46 | }; |
| 47 | |
Gabriel Huau | 6d2466c | 2015-04-25 13:16:57 -0700 | [diff] [blame] | 48 | gpioa { |
| 49 | compatible = "intel,ich6-gpio"; |
| 50 | u-boot,dm-pre-reloc; |
| 51 | reg = <0 0x20>; |
| 52 | bank-name = "A"; |
| 53 | }; |
| 54 | |
| 55 | gpiob { |
| 56 | compatible = "intel,ich6-gpio"; |
| 57 | u-boot,dm-pre-reloc; |
| 58 | reg = <0x20 0x20>; |
| 59 | bank-name = "B"; |
| 60 | }; |
| 61 | |
| 62 | gpioc { |
| 63 | compatible = "intel,ich6-gpio"; |
| 64 | u-boot,dm-pre-reloc; |
| 65 | reg = <0x40 0x20>; |
| 66 | bank-name = "C"; |
| 67 | }; |
| 68 | |
| 69 | gpiod { |
| 70 | compatible = "intel,ich6-gpio"; |
| 71 | u-boot,dm-pre-reloc; |
| 72 | reg = <0x60 0x20>; |
| 73 | bank-name = "D"; |
| 74 | }; |
| 75 | |
| 76 | gpioe { |
| 77 | compatible = "intel,ich6-gpio"; |
| 78 | u-boot,dm-pre-reloc; |
| 79 | reg = <0x80 0x20>; |
| 80 | bank-name = "E"; |
| 81 | }; |
| 82 | |
| 83 | gpiof { |
| 84 | compatible = "intel,ich6-gpio"; |
| 85 | u-boot,dm-pre-reloc; |
| 86 | reg = <0xA0 0x20>; |
| 87 | bank-name = "F"; |
| 88 | }; |
| 89 | |
Simon Glass | 4a56f10 | 2015-01-27 22:13:47 -0700 | [diff] [blame] | 90 | chosen { |
| 91 | stdout-path = "/serial"; |
| 92 | }; |
| 93 | |
Simon Glass | 1eaaf6c | 2015-04-29 22:26:03 -0600 | [diff] [blame] | 94 | cpus { |
| 95 | #address-cells = <1>; |
| 96 | #size-cells = <0>; |
| 97 | |
| 98 | cpu@0 { |
| 99 | device_type = "cpu"; |
| 100 | compatible = "intel,baytrail-cpu"; |
| 101 | reg = <0>; |
| 102 | intel,apic-id = <0>; |
| 103 | }; |
| 104 | |
| 105 | cpu@1 { |
| 106 | device_type = "cpu"; |
| 107 | compatible = "intel,baytrail-cpu"; |
| 108 | reg = <1>; |
| 109 | intel,apic-id = <4>; |
| 110 | }; |
| 111 | |
| 112 | }; |
| 113 | |
Simon Glass | 4a56f10 | 2015-01-27 22:13:47 -0700 | [diff] [blame] | 114 | spi { |
| 115 | #address-cells = <1>; |
| 116 | #size-cells = <0>; |
Bin Meng | 60ccd37 | 2015-04-15 12:00:11 +0800 | [diff] [blame] | 117 | compatible = "intel,ich-spi"; |
Simon Glass | 4a56f10 | 2015-01-27 22:13:47 -0700 | [diff] [blame] | 118 | spi-flash@0 { |
| 119 | reg = <0>; |
Gabriel Huau | 07ea9da | 2015-04-25 08:13:11 -0700 | [diff] [blame] | 120 | compatible = "stmicro,n25q064a", "spi-flash"; |
Simon Glass | 4a56f10 | 2015-01-27 22:13:47 -0700 | [diff] [blame] | 121 | memory-map = <0xff800000 0x00800000>; |
| 122 | }; |
| 123 | }; |
| 124 | |
| 125 | microcode { |
| 126 | update@0 { |
| 127 | #include "microcode/m0130673322.dtsi" |
| 128 | }; |
| 129 | }; |
| 130 | |
| 131 | }; |