1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (c) 2018 Nuvoton Technology tomer.maimon@nuvoton.com
3 // Copyright 2018 Google, Inc.
6 #include "nuvoton-npcm750.dtsi"
7 #include "dt-bindings/gpio/gpio.h"
8 #include "nuvoton-npcm750-pincfg-evb.dtsi"
11 model = "Nuvoton npcm750 Development Board (Device Tree)";
12 compatible = "nuvoton,npcm750-evb", "nuvoton,npcm750";
45 stdout-path = &serial0;
49 device_type = "memory";
50 reg = <0x0 0x20000000>;
55 phy-mode = "rgmii-id";
60 phy-mode = "rgmii-id";
71 compatible = "jedec,spi-nor";
74 spi-rx-bus-width = <2>;
76 spi-max-frequency = <5000000>;
78 compatible = "fixed-partitions";
83 reg = <0x0000000 0x80000>;
88 reg = <0x0080000 0x80000>;
93 reg = <0x0100000 0x40000>;
98 reg = <0x0140000 0xC0000>;
102 reg = <0x0200000 0x400000>;
106 reg = <0x0600000 0x700000>;
110 reg = <0x0D00000 0x200000>;
114 reg = <0x0F00000 0x200000>;
118 reg = <0x1100000 0x200000>;
122 reg = <0x1300000 0x0>;
129 pinctrl-0 = <&spi3_pins>, <&spi3quad_pins>;
132 compatible = "jedec,spi-nor";
133 #address-cells = <1>;
135 spi-rx-bus-width = <2>;
137 spi-max-frequency = <5000000>;
138 partitions@A0000000 {
139 compatible = "fixed-partitions";
140 #address-cells = <1>;
143 label = "spi3-system1";
164 clock-frequency = <24000000>;
199 clock-frequency = <100000>;
210 clock-frequency = <100000>;
221 clock-frequency = <100000>;
224 compatible = "tmp100";
231 clock-frequency = <100000>;
236 clock-frequency = <100000>;
242 clock-frequency = <100000>;
245 compatible = "tmp100";
252 clock-frequency = <100000>;
257 clock-frequency = <100000>;
262 clock-frequency = <100000>;
267 clock-frequency = <100000>;
272 clock-frequency = <100000>;
277 clock-frequency = <100000>;
285 fan-tach-ch = /bits/ 8 <0x00 0x01>;
286 cooling-levels = <127 255>;
290 fan-tach-ch = /bits/ 8 <0x02 0x03>;
291 cooling-levels = /bits/ 8 <127 255>;
295 fan-tach-ch = /bits/ 8 <0x04 0x05>;
296 cooling-levels = /bits/ 8 <127 255>;
300 fan-tach-ch = /bits/ 8 <0x06 0x07>;
301 cooling-levels = /bits/ 8 <127 255>;
305 fan-tach-ch = /bits/ 8 <0x08 0x09>;
306 cooling-levels = /bits/ 8 <127 255>;
310 fan-tach-ch = /bits/ 8 <0x0A 0x0B>;
311 cooling-levels = /bits/ 8 <127 255>;
315 fan-tach-ch = /bits/ 8 <0x0C 0x0D>;
316 cooling-levels = /bits/ 8 <127 255>;
320 fan-tach-ch = /bits/ 8 <0x0E 0x0F>;
321 cooling-levels = /bits/ 8 <127 255>;
326 cs-gpios = <&gpio6 11 GPIO_ACTIVE_LOW>;
329 compatible = "winbond,w25q128",
332 #address-cells = <1>;
334 spi-max-frequency = <5000000>;
336 label = "spi0_spare1";
337 reg = <0x0000000 0x800000>;
340 label = "spi0_spare2";
341 reg = <0x800000 0x0>;
347 cs-gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
350 compatible = "winbond,w25q128fw",
353 #address-cells = <1>;
355 spi-max-frequency = <5000000>;
357 label = "spi1_spare1";
358 reg = <0x0000000 0x800000>;
361 label = "spi1_spare2";
362 reg = <0x800000 0x0>;
368 pinctrl-names = "default";
369 pinctrl-0 = < &iox1_pins