Changeset View
Changeset View
Standalone View
Standalone View
sys/gnu/dts/mips/ALL5003.dts
/dts-v1/; | /dts-v1/; | ||||
#include "rt5350.dtsi" | #include "rt5350.dtsi" | ||||
#include <dt-bindings/gpio/gpio.h> | |||||
#include <dt-bindings/input/input.h> | |||||
/ { | / { | ||||
compatible = "ALL5003", "ralink,rt5350-soc"; | compatible = "allnet,all5003", "ralink,rt5350-soc"; | ||||
model = "Allnet ALL5003"; | model = "Allnet ALL5003"; | ||||
i2c-gpio { | i2c-gpio { | ||||
#address-cells = <1>; | |||||
#size-cells = <0>; | |||||
compatible = "i2c-gpio"; | compatible = "i2c-gpio"; | ||||
gpios = <&gpio0 1 0 &gpio0 2 0>; | gpios = <&gpio0 1 GPIO_ACTIVE_HIGH &gpio0 2 GPIO_ACTIVE_HIGH>; | ||||
i2c-gpio,delay-us = <10>; | i2c-gpio,delay-us = <10>; | ||||
pcf0: iexp@38 { | pcf0: iexp@38 { | ||||
#gpio-cells = <2>; | #gpio-cells = <2>; | ||||
compatible = "inxp,pcf8574a"; | compatible = "inxp,pcf8574a"; | ||||
reg = <0x38>; | reg = <0x38>; | ||||
gpio-controller; | gpio-controller; | ||||
}; | }; | ||||
hwmon@4b { | hwmon@4b { | ||||
compatible = "national,lm92"; | compatible = "national,lm92"; | ||||
reg = <0x4b>; | reg = <0x4b>; | ||||
}; | }; | ||||
}; | }; | ||||
gpio-leds { | gpio-leds { | ||||
compatible = "gpio-leds"; | compatible = "gpio-leds"; | ||||
ld1 { | ld1 { | ||||
label = "all5003:green:ld1"; | label = "all5003:green:ld1"; | ||||
gpios = <&pcf0 0 1>; | gpios = <&pcf0 0 GPIO_ACTIVE_LOW>; | ||||
}; | }; | ||||
ld2 { | ld2 { | ||||
label = "all5003:green:ld2"; | label = "all5003:green:ld2"; | ||||
gpios = <&pcf0 1 1>; | gpios = <&pcf0 1 GPIO_ACTIVE_LOW>; | ||||
}; | }; | ||||
}; | }; | ||||
}; | }; | ||||
&gpio0 { | &gpio0 { | ||||
status = "okay"; | status = "okay"; | ||||
}; | }; | ||||
&spi0 { | &spi0 { | ||||
status = "okay"; | status = "okay"; | ||||
m25p80@0 { | m25p80@0 { | ||||
#address-cells = <1>; | #address-cells = <1>; | ||||
#size-cells = <1>; | #size-cells = <1>; | ||||
compatible = "jedec,spi-nor"; | compatible = "jedec,spi-nor"; | ||||
reg = <0>; | reg = <0>; | ||||
linux,modalias = "m25p80", "mx25l25635e"; | |||||
spi-max-frequency = <10000000>; | spi-max-frequency = <10000000>; | ||||
partition@0 { | partition@0 { | ||||
label = "u-boot"; | label = "u-boot"; | ||||
reg = <0x0 0x30000>; | reg = <0x0 0x30000>; | ||||
read-only; | read-only; | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 47 Lines • Show Last 20 Lines |