1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2724ba675SRob Herring#include "kirkwood.dtsi" 3724ba675SRob Herring#include "kirkwood-6281.dtsi" 4724ba675SRob Herring 5724ba675SRob Herring/ { 6724ba675SRob Herring chosen { 7724ba675SRob Herring bootargs = "console=ttyS0,115200n8"; 8724ba675SRob Herring stdout-path = &uart0; 9724ba675SRob Herring }; 10724ba675SRob Herring 11724ba675SRob Herring ocp@f1000000 { 12724ba675SRob Herring pinctrl: pin-controller@10000 { 13724ba675SRob Herring pmx_ns2_sata0: pmx-ns2-sata0 { 14724ba675SRob Herring marvell,pins = "mpp21"; 15724ba675SRob Herring marvell,function = "sata0"; 16724ba675SRob Herring }; 17724ba675SRob Herring pmx_ns2_sata1: pmx-ns2-sata1 { 18724ba675SRob Herring marvell,pins = "mpp20"; 19724ba675SRob Herring marvell,function = "sata1"; 20724ba675SRob Herring }; 21724ba675SRob Herring }; 22724ba675SRob Herring 23724ba675SRob Herring serial@12000 { 24724ba675SRob Herring status = "okay"; 25724ba675SRob Herring }; 26724ba675SRob Herring 27724ba675SRob Herring spi@10600 { 28724ba675SRob Herring status = "okay"; 29724ba675SRob Herring 30724ba675SRob Herring flash@0 { 31724ba675SRob Herring #address-cells = <1>; 32724ba675SRob Herring #size-cells = <1>; 33724ba675SRob Herring compatible = "mxicy,mx25l4005a", "jedec,spi-nor"; 34724ba675SRob Herring reg = <0>; 35724ba675SRob Herring spi-max-frequency = <20000000>; 36724ba675SRob Herring mode = <0>; 37724ba675SRob Herring 38724ba675SRob Herring partition@0 { 39724ba675SRob Herring reg = <0x0 0x80000>; 40724ba675SRob Herring label = "u-boot"; 41724ba675SRob Herring }; 42724ba675SRob Herring }; 43724ba675SRob Herring }; 44724ba675SRob Herring 45724ba675SRob Herring i2c@11000 { 46724ba675SRob Herring status = "okay"; 47724ba675SRob Herring 48724ba675SRob Herring eeprom@50 { 49724ba675SRob Herring compatible = "atmel,24c04"; 50724ba675SRob Herring pagesize = <16>; 51724ba675SRob Herring reg = <0x50>; 52724ba675SRob Herring }; 53724ba675SRob Herring }; 54724ba675SRob Herring }; 55724ba675SRob Herring 56724ba675SRob Herring gpio_keys { 57724ba675SRob Herring compatible = "gpio-keys"; 58724ba675SRob Herring 59b98a9191SKrzysztof Kozlowski button-power { 60724ba675SRob Herring label = "Power push button"; 61724ba675SRob Herring linux,code = <KEY_POWER>; 62724ba675SRob Herring gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>; 63724ba675SRob Herring }; 64724ba675SRob Herring }; 65724ba675SRob Herring 66724ba675SRob Herring gpio-leds { 67724ba675SRob Herring compatible = "gpio-leds"; 68724ba675SRob Herring 69*9d0120b7SKrzysztof Kozlowski led-red-fail { 70724ba675SRob Herring label = "ns2:red:fail"; 71724ba675SRob Herring gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; 72724ba675SRob Herring }; 73724ba675SRob Herring }; 74724ba675SRob Herring 75724ba675SRob Herring gpio_poweroff { 76724ba675SRob Herring compatible = "gpio-poweroff"; 77724ba675SRob Herring gpios = <&gpio0 31 GPIO_ACTIVE_HIGH>; 78724ba675SRob Herring }; 79724ba675SRob Herring 80724ba675SRob Herring}; 81724ba675SRob Herring 82724ba675SRob Herring&mdio { 83724ba675SRob Herring status = "okay"; 84724ba675SRob Herring 85724ba675SRob Herring ethphy0: ethernet-phy@X { 86724ba675SRob Herring /* overwrite reg property in board file */ 87724ba675SRob Herring }; 88724ba675SRob Herring}; 89724ba675SRob Herring 90724ba675SRob Herringð0 { 91724ba675SRob Herring status = "okay"; 92724ba675SRob Herring ethernet0-port@0 { 93724ba675SRob Herring phy-handle = <ðphy0>; 94724ba675SRob Herring }; 95724ba675SRob Herring}; 96