1fcab303cSDing Tianhong/** 2fcab303cSDing Tianhong * dts file for Hisilicon D02 Development Board 3fcab303cSDing Tianhong * 4fcab303cSDing Tianhong * Copyright (C) 2014,2015 Hisilicon Ltd. 5fcab303cSDing Tianhong * 6fcab303cSDing Tianhong * This program is free software; you can redistribute it and/or modify 7fcab303cSDing Tianhong * it under the terms of the GNU General Public License version 2 as 8fcab303cSDing Tianhong * publishhed by the Free Software Foundation. 9fcab303cSDing Tianhong * 10fcab303cSDing Tianhong */ 11fcab303cSDing Tianhong 12fcab303cSDing Tianhong/dts-v1/; 13fcab303cSDing Tianhong 1482a14b1eSKefeng Wang#include <dt-bindings/gpio/gpio.h> 15fcab303cSDing Tianhong#include "hip05.dtsi" 16fcab303cSDing Tianhong 17fcab303cSDing Tianhong/ { 18fcab303cSDing Tianhong model = "Hisilicon Hip05 D02 Development Board"; 19fcab303cSDing Tianhong compatible = "hisilicon,hip05-d02"; 20fcab303cSDing Tianhong 21*d8bcaabeSRob Herring memory@0 { 22fcab303cSDing Tianhong device_type = "memory"; 23fcab303cSDing Tianhong reg = <0x0 0x00000000 0x0 0x80000000>; 24fcab303cSDing Tianhong }; 25fcab303cSDing Tianhong 26fcab303cSDing Tianhong aliases { 27fcab303cSDing Tianhong serial0 = &uart0; 28fcab303cSDing Tianhong }; 29fcab303cSDing Tianhong 30fcab303cSDing Tianhong chosen { 31fcab303cSDing Tianhong stdout-path = "serial0:115200n8"; 32fcab303cSDing Tianhong }; 3382a14b1eSKefeng Wang 3482a14b1eSKefeng Wang gpio_keys { 3582a14b1eSKefeng Wang compatible = "gpio-keys"; 3682a14b1eSKefeng Wang #address-cells = <1>; 3782a14b1eSKefeng Wang #size-cells = <0>; 3882a14b1eSKefeng Wang 3982a14b1eSKefeng Wang pwrbutton { 4082a14b1eSKefeng Wang label = "Power Button"; 4182a14b1eSKefeng Wang gpios = <&porta 8 GPIO_ACTIVE_LOW>; 4282a14b1eSKefeng Wang linux,code = <116>; 4382a14b1eSKefeng Wang debounce-interval = <0>; 4482a14b1eSKefeng Wang }; 4582a14b1eSKefeng Wang }; 46fcab303cSDing Tianhong}; 47fcab303cSDing Tianhong 48fcab303cSDing Tianhong&uart0 { 49fcab303cSDing Tianhong status = "ok"; 50fcab303cSDing Tianhong}; 5182a14b1eSKefeng Wang 5282a14b1eSKefeng Wang&peri_gpio0 { 5382a14b1eSKefeng Wang status = "ok"; 5482a14b1eSKefeng Wang}; 55162d23bfSKefeng Wang 56162d23bfSKefeng Wang&lbc { 57162d23bfSKefeng Wang status = "ok"; 58162d23bfSKefeng Wang #address-cells = <2>; 59162d23bfSKefeng Wang #size-cells = <1>; 60162d23bfSKefeng Wang ranges = <0 0 0x0 0x90000000 0x08000000>, 61162d23bfSKefeng Wang <1 0 0x0 0x98000000 0x08000000>; 62162d23bfSKefeng Wang 63162d23bfSKefeng Wang nor-flash@0,0 { 64162d23bfSKefeng Wang #address-cells = <1>; 65162d23bfSKefeng Wang #size-cells = <1>; 66162d23bfSKefeng Wang compatible = "numonyx,js28f00a", "cfi-flash"; 67162d23bfSKefeng Wang reg = <0 0x0 0x08000000>; 68162d23bfSKefeng Wang bank-width = <2>; 69162d23bfSKefeng Wang /* The three parts may not used */ 70162d23bfSKefeng Wang partition@0 { 71162d23bfSKefeng Wang label = "BIOS"; 72162d23bfSKefeng Wang reg = <0x0 0x300000>; 73162d23bfSKefeng Wang }; 74162d23bfSKefeng Wang partition@300000 { 75162d23bfSKefeng Wang label = "Linux"; 76162d23bfSKefeng Wang reg = <0x300000 0xa00000>; 77162d23bfSKefeng Wang }; 78162d23bfSKefeng Wang partition@1000000 { 79162d23bfSKefeng Wang label = "Rootfs"; 80162d23bfSKefeng Wang reg = <0x01000000 0x02000000>; 81162d23bfSKefeng Wang }; 82162d23bfSKefeng Wang }; 83162d23bfSKefeng Wang 84162d23bfSKefeng Wang cpld@1,0 { 85162d23bfSKefeng Wang compatible = "hisilicon,hip05-cpld"; 86162d23bfSKefeng Wang reg = <1 0x0 0x100>; 87162d23bfSKefeng Wang }; 88162d23bfSKefeng Wang}; 89